(SOLVED) Re: OpenPGP card not accessible

Malte Gell malte.gell at gmx.de
Tue Feb 10 08:34:58 CET 2009

Am Samstag, 7. Februar 2009 21:33:04 schrieb Malte Gell:
> 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.

Further investigation showed, this did not help, but something different has 
helped finally:

1. killing running gpg-agent

/sbin/killproc /usr/bin/gpg-agent

2. starting gpg-agent again

eval $(gpg-agent --daemon)

And now, gpg --card-edit works and the "missing card" error disappeared.

More information about the Gnupg-users mailing list