Surprising gnupg-agent action with OpenPGP card

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


On Fri, 14 Sep 2007 15:03, jam at jamux.com 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-ccid-driver
debug 1024
verbose
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.


Salam-Shalom,

   Werner


-- 
Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.




More information about the Gnupg-users mailing list