verifying of my own messages fails

Werner Koch wk at gnupg.org
Wed Sep 10 09:52:16 CEST 2008


On Wed, 10 Sep 2008 08:48, bernhard.kleine at gmx.net said:

> Content-Type: multipart/signed; micalg=pgp-sha1;
> protocol="application/pgp-signature"; boundary="=-jef/P9RwlwTKEY2s8979"

You can't feed a PGP/MIME message to gpg; gpg does (on purpose) not
feature a MIME parse.  Your MUA (mail program) has code to parse the
mail and pass the relevant parts to gpg (PGP/MIME uses detached
signatures).

There is example code in gnupg-2 (gpgparsemail) which shows how to write
a MIME parser with MOSS (i.e. PGP/MIME and S/MIME) support.


Salam-Shalom,

   Werner

-- 
Linux-Kongress 2008 + Hamburg + October 7-10 + www.linux-kongress.org

   Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.




More information about the Gnupg-users mailing list