make gpg-agent forget the PIN

Peter Lebbing peter at digitalbrains.com
Fri Nov 1 20:17:41 CET 2013


Hi Johannes,

> Is there any way to explicitly tell gpg-agent to forget the pin as well?

Based on a post once made by Werner, I have this script:

-----------8<----------------->8-----------
#!/bin/sh

gpg-connect-agent 'SCD RESET' /bye
-----------8<----------------->8-----------

It's called 'scforget' here.

HTH,

Peter.

-- 
I use the GNU Privacy Guard (GnuPG) in combination with Enigmail.
You can send me encrypted mail if you want some privacy.
My key is available at <http://digitalbrains.com/2012/openpgp-key-peter>



More information about the Gnupg-users mailing list