Hey all,
today I installed the
YubiKey PIV Manager (1.4.1) on my Mac (Sierra). After the installation, I was not longer able to use my GPG combined with the YubiKey.
Checking my card status runs into the following error:
Code:
gpg --card-status
gpg: selecting openpgp failed: Card error
gpg: OpenPGP Karte ist nicht vorhanden: Card error
When checking the Mac console, I can see lots of entries of the process
com.apple.WebKit.Networking with subsystem
com.apple.securityd.
Code:
skipping upgrade for PIV-Yubico PIV Authentication due to guid mismatch
The
YubiKey NEO Manager works fine. It finds my YubiKey and shows me, that the connection mode
- OTP
- CCID
- U2F
is checked.
Another important note is: If I plugin my YubiKey to a Linux system, everything is fine. So it seems to be a specific Mac problem.
I already checked this forum/web for some solutions, but wasn´t successfully so far. I don´t have an idea how to fix this.
UPDATEWorks again. What did I change? Because I installed the
YubiKey PIV Manager (1.4.1) just for testing, I removed the created authentication and keyManagement certificates and restarted the machine. After I executed
gpg --card-status I got the same error (
Card error). I plugged in another YubiKey, executed
gpg --card-status again which printed some information - as expected. Afterwards I plugged in my YubiKey and it worked again. I have no explanation for this.
Nontheless I´m very interested for the reason why I don´t want to close this ticket.