summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortslil clingman <>2020-04-10 11:01:32 -0700
committertslil clingman <>2020-04-10 11:01:32 -0700
commit6959fd32c2a8fdc74ec16b5597aef84896713fc5 (patch)
tree7d467a438985ac040e0cec023c569458af086110
parent1fcf5c8dba2ea65d87909c958f8884f8adf71945 (diff)
parentd2ab080a66b99799f51912d77509062625d95f4c (diff)
Merge branch 'master' of git.sr.ht:~tslil/scripts
-rwxr-xr-xbadpass4
1 files changed, 3 insertions, 1 deletions
diff --git a/badpass b/badpass
index d5286e4..afb49d5 100755
--- a/badpass
+++ b/badpass
@@ -25,10 +25,12 @@ echo
USEKEYCHAIN () {
expect - <<EOF
spawn keychain --nogui --quiet $1
+set send_slow {1 0.001}
expect {
- "Enter passphrase for $HOME/.ssh/$1:"; { send "$2\n"; }
+ "Enter passphrase for $HOME/.ssh/$1:"; { send -s "$2\n"; }
}
EOF
+ echo
}
CALL=echo