Re: [RFC][PATCH v2][QUILT] Add gpg signing to quilt mail

From: H. Peter Anvin
Date: Tue Oct 04 2011 - 15:42:12 EST


On 10/04/2011 12:38 PM, Steven Rostedt wrote:
>
> Hmm, gpgv is not quite equivalent to gpg --verify. With gpgv I get the
> following error:
>
> $ gpgv /tmp/gpgvmail-s.x /tmp/gpgvmail-d.x
> gpgv: keyblock resource `/home/rostedt/.gnupg/trustedkeys.gpg': file open error
> gpgv: Signature made Tue 04 Oct 2011 02:35:50 PM EDT using RSA key ID C66DAA00
> gpgv: Can't check signature: public key not found
>
>
> I don't have a "trustedkeys.gpg" file. Do I need to generate one?
>
> Using gpg --verify, it doesn't complain:
>
> $ gpg --verify /tmp/gpgvmail-s.x /tmp/gpgvmail-d.x
> gpg: Signature made Tue 04 Oct 2011 02:35:50 PM EDT using RSA key ID C66DAA00
> gpg: Good signature from "Steven Rostedt (Der Hacker) <rostedt@xxxxxxxxxxx>"
>

gpgv looks at trustedkeys.gpg by default; it's just a different public
keyring. The *big* difference between gpgv and gpg is that the former
doesn't consult the trustdb *at all*.

-hpa

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/