Automated Revocation Key Generation

Sam M emunch at utmi.in
Tue Sep 16 14:28:51 CEST 2014


Hello.

Am trying to generate revocation keys for master/sub keys. But I'm always
asked for a password.

I'm using the following -

touch "revf"
echo "y" >> "revf"
echo "0" >> "revf"
echo "No reason specified" >> "revf"
echo "" >> "revf"
echo "y" >> "revf"
echo >> "revf"

gpg2 --expert --no-default-keyring --secret-keyring $seckey --keyring
$pubkey --command-fd 0 --output ${a}.gpg-revocation-certificate --armor
--gen-revoke "${a}" < $revf

This works, but can I automatically provide GPG with a passphrase which it
asks for at the end?

TIA.

Sam.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20140916/c380003b/attachment.html>


More information about the Gnupg-users mailing list