unattended signing key

Hauke Laging mailinglisten at hauke-laging.de
Mon May 27 13:58:46 CEST 2013


Am Mo 27.05.2013, 13:38:08 schrieb Lema KB:

> I am writing a batch file, where i install gpg4win, generate keys, import
> public key, and sign it. Could anyone help me, how i silently(unattended)
> sign imported public-key?
> i did edit the key, fpr, signed it but it is asking my passphrase.

You may use --passphrase-fd, --passphrase-file, or --passphrase; see the man 
page.

Or gpg-preset-passphrase as an alternative (if you manage to find out the 
keygrip).


Hauke
-- 
☺
PGP: 7D82 FB9F D25A 2CE4 5241 6C37 BF4B 8EEF 1A57 1DF5 (seit 2012-11-04)
http://www.openpgp-schulungen.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 572 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/attachments/20130527/ad766cd4/attachment.sig>


More information about the Gnupg-users mailing list