...key belongs to ...

Michael D. Berger m_d_berger_1900 at yahoo.com
Sun May 30 02:58:57 CEST 2010


On Sat, 29 May 2010 19:46:29 -0500, John Clizbe wrote:

> Michael D. Berger wrote:
>> On a Linux box, in encrypting a file with gpg, I get this query:
>> 
>>    It is NOT certain that the key belongs to the person named in the
>>    user ID.  If you *really* know what you are doing, you may answer
>>    the next question with yes.
>> 
>>    Use this key anyway? (y/N) n
>> 
>> Now in the context in which this is being used, there is no uncertainty
>> regarding key ownership, and the encryption is part of a bash script. 
>> The query stops the script.
>> 
>> Therefore, how can I prevent this query?
> 
> The easiest is to either
> 
> a) (l)sign the key
> 
> or
> 
> b) add '--trust-model always' to the command line

I went to the account in which the key pair was generated
and tried to sign the key.  I got that the key is already
signed.  Was there perhaps something in the export of
the public key that might have gone wrong?  Or, perhaps,
is there some other signing that is necessary?

Thanks again.
Mike.




More information about the Gnupg-users mailing list