X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/f7fbcd1c0f136e70d7bb596c740a4ee7e8143cb8..c68485663f92005dfd0552a62eef74d199bbcd5f:/bin/pinentry?ds=inline diff --git a/bin/pinentry b/bin/pinentry new file mode 100755 index 0000000..1560bc7 --- /dev/null +++ b/bin/pinentry @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +case "$PINENTRY_USER_DATA" in + curses) exec /usr/bin/pinentry-curses "$@" ;; + none) exit 1;; # no password + *) exec /usr/bin/pinentry-qt "$@" ;; +esac