From 5364e9ab36290a20fbb66de2d9ae31f531f822c0 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sat, 8 Nov 2025 15:40:22 -0600 Subject: feat:gpg-agent: enhance configuration with SSH support and caching Add settings for SSH support, prolonged passphrase caching, and display preservation. Improve versatility and reliability of gpg-agent. --- dotfiles/system/.gnupg/gpg-agent.conf | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'dotfiles/system') 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 -- cgit v1.2.3