OpenPGP card not working

David Robertson djpeterrobertson at gmail.com
Sat Sep 3 10:51:58 CEST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,
I've just bought myself a Gemplus/Gemalto GemPC twin USB smartcard
reader and a V2.0 OpenPGP card. I'm running Debian Squeeze. I've set up
udev rules as described here
http://www.gnupg.org/howtos/card-howto/en/smartcard-howto-single.html .
However, when I insert my card and type gpg --card-status I get (gpg
1.4.10)

gpg: selecting openpgp failed: ec=6.108
gpg: OpenPGP card not available: general error

Using gpg2 (2.0.14), I get

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

If i su into root, I get a different output for  gpg 1.4.10:

gpg: pcsc_establish_context failed: no service (0x8010001d)
gpg: card reader not available
gpg: OpenPGP card not available: general error

How can I fix this?
Thanks in advance,
David Robertson.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOYequAAoJEHP25tEc6goYjMAH/2OC+7ekM3CJtnKqFtfOtjKN
Sdv5LkdNMymmtM/czlHwm4oBAcpgBtvCgBrF39Ouw4H/V/HX1jFmntE3Rileryeq
8g4XABCIIJSfR9+PZNNTzfCjmsUKL2YE/3SX5SCltH+DpTp6mMtiwxFelcPX3qEe
YnxCumBW3NOUn5jfdy+HZ+xYmwy5zK3LdV6PtvQEwM7ym0GQOpdkdgAGrkdckMKC
y+igvk+0ohVpO+xscjfbZe2h1/57LWbCuvL7EqkkKjddh+pEatPARnKxbbyb4yHK
/wXxoy34g2dUyAKt/nfo7DgKX/DbFtWgp0NEUhQoel8vCOnSkTLlylvYJRFS53g=
=h2o+
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list