|| On Sun, 12 Feb 2006 12:18:32 +0100
 || Werner Koch <[EMAIL PROTECTED]> wrote: 

 wk> just let me add that there are still a couple of problems with
 wk> removing and re-inserting a card.  I am working on this but a
 wk> final solution will need a few more days of wall time.

True. The following script is executed by me once after inserting the
card, or when I want the PIN forgotten:
#!/bin/sh
#

/bin/echo "CLEAR_PASSPHRASE ECDA08691DCE2C60C265281DF953D01F7DF16B24" | 
/usr/bin/gpg-connect-agent
/bin/echo "CLEAR_PASSPHRASE E2E7DABF1B6D948EA55E07B4293DB14CB7DB041C" | 
/usr/bin/gpg-connect-agent
/bin/echo "CLEAR_PASSPHRASE DF414ED5A2C542D7BF9267D14742F5AD5378AB47" | 
/usr/bin/gpg-connect-agent

/usr/bin/pkill scdaemon
/usr/bin/pkill scdaemon
/usr/bin/pkill scdaemon

Please note that the identifiers are the key fingerprints.

Having a wildcard like "ALL" or "*" for CLEAR_PASSPHRASE might be
good for scripting.

Regards,
Georg

-- 
Georg C. F. Greve                                 <[EMAIL PROTECTED]>
Free Software Foundation Europe                  (http://fsfeurope.org)
Join the Fellowship and protect your freedom!     (http://www.fsfe.org)

Attachment: pgpYIDkOFHSo1.pgp
Description: PGP signature

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to