Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
plugging my new yubikey do not seems to work fine when it come to smartcard feature ( while it work on rawhide ). ( new one with u2f support )
I didn't found a relevant commit in the svn log of the software, but the new version requires a update of pcsc-lite ( which is likely a ABI breaking one, as far as I see ).
Version-Release number of selected component (if applicable):
1.4.10-5.el7 for pcscd-lite-ccid
How reproducible:
each time
Steps to Reproduce:
1. plug the yubikey neo on usb
2. make sure that gnome-keyring is not serving as gpg-agent ( as it doesn't support pkcs11 and gpg use it by default ). If echo $GPG_AGENT_INFO show something like "/run/user/1000/keyring-9zDvUg/gpg:0:1" ( ie, with keyring ), it is using gnome-keyring, not gpg.
3. make sure that the key is in proper mode ( see with ykpers -m ), with dmesg | grep "CCID" ( should show "Yubico Yubikey NEO OTP+U2F+CCID" or without U2F for a older yubikey )
3. run gpg --card-edit
Actual results:
Error message
$ LC_ALL=C gpg --card-edit
gpg: selecting openpgp failed: Card error
gpg: OpenPGP card not available: Card error
( beware, if it show Unsupported certificate it mean that the gpg-agent used is the gnome-keyring one, not the one of gpg )
Expected results:
Showing the card information like :
$ gpg --card-edit
Application ID ...: D2760001240102000000000000010000
Version ..........: 2.0
Manufacturer .....: test card
Serial number ....: 00000001
Name of cardholder: [not set]
Language prefs ...: [not set]
Sex ..............: unspecified
URL of public key : [not set]
Additional info:
It work fine on rawhide, and rebasing pcsc-lite-ccid make it work on rhel 7 too.
Ok, after digging a bit, the only needed commits are to add the description of the driver. Here is 2 patchs that should be enough ( backport from upstream svn ).
I'm willing to pick this up, since it's pretty straightfoward (simply adding the USB ID for the reader), but I don't have a yubikey to test it. More importantly Asha will need one to QA it.
It may have to wait for 7.2, since we are passed devel freeze on 7.1 and this doesn't look like a blocker.
bob
I tested with a new yubikey, following my own instruction, and it work.
However, now I face this:
https://marc.info/?l=gnupg-users&m=143299373214697&w=2
so I will investigate. As far as I know, this bug can be closed since the support is here.
So disregard my comment on "conflicting use", I just forgot about another gpg --card-edit session running ( ie, that's a gpg UI problem, who could have said in clearer term that gpg was running :/ )
So yeah, support is working, gonna play a bit more with it in the coming weeks.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://rhn.redhat.com/errata/RHBA-2015-2414.html