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

Daniel Kahn Gillmor dkg at fifthhorseman.net
Fri Jul 23 16:51:40 CEST 2010


On 07/23/2010 07:35 AM, mark at proseconsulting.co.uk wrote:
>>  On Fri 23/07/10 11:48 AM , David Smith Dave.Smith at st.com sent:
>>> 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 think that you might be confusing "trust" with "validity".
> 
> I don't think I'm confused.  I need this for verifying digital signatures only.  I'm not encrypting.

If i understand you correctly, I think you want --import-ownertrust.

feed it the equivalent of the output of  gpg --export-ownertrust, and
you should be able to do what you're looking for.

You'll need to know the key's full fingerprint, though.

	--dkg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 892 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20100723/40973bb9/attachment.pgp>


More information about the Gnupg-users mailing list