Sign a mail

Werner Koch wk at gnupg.org
Mon Jul 20 19:27:42 CEST 2009


On Mon, 20 Jul 2009 17:19, arothe at phosco.info said:

> I try to send emails from an application, which should be signed with
> gpg. But I'm not sure, which part of the mail is used for signing.

RFC-3156 has good examples.


> Content-Type: multipart/mixed;
>
> to
>
> ------=_Part_0_22676229.1248101390164--
>
> to sign the mail. But always I get an invalid signature. Has anyone an idea?

The mime parts ends at 

  --------------248101390272--

also recall that the CR,LF right before this boundary line is part of
the boundary and NOT part of the signed data.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.




More information about the Gnupg-devel mailing list