Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 1:37 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed Nov 09, 2016 4:11 pm 
Offline

Joined: Wed Nov 09, 2016 2:29 pm
Posts: 1
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.

UPDATE
Works 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.


Top
 Profile  
Reply with quote  

Share On:

Share on Facebook FacebookShare on Twitter TwitterShare on Tumblr TumblrShare on Google+ Google+

PostPosted: Tue May 16, 2017 10:41 pm 
Offline

Joined: Thu Dec 26, 2013 9:38 pm
Posts: 4
I have the same issue, but without any solution.
The same root cause.


Top
 Profile  
Reply with quote  
PostPosted: Wed May 17, 2017 6:03 pm 
Offline

Joined: Thu Dec 26, 2013 9:38 pm
Posts: 4
This is how I did.

1. Delete the certificates with PIV Manager

2. Open up your Terminal
type
Quote:
sudo rm -rf /var/db/TokenCache/*


done!
Pull out the Yubikey and put it back, try
Code:
gpg --card-status


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: Google [Bot], Heise IT-Markt [Crawler] and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group