gpg, secure token and OS X Lion 10.7

Paul's Avatar

Paul

31 Jul, 2012 11:04 AM

I am trying to use a secure token ( epass2003 ) with gpg with OS X Lion 10.7. All of my gpg tools and apps are the latest nightly builds.

I can see the card with opensc-tool:
$ opensc-tool --list-files Using reader with a card: Feitian ePass2003 00 00

But when I try to see the card with gpg it fails.
$ gpg --card-status gpg: OpenPGP card not available: Not supported

Any ideas on what to check? I have OpenSC installed, might that be incompatible? I have read that gpg requires exclusive access to the token - might that be an issue? Any more debug or details I can provide?
Thanks
Paul

  1. Support Staff 1 Posted by Luke Le on 31 Jul, 2012 11:06 AM

    Luke Le's Avatar

    Hi Paul,

    please install the nightly MacGPG2 from https://nightly.gpgtools.org
    This should fix your problem.

    Let us know if it works.

  2. 2 Posted by Paul on 31 Jul, 2012 11:21 AM

    Paul's Avatar

    Hi Luke,
    I think I am already using :
    MacGPG2-latest.dmg 04-Jun-2012 16:39 6.0M Untested nightly build

    $ gpg2 --version
    gpg (GnuPG/MacGPG2) 2.0.19
    libgcrypt 1.5.0
    

    Is that the latest?

  3. Support Staff 3 Posted by Luke Le on 31 Jul, 2012 11:27 AM

    Luke Le's Avatar

    Ah ok, yes, that build should be working.
    Unfortunately there's not much documentation available about using gnupg with a secure token.
    After a quick search however I've found the following:

    https://wiki.archlinux.org/index.php/GnuPG#GnuPG_together_with_OpenSC

    It appears that the opensc daemon might access the device and thus prevent gnupg from accesing it directly.
    The article above should provide a workaround for that.

    Hope that helps.

  4. Support Staff 4 Posted by Steve on 23 Sep, 2012 03:05 PM

    Steve's Avatar

    No further user feedback. Closing.

    @Paul: Should your problem persist, feel free to re-open this discussion any time.

    All the best,
    steve


    Please consider a donation. We do all this in our spare time.

  5. Steve closed this discussion on 23 Sep, 2012 03:05 PM.

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

Keyboard shortcuts

Generic

? 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