aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home/.gnupg/gpg-agent.conf
diff options
context:
space:
mode:
authorLibravatar sommerfeld <[email protected]>2026-04-17 14:47:34 +0100
committerLibravatar sommerfeld <[email protected]>2026-04-17 14:47:34 +0100
commit644785859ac960c0da64016065a800bf660ffbcf (patch)
tree503139e3804cb19c277a2179dd6d0c4ff6efa2a4 /home/.gnupg/gpg-agent.conf
parent8fadfc96e378886aa5e9d3ddf82bb7913c0cf0e4 (diff)
downloaddotfiles-644785859ac960c0da64016065a800bf660ffbcf.tar.gz
dotfiles-644785859ac960c0da64016065a800bf660ffbcf.tar.bz2
dotfiles-644785859ac960c0da64016065a800bf660ffbcf.zip
refactor: revert GNUPGHOME to default ~/.gnupg
Drop custom GNUPGHOME=~/.local/share/gnupg which required 6 systemd socket/service overrides with hardcoded directory hashes. GnuPG periodically changes its hash algorithm on updates, silently breaking systemd socket activation and pam-gnupg passphrase presetting. With default GNUPGHOME, stock systemd units work out of the box. - Move gpg.conf, gpg-agent.conf, sshcontrol to home/.gnupg/ - Delete all gpg-agent socket/service/dirmngr override dirs - Remove GNUPGHOME from .zprofile, .pam_environment, pam-gnupg - Remove GNUPGHOME from vdirsyncer and bridge service overrides
Diffstat (limited to 'home/.gnupg/gpg-agent.conf')
-rw-r--r--home/.gnupg/gpg-agent.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/home/.gnupg/gpg-agent.conf b/home/.gnupg/gpg-agent.conf
new file mode 100644
index 0000000..0826efe
--- /dev/null
+++ b/home/.gnupg/gpg-agent.conf
@@ -0,0 +1,8 @@
+max-cache-ttl 60480000
+default-cache-ttl 60480000
+allow-preset-passphrase
+enable-ssh-support
+default-cache-ttl-ssh 60480000
+max-cache-ttl-ssh 60480000
+pinentry-program /usr/bin/pinentry-curses
+allow-loopback-pinentry