make gpg-agent forget the PIN

Peter Lebbing peter at
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:


gpg-connect-agent 'SCD RESET' /bye

It's called 'scforget' here.



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 <>

More information about the Gnupg-users mailing list