Yubico Forum

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

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed Nov 25, 2015 9:51 am 
Offline

Joined: Fri Oct 24, 2014 11:10 am
Posts: 5
Dears,


I have Yubico NEO-N with the folowing config: OTP+U2F+CCID with OpenPGP 1.0.10 installed.

When i try the command "gpg --card-status" on MacOsx El Capitan I receive the following error.

gpg: selecting openpgp failed: Card error
gpg: OpenPGP card not available: Card error

I tested on Windows and Linux and the command is working fine, also my second Yubikey NEO works perfect on MacOsx El Capitan .

Any help please.


Top
 Profile  
Reply with quote  

Share On:

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

PostPosted: Wed Nov 25, 2015 7:09 pm 
Offline

Joined: Fri Oct 24, 2014 11:10 am
Posts: 5
I fount that opensc is causing this problem, i uninstalled the opensc and all is fine now.

brew uninstall opensc

Thanks.


Top
 Profile  
Reply with quote  
PostPosted: Mon Dec 21, 2015 4:16 am 
Offline

Joined: Sun Nov 15, 2015 11:47 pm
Posts: 36
Quote:
I fount that opensc is causing this problem, i uninstalled the opensc and all is fine now.

This approach would work, but it is hardly the best one - unless all you need from your NEO is its OpenPGP applet capability.

So when I need to access the OpenPGP applet when the device is grabbed by OpenSC.tokend*, I simply
a. Close the application that uses NEO PIV applet;
b. Kill the running tokend - in case of OpenSC.tokend via
Code:
sudo pkill OpenSC
.

It works magic, and allows me to use commands like
Code:
gpg --card-status

When I need to access the PIV applet again - I remove and re-insert the NEO token.

*OpenSC.tokend does not work, unless you grab from the Github and install the current version of OpenSC, and either frankmorgner's or mouse07410's fork of OpenSC.tokend. In which case it works like charm.

Update Forgot to mention that the above works and was tested on Yosemite and El Capitan 10.11.2.


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: No registered users 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