MacGPG #140 USB stick with GPG card token no longer working

Jens's Avatar


08 Nov, 2014 09:15 AM


After the update to Yosemite my Gemalto USB stick with a GPG card token no longer works reliably. It works for a short period (several minutes) after a system restart or when I pull out the USB stick, put it back in, kill the gpg-agent and have it restart automatically by executing "gpg --card-status". The log shows the following when the token stops working:

20141107 17:28:27,755[56]: reader Gemalto USB Shell Token V2: state changed 32 -> 162
20141107 17:28:27,756[56]: token in reader Gemalto USB Shell Token V2 cannot be used (error 229)

At that point the gpg-agent will just hang when trying to talk to the USB stick. The issue remains with version 2.5b1 build 783b.

Thanks for any help. This issue is holding me back from updating to Yosemite on my main machine.

  1. 1 Posted by Sam on 10 Nov, 2014 11:37 AM

    Sam's Avatar

    I am seeing the same issue in Yosemite with a Yubikey NEO. Killing the gpg agent when the key is unplugged clears it up temporarily.

  2. Support Staff 2 Posted by Luke Le on 14 Nov, 2014 12:54 AM

    Luke Le's Avatar

    Hi Jens, Sam,

    this is a known bug with Yosemite. There seems to be a change in Apple's PCSC.framework that causes this problem.
    We're currently looking into it.

  3. Support Staff 3 Posted by Steve on 14 Nov, 2014 06:16 PM

    Steve's Avatar

    We've a ticket for this problem:

    If this discussion get's closed, it will be re-opened as soon as the ticket is closed so you'll receive a notification. Feel free to open a new discussions should you run into further problems or need assistance.

  4. Steve closed this discussion on 21 Dec, 2014 01:01 PM.

  5. Steve re-opened this discussion on 26 Jan, 2015 10:59 PM

  6. Support Staff 4 Posted by Steve on 26 Jan, 2015 10:59 PM

    Steve's Avatar

    Hi Jens,

    this issue should be fixed. Could you please download and install our latest nightly build and see if the problem persists. That page also has sig and SHA1 to verify the download.

    All the best, steve

    Disclaimer: This is a development version which has not been thoroughly tested yet - bugs or crashes are to be expected. Thanks for helping us test.

  7. 5 Posted by Jan Otto on 28 Jan, 2015 11:35 AM

    Jan Otto's Avatar


    the nightly build (1192n) fixes the problem for me. I am using Gemalto USB Shell Token V2 on Yosemite 10.10.2.

    Thank you very much for fixing this issue!

  8. Support Staff 6 Posted by Steve on 28 Jan, 2015 01:13 PM

    Steve's Avatar

    Thanks Jan for the feedback. Closing this. If anybody still runs into problems using GPG Suite 1192n or newer please do let us know.

  9. Steve closed this discussion on 28 Jan, 2015 01:13 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac