Batch (non-interactive) key signing

David Shaw dshaw@jabberwocky.com
Mon Mar 10 17:53:01 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Mar 10, 2003 at 11:04:27AM -0500, Jason Tackaberry wrote:
> Hi Werner, thanks for your reply.
> 
> On Mon, 2003-03-10 at 10:49, Werner Koch wrote:
> > of the prompts.  So what you need to do, is to parse the status lines,
> > feed them into a FSM and send responses accordingly - if you don't
> > know the prompt, just send the default value (an empty line) and hope
> > for the best.
> 
> This sounds doable, except that I'm simply not able to make this work
> when using --command-fd 0 (again, using GnuPG 1.0.7).  I get as far as
> the sign_uid.okay prompt, then it drops me back to keyedit.prompt and
> when I issue a "save" command it says "Key not changed so no update
> needed."

[..]

> [GNUPG:] GET_BOOL sign_uid.okay
> y
> [GNUPG:] GOT_IT

Use a capital Y here.  It's case-sensitive.

David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2rc1 (GNU/Linux)
Comment: http://www.jabberwocky.com/david/keys.asc

iD8DBQE+bMMB4mZch0nhy8kRAhm9AJ9eDy5zuLe4aTMRLmoKBWbIXfIn4wCgplPW
0QqsaShGhm5alXlJRmTcFTs=
=cQke
-----END PGP SIGNATURE-----