Sign a mail

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

On Mon, 20 Jul 2009 17:19, arothe at 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 


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



Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.

More information about the Gnupg-devel mailing list