use fuzzel for pinentry

This commit is contained in:
William Ball 2025-03-05 09:14:20 -08:00
parent 906f18072c
commit 8a81d27f68
Signed by: wball
GPG key ID: B8682D8137B70765

View file

@ -0,0 +1,18 @@
#!/bin/sh
echo "OK Please go ahead"
while read stdin; do
case $stdin in
GETPIN | getpin)
echo "D $(fuzzel --prompt-only "Passphrase: " --cache /dev/null --password --dmenu)"
echo "OK"
;;
BYE | bye)
echo "OK closing connection"
exit 0
;;
*)
echo "OK"
;;
esac
done