git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/.gnupg
diff options
context:
space:
mode:
Diffstat (limited to '.gnupg')
-rw-r--r--.gnupg/gpg-agent.conf10
1 files changed, 8 insertions, 2 deletions
diff --git a/.gnupg/gpg-agent.conf b/.gnupg/gpg-agent.conf
index 1758bd0..2327757 100644
--- a/.gnupg/gpg-agent.conf
+++ b/.gnupg/gpg-agent.conf
@@ -1,10 +1,16 @@
ignore-cache-for-signing
#pinentry-program /usr/bin/pinentry-gtk-2
pinentry-program /usr/bin/pinentry-curses
+pinentry-timeout 15
allow-loopback-pinentry
allow-preset-passphrase
disable-scdaemon
-#max-cache-ttl 900
-#default-cache-ttl 900
enable-ssh-support
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
+# 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