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:
2
laptop/.gnupg/gpg-agent.conf
Normal file
2
laptop/.gnupg/gpg-agent.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
default-cache-ttl 86400
|
||||
max-cache-ttl 86400
|
||||
@@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user