summaryrefslogtreecommitdiff
path: root/dotfiles
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles')
-rw-r--r--dotfiles/system/.gnupg/gpg-agent.conf14
1 files changed, 13 insertions, 1 deletions
diff --git a/dotfiles/system/.gnupg/gpg-agent.conf b/dotfiles/system/.gnupg/gpg-agent.conf
index 0e59963..6448665 100644
--- a/dotfiles/system/.gnupg/gpg-agent.conf
+++ b/dotfiles/system/.gnupg/gpg-agent.conf
@@ -1,6 +1,18 @@
+# Pinentry configuration
pinentry-program /usr/bin/pinentry-dmenu
pinentry-timeout 10
allow-loopback-pinentry
+
+# Cache passphrases for entire login session (400 days)
default-cache-ttl 34560000
max-cache-ttl 34560000
-no-allow-external-cache \ No newline at end of file
+
+# Enable SSH support (use gpg-agent for SSH keys too)
+enable-ssh-support
+
+# Prevent external programs from clearing cache
+no-allow-external-cache
+
+# Keep running even when no connections
+keep-display
+keep-tty