Yubico Forum
https://forum.yubico.com/

Yubico Yubikey NEO N - MacOsx El Capitan Problem
https://forum.yubico.com/viewtopic.php?f=26&t=2108
Page 1 of 1

Author:  senadaruc [ Wed Nov 25, 2015 9:51 am ]
Post subject:  Yubico Yubikey NEO N - MacOsx El Capitan Problem

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.

Author:  senadaruc [ Wed Nov 25, 2015 7:09 pm ]
Post subject:  Re: Yubico Yubikey NEO N - MacOsx El Capitan Problem

I fount that opensc is causing this problem, i uninstalled the opensc and all is fine now.

brew uninstall opensc

Thanks.

Author:  mouse008 [ Mon Dec 21, 2015 4:16 am ]
Post subject:  Re: Yubico Yubikey NEO N - MacOsx El Capitan Problem

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.

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/