aboutsummaryrefslogtreecommitdiff
path: root/system/bin/askpass
diff options
context:
space:
mode:
Diffstat (limited to 'system/bin/askpass')
-rwxr-xr-xsystem/bin/askpass3
1 files changed, 3 insertions, 0 deletions
diff --git a/system/bin/askpass b/system/bin/askpass
new file mode 100755
index 0000000..e37b29a
--- /dev/null
+++ b/system/bin/askpass
@@ -0,0 +1,3 @@
+#!/bin/bash
+p=$(echo -e "GETPIN\nBYE\n" | pinentry | grep D)
+echo "${p:2}"