You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure whether this is a problem in the applet or the gpg-agent or something completely different. So I beg pardon if this is the wrong end to ask, but I didn't get any replies on gnupg-users either.
Apparently, after using an authentication key for SSH via gpg-agent, keeping the session open and ejecting the card, the session has to be closed to regain access to the card. Steps to reproduce:
Configure your Yubikey NEO to eject the card on button press:
ykneomgr -M81
Re-plug it afterwards!
Insert the Yubikey and press button to insert the (virtual) card
Use the authentication key stored on the card to log in to a SSH host
Press button to remove the (virtual) card
(or wait if you have a timeout for auto-eject configured)
Press button to insert the (virtual) card again
Do anything that requires the card (e.g. gpg -d): gpg: public key decryption failed: Conflicting use
In the log of scdaemon, the following line is striking:
scdaemon[7601] lingering application `OPENPGP' in use by reader 0 - can't switch
Now while killing and restarting the gpg-agent makes the applet accessible again as well, I'm under the impression that this should not happen: If I "eject" the card, everything that was opened should be forgotten, shouldn't it? That's why I'm thinking this might be a problem of the applet. If it isn't, welp, I'll have to search somewhere else to complain. ;-)
The text was updated successfully, but these errors were encountered:
Hi,
I am not sure whether this is a problem in the applet or the gpg-agent or something completely different. So I beg pardon if this is the wrong end to ask, but I didn't get any replies on gnupg-users either.
Apparently, after using an authentication key for SSH via gpg-agent, keeping the session open and ejecting the card, the session has to be closed to regain access to the card. Steps to reproduce:
ykneomgr -M81
Re-plug it afterwards!
(or wait if you have a timeout for auto-eject configured)
gpg: public key decryption failed: Conflicting use
In the log of scdaemon, the following line is striking:
Now while killing and restarting the gpg-agent makes the applet accessible again as well, I'm under the impression that this should not happen: If I "eject" the card, everything that was opened should be forgotten, shouldn't it? That's why I'm thinking this might be a problem of the applet. If it isn't, welp, I'll have to search somewhere else to complain. ;-)
The text was updated successfully, but these errors were encountered: