gpg --batch --yes --edit-key trust

mark at proseconsulting.co.uk mark at proseconsulting.co.uk
Fri Jul 23 11:47:50 CEST 2010


  BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }I
need to be able to ultimately trust a public key in batch mode, that
I have downloaded automatically with wget from an internal server
over HTTPS.
 I don't want to do --trust-model always, apart from the fact I want
to use a trusted key anyway, gpg --trust-model always --verify
displays a gratuitous warning "gpg: WARNING: Using untrusted key!".
 So how do I get gpg --batch --yes --edit-key trust to work?  I would
have expected an option like --trust-level 5 that would allow the
level of trust to be selected in batch mode.
 So far I've considered using Expect to fill in the interactive
fields (but this feels like using a sledgehammer to crack a nut, it
has so many library dependencies), or modifying the source code to
add the needed option.  Can anyone think of another way of achieving
the same goal?
 Thanks in advance,
 Mark.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20100723/bd92f8bc/attachment.htm>


More information about the Gnupg-users mailing list