password cache Windows 7

Olav Seyfarth olav at enigmail.net
Wed Sep 19 00:49:01 CEST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Hi Sebastian,

> How can i control the gpg-agent?

http://www.gnupg.org/documentation/manuals/gnupg/Agent-Configuration.html

There are a few configuration files needed for gpg-agent. By default they may
all be found (or created) in the current GnuPG home directory (e.g. ~/.gnupg):

gpg-agent.conf is the standard configuration file read by gpg-agent on startup.
It may contain any valid long option; the leading two dashes may not be entered
and the option may not be abbreviated.

http://www.gnupg.org/documentation/manuals/gnupg/Agent-Options.html#option%20--options

 --default-cache-ttl n
    Set the time a cache entry is valid to n seconds. The default is 600
    seconds.
 --max-cache-ttl n
    Set the maximum time a cache entry is valid to n seconds. After this time a
    cache entry will be expired even if it has been accessed recently. The
    default is 2 hours (7200 seconds).
 --ignore-cache-for-signing
    This option will let gpg-agent bypass the passphrase cache for all signing
    operation. Note that there is also a per-session option to control this
    behaviour but this command line option takes precedence.

> I want that the agent forget the pass-phrase after 5 minutes.

echo "default-cache-ttl 300" >> ~/.gnupg/gpg-agent.conf

Olav
- -- 
The Enigmail Project - OpenPGP Email Security For Mozilla Applications
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Dies ist eine elektronische Signatur - http://www.enigmail.net/

iQGcBAEBAwAGBQJQWPpTAAoJEKGX32tq4e9WqL4L/3Yg8PPkpRE8bZ2dVMdaxP8q
Fd5NHYjGnM2E99ErA2vOzHkY7HZz1RPqRxXoMPnsUQeSeA3HKvDFJp3pb+FiQ9Q2
/ZQu3wsLx9fM4BEhHmo7aELGsTfbIPKKQ966JalQcn5zLYSxEaPf9D1z41FamWLC
teiVOGJw4LlN5q3ZIFwjpPDhY9MdUKD2uj0wmg4BsL+i+26GcJKlLiJEiZbo12rC
N0MeUpkubiEHv9kpuOgA1i3B3yAnxA8P30spK8jVWcmfyS343XX0/hMaCiwRQ6/q
LJgJwjCeZyoSaf2tkjsWARMapk0jgvgtYasZEz23robY7MrEoYk7bkDf5lqmxzhv
zYXRYFfcBcpjIuh1gcy5YDUN4NWMfY36mY2kxeIqfzqgYfKi6xWb/bwfOvBiTF8i
z1NTRArSpWtCfLwRGXyTqTYQbC8R8CcKHL8e2mYxByf7Bk+wzgkSM9jfVuhjsOJU
DxMgJffZ/qxXKtVeJs6WH6EDJnK6ck1g2xp29rTsMw==
=+s5w
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list