]> git.rmz.io Git - dotfiles.git/commitdiff
gpg: export correct PINENTRY_USER_DATA
authorSamir Benmendil <me@rmz.io>
Tue, 7 Mar 2023 13:33:18 +0000 (13:33 +0000)
committerSamir Benmendil <me@rmz.io>
Tue, 7 Mar 2023 13:33:18 +0000 (13:33 +0000)
It seems that I changed the way /usr/local/bin/pinentry works at some
point without also changing the setting here.

zsh/lib/gpg.zsh

index fdc13db72e2db38e4a1266163622d1f42fd8163d..a9f81a2ebd255db545a0b987adb5caed23a6076a 100644 (file)
@@ -5,5 +5,5 @@ fi
 # Inform gpg-agent of the current TTY for user prompts.
 export GPG_TTY="$(tty)"
 if [[ -n "$SSH_CONNECTION" ]]; then
-    export PINENTRY_USER_DATA="USE_CURSES=1"
+    export PINENTRY_USER_DATA="curses"
 fi