git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/.gnupg/gpg-agent.conf
diff options
context:
space:
mode:
Diffstat (limited to '.gnupg/gpg-agent.conf')
-rw-r--r--.gnupg/gpg-agent.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/.gnupg/gpg-agent.conf b/.gnupg/gpg-agent.conf
new file mode 100644
index 0000000..2327757
--- /dev/null
+++ b/.gnupg/gpg-agent.conf
@@ -0,0 +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
+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