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
-rw-r--r--.gnupg/gpg.conf1
2 files changed, 9 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
diff --git a/.gnupg/gpg.conf b/.gnupg/gpg.conf
index 3b013a4..d91ecbd 100644
--- a/.gnupg/gpg.conf
+++ b/.gnupg/gpg.conf
@@ -11,3 +11,4 @@ cert-digest-algo SHA256
no-emit-version
ask-cert-level
expert
+trust-model tofu+gpg