(SOLVED) Re: OpenPGP card not accessible
malte.gell at gmx.de
Sat Feb 7 21:33:04 CET 2009
For whom it may concern and Google cache:
I found the source of trouble. I had to give one additional parameter to gpg-
agent: --scdaemon-program /usr/bin/scdaemon
After specifying this parameter I was able to successfully access the openPGP
card with pcsc drivers and a Reiner SCT e-com.
On e.g. openSUSE open /etc/X11/xdm/sys.xsession and look for the line that
starts with "set -- $gpgagent --sh --daemon.........." add to this line:
and the error described below is gone.
Am Donnerstag, 5. Februar 2009 22:33:23 schrieb Malte Gell:
> gpg --card-edit but i cannot do anything, because GnuPG immediately exists
> and says there was no card....
> gpg --card-edit first detectd the card and then suddenly says "OpenPGP
> card is not available", though it is still in the card reader....
> I use gpg 2.0.9 and the Reiner SCT ctapi-driver, scdaemon.conf looks like
> ctapi-driver libctapi-cyberjack.so
> reader-port 1
> The ctapi driver seem to be the only way to access the card a little bit,
> but it still does not work correctly...
> If someone have some experience about these issues, let me know
> Application ID ...: D2760001240101010001000015CB0000
> Version ..........: 1.1
> Manufacturer .....: PPC Card Systems
> Serial number ....: 000015CB
> Name of cardholder: [not set]
> Language prefs ...: de
> Sex ..............: unspecified
> URL of public key : [not set]
> Login data .......: [not set]
> Signature PIN ....: forced
> Max. PIN lengths .: 254 254 254
> PIN retry counter : 3 3 3
> Signature counter : 0
> Signature key ....: [none]
> Encryption key....: [none]
> Authentication key: [none]
> General key info..: [none]
> Command> scdaemon: updating status of slot 0 to 0x0007
> scdaemon: client pid is 19662, sending signal 12
> scdaemon[19663.0] DBG: <- [EOF]
> scdaemon: handler for fd -1 terminated
> scdaemon: scdaemon (GnuPG) 2.0.9 stopped
> gpg: OpenPGP card not available: IPC write error
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 316 bytes
Desc: This is a digitally signed message part.
More information about the Gnupg-users