summaryrefslogtreecommitdiffstats
path: root/.gnupg
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-11-07 21:34:05 +0100
committerAhmed Abdelhalim <[email protected]>2025-11-07 23:51:54 +0100
commit4d0d9a8dfd557ac88f50bd73c786c7216bb01395 (patch)
tree8289538b3e509a53bc2fe5dec697f02aebe5b606 /.gnupg
parentc14ee7365e42e2015ad1b549cc29f6018c5f2bdb (diff)
Fix gpg forwarding on .local machines
Diffstat (limited to '.gnupg')
-rw-r--r--.gnupg/gpg-agent.conf3
-rwxr-xr-x.gnupg/pinentry-wrapper4
2 files changed, 4 insertions, 3 deletions
diff --git a/.gnupg/gpg-agent.conf b/.gnupg/gpg-agent.conf
index 93d7907..a6158b7 100644
--- a/.gnupg/gpg-agent.conf
+++ b/.gnupg/gpg-agent.conf
@@ -1,4 +1,5 @@
-pinentry-program /usr/local/bin/pinentry-wrapper
+pinentry-program ~/.gnupg/pinentry-wrapper
+
default-cache-ttl 3600
default-cache-ttl-ssh 3600
max-cache-ttl 3600
diff --git a/.gnupg/pinentry-wrapper b/.gnupg/pinentry-wrapper
index b160cc0..9964241 100755
--- a/.gnupg/pinentry-wrapper
+++ b/.gnupg/pinentry-wrapper
@@ -8,9 +8,9 @@
case $PINENTRY_USER_DATA in
curses)
- exec $(brew --prefix)/bin/pinentry-curses "$@"
+ exec pinentry-curses "$@"
;;
*)
- exec $(brew --prefix)/bin/pinentry-tty "$@"
+ exec pinentry-tty "$@"
;;
esac