...key belongs to ...

John Clizbe John at Mozilla-Enigmail.org
Sun May 30 02:46:29 CEST 2010

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


b) add '--trust-model always' to the command line

John P. Clizbe                      Inet:John (a) Mozilla-Enigmail.org
You can't spell fiasco without SCO. hkp://keyserver.gingerbear.net  or
     mailto:pgp-public-keys at gingerbear.net?subject=HELP

Q:"Just how do the residents of Haiku, Hawai'i hold conversations?"
A:"An odd melody / island voices on the winds / surplus of vowels"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 499 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20100529/7c42c2aa/attachment.pgp>

More information about the Gnupg-users mailing list