git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gnupg/gpg-agent.conf6
1 files changed, 4 insertions, 2 deletions
diff --git a/.gnupg/gpg-agent.conf b/.gnupg/gpg-agent.conf
index b5bd82d..2327757 100644
--- a/.gnupg/gpg-agent.conf
+++ b/.gnupg/gpg-agent.conf
@@ -10,5 +10,7 @@ extra-socket /run/user/21337/gnupg/S.gpg-agent-extra
# programs like gnome-keyring would define their own values like
# pin timeout. That's going hydra/snowflake - disallow:
no-allow-external-cache
-default-cache-ttl 5
-max-cache-ttl 5
+# invalidate after n seconds, reaccessing resets timer
+default-cache-ttl 10
+# invalidate after n seconds even if timer has been reset in the meantime
+max-cache-ttl 60