Problem with Smart Card/scdaemon
Edmond
zartbitter at blacksec.org
Tue Jul 13 09:25:49 CEST 2010
Hello,
I just received my first OpenPGP smart card
(http://www.g10code.de/p-card.html) and I'm trying to use it with GPG.
My environment: Arch Linux, GnuPG 2.0.15; the reader is a Reiner SCT
cyberJack pinpad. pcscd is running.
See what happens when I try to access the card:
------------------------------
$ gpg2 --card-edit
scdaemon[6493]: reading public key failed: Missing item in object
scdaemon[6493]: reading public key failed: Missing item in object
scdaemon[6493]: reading public key failed: Missing item in object
Application ID ...: D27600012401020000050000063F0000
Version ..........: 2.0
Manufacturer .....: ZeitControl
Serial number ....: 0000063F
Name of cardholder: [not set]
Language prefs ...: de
Sex ..............: unspecified
URL of public key : [not set]
Login data .......: [not set]
Signature PIN ....: forced
Key attributes ...: 2048R 2048R 2048R
Max. PIN lengths .: 32 32 32
PIN retry counter : 3 0 3
Signature counter : 0
Signature key ....: [none]
Encryption key....: [none]
Authentication key: [none]
General key info..: [none]
gpg/card> scdaemon[6493]: updating slot 0 status: 0x0000->0x0007 (0->1)
scdaemon[6493]: sending signal 12 to client 6493
gpg: OpenPGP card not available: Broken pipe
gpg/card>
------------------------------
That is, after the initial listing of the card's content, I cannot
access it anymore due to the "Broken pipe".
Using GnuPG 1.4.10, I don't have this problem (no surprise, since it
doesn't use scdaemon, after all).
Any ideas what's going on and how to fix it?
Many thanks,
Edmond
More information about the Gnupg-users
mailing list