diff options
| author | Ahmed Abdelhalim <[email protected]> | 2025-11-24 15:35:11 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2025-11-24 17:24:04 +0100 |
| commit | 6f7f89025b3983d3f7876d5c15b51e6ac2851e17 (patch) | |
| tree | 367254350ade256c4b4b3ee120264c283788a058 /.gnupg | |
| parent | a3612f70bc3d0df8c8fcf9b8f789d2b03974f71a (diff) | |
Update pinentry wrapper to allow GUI when requested but default to tty
Fixes unix inconsistency while using ~ in pinentry-program, it works on
the mac but doesn't in linux
Diffstat (limited to '.gnupg')
| -rw-r--r-- | .gnupg/gpg-agent.conf | 2 | ||||
| -rwxr-xr-x | .gnupg/pinentry-wrapper | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/.gnupg/gpg-agent.conf b/.gnupg/gpg-agent.conf index a6158b7..6d38770 100644 --- a/.gnupg/gpg-agent.conf +++ b/.gnupg/gpg-agent.conf @@ -1,4 +1,4 @@ -pinentry-program ~/.gnupg/pinentry-wrapper +pinentry-program /usr/local/bin/pinentry-wrapper default-cache-ttl 3600 default-cache-ttl-ssh 3600 diff --git a/.gnupg/pinentry-wrapper b/.gnupg/pinentry-wrapper index 9964241..f902298 100755 --- a/.gnupg/pinentry-wrapper +++ b/.gnupg/pinentry-wrapper @@ -7,8 +7,8 @@ # Fixes the pinentry-tty error https://github.com/neomutt/neomutt/issues/1014 case $PINENTRY_USER_DATA in - curses) - exec pinentry-curses "$@" + gnome) + exec pinentry-gnome3 "$@" ;; *) exec pinentry-tty "$@" |
