Problem checking signatures

Werner Koch wk at
Wed Jan 5 09:17:59 CET 2000

 On Tue, Jan 04, 2000 at 05:36:48PM -0700
 Jason Gunthorpe wrote:

> (echo "-----BEGIN PGP SIGNED MESSAGE-----"; echo; cat foo; cat foo.asc ) | gpg

If you do this

 ( echo "-----BEGIN PGP SIGNED MESSAGE-----"
   echo "Hash: SHA1"
   cat foo
   cat foo.asc
 ) | gpg --verify

it works.

The hash line is needed because otherwise gpg assumes this is a pgp 2 
create signature and enables a workaround for this.

I am not sure why the extra empt line at the end is needed - maybe
Mutt does not output the last line.

Werner Koch at            keyid 621CC013
     Boycott Amazon!  -

More information about the Gnupg-devel mailing list