I'm using Thunderbird/Enigmail, and the plugin tells me that the process in charge of the passphrase cache is
gpg-agent. The retention time of the passphrase is too long for me (possibly, the entire session). I would like to make it shorter, but so far I have failed to do so.
gpg-agent seems to be run without a
default-cache-ttl argument (according to
ps), so according to the manual it should use the default value, 600 seconds. It's obviously not the case. It should also use the default value for
max_cache_ttl (2 hours), but it's not the case either.
I tried to create a
gpg-agent.conf file in my
~/.gnupg with a custom value for
default-cache-ttl, but it seems to have no effect (I have restarted my session in order to restart
Either I'm trying to tweak the wrong process, or it doesn't behave according to its specifications, or there is something I don't understand. How can I efficiently shorten this passphrase retention time?