lkml.org 
[lkml]   [2011]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC][PATCH v2][QUILT] Add gpg signing to quilt mail
From
Date
On Tue, 2011-10-04 at 11:09 -0700, H. Peter Anvin wrote:

> gpgv is only usable to verify contents (equivalent to gpg --verify).
> For other things you need to use gpg's --status-fd feature, *or*
> (perhaps better) run gpgv on the output to verify that you actually got
> a good signature.

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@goodmis.org>"

-- Steve




\
 
 \ /
  Last update: 2011-10-04 21:41    [W:0.092 / U:0.640 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site