X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/a2a81fa8baa3c0be2306f4abb46aeb7066c52eaa..7ed1509a5b8e6985cbf9cd0d019df702dd17425e:/bin/pinentry?ds=sidebyside diff --git a/bin/pinentry b/bin/pinentry index 39349d5..5a31bd4 100755 --- a/bin/pinentry +++ b/bin/pinentry @@ -2,7 +2,7 @@ # https://kevinlocke.name/bits/2019/07/31/prefer-terminal-for-gpg-pinentry set -C -gfx="gnome qt gtk-4 gtk-3 gtk-2 gtk bemenu dmenu x11" +gfx="qt gnome gtk-4 gtk-3 gtk-2 gtk bemenu dmenu x11" tty="curses-ss curses tty" case "${PINENTRY_USER_DATA-}" in # prefer tty unless USE_TTY is 0 @@ -17,4 +17,7 @@ for x in $list; do fi done +# fallback +exec pinentry "$@" + echo "No pinentry program found" >&2