Replace keychain GPG with gpg-agent cache TTL

keychain's GPG key management is incompatible with GnuPG 2.4 keyboxd.
gpg-agent handles key caching natively; set 24h TTL so it unlocks once per day.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-20 14:53:44 -04:00
parent 1a30f62ad9
commit 6061cb5698
2 changed files with 3 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
default-cache-ttl 86400
max-cache-ttl 86400

View File

@@ -40,7 +40,7 @@ hash -d dots="$HOME/.dotfiles"
hash -d src="$HOME/src"
# Load SSH keys
eval "$(keychain --eval --quiet github git gpgk:A40B4F53)"
eval "$(keychain --eval --quiet github git)"
# direnv hook
eval "$(direnv hook zsh)"