signing keys in batch mode

Noel D. Torres Taño ndtt at ll.iac.es
Wed May 21 15:25:07 CEST 2003


Hello. I'm doing some heavy tests with gnupg and I need to generate and
cross sign large amounts of keys.
To generate them is easy using --batch. But --batch doesn't work for the
--sign-key command.
Also, I tried:

(echo y ; echo johndoe1key ) | gpg --homedir johndoe1 --sign-key
johndoe2
(echo y ; echo johndoe1key ) > yes ; cat yes | gpg --homedir johndoe1
--sign-key johndoe2
(echo y ; echo johndoe1key ) > yes ; gpg --homedir johndoe1 --sign-key
johndoe2 < yes

And none of them works: all of them still waits for me to introduce "y"
and "johndoe1key".

Any idea about this?

Noel (Envite)




More information about the Gnupg-devel mailing list