Bug 8492 - Smart cards don't work for flatpaks
Summary: Smart cards don't work for flatpaks
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Smart card (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-16 14:40 CET by Pierre Ossman
Modified: 2025-01-21 13:32 CET (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2025-01-16 14:40:52 CET
Applications that are packaged using flatpak currently cannot use the smart card redirection in ThinLinc.

Smart cards are yet to be properly supported by flatpak:

https://github.com/flatpak/flatpak/issues/4723

There is some hacky support by exporting the host pcscd socket to the flatpak. But this is very fragile as that is an internal protocol that is not stable between distributions or versions of libpcsc-lite.

The long-term plan seems to be to construct a bridge to p11-kit. I don't know if that will just work with ThinLinc, or if we need to intercept things.
Comment 1 Pierre Ossman cendio 2025-01-16 14:41:16 CET
RHEL 10 will package Firefox and Thunderbird as flatpaks, which makes this more relevant.

Note You need to log in before you can comment on or make changes to this bug.