(SOLVED) Re: OpenPGP card not accessible

Malte Gell 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:

--scdaemon-program /usr/bin/scdaemon

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
> this:
>
> 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
>
> Malte
>
>
>
> 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[19663]: updating status of slot 0 to 0x0007
> scdaemon[19663]: client pid is 19662, sending signal 12
> scdaemon[19663.0] DBG: <- [EOF]
> scdaemon[19663]: handler for fd -1 terminated
> scdaemon[19663]: scdaemon (GnuPG) 2.0.9 stopped
>
>
> gpg: OpenPGP card not available: IPC write error
>
>
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 316 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/attachments/20090207/0a22b2f4/attachment-0001.pgp>


More information about the Gnupg-users mailing list