From 644785859ac960c0da64016065a800bf660ffbcf Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Fri, 17 Apr 2026 14:47:34 +0100 Subject: 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 --- home/.gnupg/gpg-agent.conf | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 home/.gnupg/gpg-agent.conf (limited to 'home/.gnupg/gpg-agent.conf') 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 -- cgit v1.2.3-70-g09d2