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.
_______________________________________________
Gnupg-users mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to