Sign a multipart mail using PGP/MIME
问题 I'm trying to sign a mail using PGP in php. I could bring the boundaries and headers to work correctly but the mail signature isn't valid (as Thunderbirds Enigmail states). My question here is what part is to sign and what is to take attention to while doing it. At the moment the source of the generated mail looks like this (Text and signature replaced by placeholders to keep it easy to read): Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=