use fuzzel for pinentry
This commit is contained in:
parent
906f18072c
commit
8a81d27f68
1 changed files with 18 additions and 0 deletions
18
scripts/.local/bin/pinentry-fuzzel
Executable file
18
scripts/.local/bin/pinentry-fuzzel
Executable 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
|
||||||
Loading…
Reference in a new issue