aboutsummaryrefslogtreecommitdiff
path: root/system/bin/askpass
diff options
context:
space:
mode:
authorCamil Staps2021-06-28 12:22:48 +0200
committerCamil Staps2021-06-28 12:22:48 +0200
commita73acb9b474ce77af4bc54657d32bd2714ce53ec (patch)
tree1016bbbb59b629c0e905fce3a0b464a40f6f97a2 /system/bin/askpass
parentAdd vim settings for gas and cabal (diff)
Cleanup binaries
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}"