summaryrefslogtreecommitdiffstats
path: root/.gnupg
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-12-12 18:13:57 +0100
committerAhmed Abdelhalim <[email protected]>2025-12-12 18:13:57 +0100
commit58ae6ebbf455e64b430a6c62fa45d3c674829250 (patch)
treee67d3f2e29092294c81b0be508d4c54a158a5719 /.gnupg
parenta0045c2bf54524762733895d9e36354444f20a1a (diff)
Workaround gpg-agent.conf doesn't allow relative path to be called
gpg-agent.conf doesn't permit the usage of $PATH or $HOME in the pinentry-program (https://dev.gnupg.org/T4588) So the work around is to template that file and expand the path correctly using the setup script (which is also copying the file correctly) This is favored over the use of /usr/local/bin because it doesn't need privileged execution of the setup script
Diffstat (limited to '.gnupg')
-rw-r--r--.gnupg/gpg-agent.conf.template (renamed from .gnupg/gpg-agent.conf)2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gnupg/gpg-agent.conf b/.gnupg/gpg-agent.conf.template
index 6d38770..4d52149 100644
--- a/.gnupg/gpg-agent.conf
+++ b/.gnupg/gpg-agent.conf.template
@@ -1,4 +1,4 @@
-pinentry-program /usr/local/bin/pinentry-wrapper
+pinentry-program ${HOME}/.local/bin/pinentry-wrapper
default-cache-ttl 3600
default-cache-ttl-ssh 3600