Surprising gnupg-agent action with OpenPGP card

John A. Martin jam at
Thu Sep 13 19:39:52 CEST 2007

On Debian lenny/sid with the following Debian packages installed:

,----[ dlocate -l 'gnupg|gpg'|grep '^i' (lines chopped) ]
ii  gnupg          1.4.6-2        GNU privacy guard - a free PGP replacement    
ii  gnupg-agent    2.0.6-1        GNU privacy guard - password agent            
ii  gnupg2         2.0.6-1        GNU privacy guard - a free PGP replacement    
ii  gpgsm          2.0.6-1        GNU privacy guard - S/MIME version            
ii  gpgv           1.4.6-2        GNU privacy guard - signature verification
ii  libgpg-error0  1.4-2          library for common error values
ii  libgpgme11     1.1.5-2        GPGME - GnuPG Made Easy                       
ii  python-gnupgin 0.3.2-9        Python interface to GnuPG (GPG)               

With 'use-agent' in ~/.gnupg/gpg.conf both 'gpg --card-status' and
'gpg2 --card-status' show the same information from when a card is
inserted and thereafter even when the card is removed, replaced by
another card, and even after the reader is disconnected.

Is the above the expected behavior?

When 'use-agent' is removed from ~/.gnupg/gpg.conf both commands
complain when there is no card reader connected or no card in the
reader.  Different information is shown by either command when
different cards are in the reader.  Should the agent prevent this?

Does this look like a Debian bug?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 154 bytes
Desc: not available
Url : /pipermail/attachments/20070913/ad544f1b/attachment.pgp 

More information about the Gnupg-users mailing list