From 4424cb3f620d88d7a87277ff82cd987de931d237 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Fri, 12 Jun 2015 10:13:26 +0300 Subject: [PATCH] gpg-agent: remember password for two hours See the comment for more information. --- gpg/gpg-agent.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gpg/gpg-agent.conf b/gpg/gpg-agent.conf index c375a285..8181215c 100644 --- a/gpg/gpg-agent.conf +++ b/gpg/gpg-agent.conf @@ -4,3 +4,9 @@ enable-ssh-support ## This option should in general not be used to avoid X-sniffing attacks. # This is the behaviour which I want, the default is annoying. no-grab + +# Remember passwords for two hours which is the default maximum. This might +# be somewhat insecure, but I usually lock screen when I am AFK and I don't +# want to type my password so often just to see encrypted facebook emails. +default-cache-ttl 7200 +default-cache-ttl-ssh 7200