From 6061cb5698e94ace405827f5871d37f3c2876a93 Mon Sep 17 00:00:00 2001 From: Rob Harbaugh Date: Mon, 20 Apr 2026 14:53:44 -0400 Subject: [PATCH] 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 --- laptop/.gnupg/gpg-agent.conf | 2 ++ laptop/.zshrc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 laptop/.gnupg/gpg-agent.conf diff --git a/laptop/.gnupg/gpg-agent.conf b/laptop/.gnupg/gpg-agent.conf new file mode 100644 index 0000000..da7b2f1 --- /dev/null +++ b/laptop/.gnupg/gpg-agent.conf @@ -0,0 +1,2 @@ +default-cache-ttl 86400 +max-cache-ttl 86400 diff --git a/laptop/.zshrc b/laptop/.zshrc index 6ab7189..74d47bd 100644 --- a/laptop/.zshrc +++ b/laptop/.zshrc @@ -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)"