You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
179 B
Plaintext

#!/usr/bin/expect -f
spawn gpg {*}$argv
expect -timeout 10 "Passphrase:"
send_user "*** passphrase sent ***"
send $::env(PLUGIN_GPG_PASSPHRASE)
send "\r"
expect -timeout -1 eof