Surprising gnupg-agent action with OpenPGP card

Werner Koch wk at
Fri Sep 14 15:53:35 CEST 2007

On Fri, 14 Sep 2007 15:03, jam at said:

> What can I do to better isolate or characterize this problem?

If gpg-agent is installed (which is a requirement for gpg2), the card
operations are done by scdaemon.  To debug it you should add these lines
to ~/.gnupg/scdaemon.conf

debug 1024
log-file /whereeveryouwantit

Then kill scdaemon and make sure that no instances are running.
gpg-agent will start one on demand.

Not that --use-agent is a dummy option in gpg2.  gpg should better use
--use-agent because otherwise you would get a conflict if scdaemon is
running at the same time.



Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.

More information about the Gnupg-users mailing list