This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1906652 - flatpak smart card support socket=pcsc for smart cards doesn't seem to work on RHEL 8.3
Summary: flatpak smart card support socket=pcsc for smart cards doesn't seem to work o...
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: flatpak
Version: 9.4
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: rc
: 9.4
Assignee: Debarshi Ray
QA Contact: Petr Schindler
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-11 03:22 UTC by Trevor Clark
Modified: 2023-09-15 19:13 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-09-15 19:13:56 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker   RHEL-4178 0 None Migrated None 2023-09-15 19:13:53 UTC

Description Trevor Clark 2020-12-11 03:22:03 UTC
Description of problem:


I have a yubikey smart card connected to my RHEL 8 computer. flatpak seems to have a permission option to connect to pcsc, but I cannot get flatpak applications to recognise the smart card. For instance this application https://flathub.org/apps/details/com.yubico.yubioath cannot detect the smart card. if I run pcsc_scan from the terminal I can see the yubikey as I would expect so it seems to be a flatpak specific issue. I especially want to get this working to use Remmina, https://flathub.org/apps/details/org.remmina.Remmina, as a convenient remote desktop client that allows shared smart cards with windows over RDP, but this doesn't seem to work with flatpak on RHEL 8.3 There is not a  a native build of this application available. Any help would be appreciated.


How reproducible:


Steps to Reproduce:
1. Install https://flathub.org/apps/details/com.yubico.yubioath
2. Insert yubikey and the application is not able to see the smart cart

Actual results:

flatpak applications cannot see the smart card


Expected results:

flatpak applications can see and use the smart card

Comment 1 Trevor Clark 2020-12-12 17:49:54 UTC
The appimage version of the yubico authenticator, https://www.yubico.com/products/services-software/download/yubico-authenticator/#download_here, can recognize the smart card no problem.

Comment 2 David King 2021-04-16 14:22:00 UTC
I do not have access to any hardware to test this, but as it is in a third-party app from Flathub, it would be best to report the issue upstream, and report back if you manage to isolate this to something specific to RHEL:

https://github.com/flathub/com.yubico.yubioath/issues

Comment 3 Trevor Clark 2021-04-16 14:30:53 UTC
I'm pretty sure this is not an upstream issue. I have the same issue with Remmina, https://flathub.org/apps/details/org.remmina.Remmina. It can't detect a smart card as a flatpak either. I will investigate a little more though. thanks!

Comment 4 Jakub Jelen 2022-02-22 18:42:46 UTC
FYI, this is caused by a bug #2054826, which landed recently in Fedora (after I introduced RHEL changes to Fedora recently) so I am reopening the bug.

In short, the flatpack is using internal API of PCSC, which has fixed size list of readers, which we needed to enlarge couple of years back in downstream patch. This works fine in the OS, this works fine if the flatpack runs rhel container on rhel, but this breaks in any other combination (rhel -> ubuntu container or vice versa).

Comment 6 Trevor Clark 2022-02-26 15:46:52 UTC
At some point the yubico flatpak started being able to read my smart card, but smart card sharing with Remmina doesn't work for me still.

https://github.com/flathub/org.remmina.Remmina/issues/97

Comment 9 RHEL Program Management 2023-08-22 07:28:47 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.

Comment 10 Debarshi Ray 2023-08-22 13:35:47 UTC
I still want to fix this, but I won't have time to do it by RHEL 8.10.  So, let's re-target it for RHEL 10.

Comment 12 Debarshi Ray 2023-08-22 13:38:35 UTC
(In reply to Debarshi Ray from comment #10)
> I still want to fix this, but I won't have time to do it by RHEL 8.10.  So,
> let's re-target it for RHEL 10.

I meant, RHEL 9, not 10.  :)

Comment 13 RHEL Program Management 2023-09-15 19:12:39 UTC
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug.

Comment 14 RHEL Program Management 2023-09-15 19:13:56 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated.  Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.


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