<div dir="ltr"><div>Ok. Here are some examples.<br><br></div>1. Html message without attachments, with signature<br><div><br><img alt="Inline image 1" src="cid:ii_152542230b627893" height="98" width="561"><br><br></div><div>After my signature fix (removing the signature from the body):<br><br><img alt="Inline image 2" src="cid:ii_152542422976deee" height="106" width="561"><br></div><div>Decrypted message:<br><br><pre id="line1"><span>Content-Type: multipart/signed; micalg=pgp-sha1;
<span id="line2"></span> protocol="application/pgp-signature";
<span id="line3"></span> boundary="=_0c385807db1dba6581d6bbd4722d8e94"
<span id="line4"></span>
<span id="line5"></span>--=_0c385807db1dba6581d6bbd4722d8e94
<span id="line6"></span>Content-Type: multipart/alternative;
<span id="line7"></span> boundary="=_0c385807db1dba6581d6bbd4722d8e94"
<span id="line8"></span>
<span id="line9"></span>--=_0c385807db1dba6581d6bbd4722d8e94
<span id="line10"></span>Content-Transfer-Encoding: 7bit
<span id="line11"></span>Content-Type: text/plain; charset=US-ASCII
<span id="line12"></span>
<span id="line13"></span>asd 
<span id="line14"></span>
<span id="line15"></span>asd 
<span id="line16"></span>
<span id="line17"></span>asd 
<span id="line18"></span>
<span id="line19"></span>asasd
<span id="line20"></span>--=_0c385807db1dba6581d6bbd4722d8e94
<span id="line21"></span>Content-Transfer-Encoding: quoted-printable
<span id="line22"></span>Content-Type: text/html; charset=UTF-8
<span id="line23"></span>
<span id="line24"></span></span><span title="Stray start tag “html”." class=""><<span class="">html</span>></span><span></span><span title="Stray start tag “head”." class=""><<span class="">head</span>></span><span></span><span title="“=” at the start of an unquoted attribute value. Probable cause: Stray duplicate equals sign." class=""><<span class="">meta</span> <span class="">http-equiv</span>=<a title="Quote in an unquoted attribute value. Probable causes: Attributes running together or a URL query string in an unquoted attribute value.
Quote in an unquoted attribute value. Probable causes: Attributes running together or a URL query string in an unquoted attribute value." class="">3D"Content-Type"</a> <span class="">content</span>=<a title="Quote in an unquoted attribute value. Probable causes: Attributes running together or a URL query string in an unquoted attribute value." class="">3D"text/html;</a> <span class="">charset</span>=
<span id="line25"></span><a title="Quote in an unquoted attribute value. Probable causes: Attributes running together or a URL query string in an unquoted attribute value." class="">=3DUTF-8"</a> <span>/</span>></span><span></span><span title="Stray end tag “head”." class=""></<span class="">head</span>></span><span></span><span title="An “body” start tag seen but an element of the same type was already open." class=""><<span class="">body</span> <span class="">style</span>=<a title="Quote in an unquoted attribute value. Probable causes: Attributes running together or a URL query string in an unquoted attribute value." class="">3D'font-size:</a> <span class="">10pt;</span> <span class="">font-family:</span> <span class="">Verdana,Gen</span>=
<span id="line26"></span><a title="Quote in an unquoted attribute value. Probable causes: Attributes running together or a URL query string in an unquoted attribute value." class="">eva,sans-serif'</a>></span><span>
<span id="line27"></span></span><span><<span class="">p</span>></span><span>asd</span><span></<span class="">p</span>></span><span>
<span id="line28"></span></span><span><<span class="">p</span>></span><span>asd</span><span></<span class="">p</span>></span><span>
<span id="line29"></span></span><span><<span class="">p</span>></span><span>asd</span><span></<span class="">p</span>></span><span>
<span id="line30"></span></span><span><<span class="">p</span>></span><span>asasd</span><span></<span class="">p</span>></span><span>
<span id="line31"></span></span><span></<span class="">body</span>></span><span></span><span></<span class="">html</span>></span><span title="Non-space character in page trailer." class="">
<span id="line32"></span>
<span id="line33"></span>--=_0c385807db1dba6581d6bbd4722d8e94--
<span id="line34"></span>
<span id="line35"></span>
<span id="line36"></span>--=_0c385807db1dba6581d6bbd4722d8e94
<span id="line37"></span>Content-Type: application/pgp-signature;
<span id="line38"></span> name=signature.asc
<span id="line39"></span>Content-Disposition: attachment;
<span id="line40"></span> filename=signature.asc;
<span id="line41"></span> size=819
<span id="line42"></span>Content-Description: OpenPGP digital signature
<span id="line43"></span>
<span id="line44"></span>-----BEGIN PGP SIGNATURE-----
<span id="line45"></span>Version: GnuPG v1
<span id="line46"></span>
<span id="line47"></span>iQIcBAEBAgAGBQJWl6xjAAoJEKs78blfWHHjIPYP/2eR0BKXEQzAFrQy8mdutIYS
<span id="line48"></span>/Pa5NqUDFgGaUFfGiBSBCAAfNSbaLnTtdIzSRHttuu8X8vF+J/b5CdAJsvMAuZg4
<span id="line49"></span>sXHgqCX4oRhDoVCxEV3PMCfWyEjD6+Yr6T8mKjkwI7CRE2osMrfWlnROH4rWsk2a
<span id="line50"></span>kOQyCh3olqw++f5DfJSh9o86bzqD/OmY6Hb0g4NNxybFXZYSDWJIYLoD4v1PIyxr
<span id="line51"></span>jmnGCzYK1C2gKZVGgLN+W4vBdAARJR1iEHY6+oIZK8kUgeML+IUk5tL/Axc80av3
<span id="line52"></span>RswHAOwaFQmpORBJMe592w9wX4d/6mbDfLYmfm9MSih2V9VscxYuPwiINtsUJTt/
<span id="line53"></span>v07jqAszq4gAs9NZrJWTWxUaiXGxATWCOEl0TJyOO1mxj5H05rvLxsDBCpNc2d13
<span id="line54"></span>BQu1YRlZP4HyliKD3AtFI8zFW5cyeOUoUp3YXQbFl2N8tEDsxAy58HOCQY3IFpOV
<span id="line55"></span>MpHAPNrvgxdkdyW3nqWT3wW4MtGYL83HUtkjmM/3g1zIzqKPlhXSugoZLzNEMGHm
<span id="line56"></span>qZoSqZz83dBm01KyDWEk55uhIkU6T9l7LEv8eAZEuTwEo+oIfY3cFPGW+2T6AWE1
<span id="line57"></span>t9CPaeHAu8Ov8yvwOKqcwpx6xz9L6zjw7uX9i07kgpFQd57iclxqEMqQnMWyp/K7
<span id="line58"></span>diMfjvwVRtgaFqafs4WZ
<span id="line59"></span>=+wIM
<span id="line60"></span>-----END PGP SIGNATURE-----
<span id="line61"></span>
<span id="line62"></span>--=_0c385807db1dba6581d6bbd4722d8e94--
<span id="line63"></span></span></pre><br></div><div><br></div><div>2. HTML message + attachment + signature<br><br><img alt="Inline image 5" src="cid:ii_152542e448ff5a5b" height="93" width="561"><br><br></div><div>After my signature fix, still the green box with "Message decrypted" is not displayed, because of the incorrect mime_id.<br></div><div><br><img alt="Inline image 3" src="cid:ii_152542acd46ce9a6" height="119" width="561"><br></div><div>After fixing the mime_id:<br><br><img alt="Inline image 4" src="cid:ii_152542c72a130b1a" height="105" width="561"><br></div><div><br><br></div><div>Decrypted message:<br><br><pre id="line1"><span><span>Content-Type: multipart/signed; micalg=pgp-sha1;
<span id="line2"></span> protocol="application/pgp-signature";
<span id="line3"></span> boundary="=_bfe7c275050be5c5d1053ae2d62df650"
<span id="line4"></span>
<span id="line5"></span>--=_bfe7c275050be5c5d1053ae2d62df650
<span id="line6"></span>Content-Type: multipart/mixed;
<span id="line7"></span> boundary="=_bfe7c275050be5c5d1053ae2d62df650"
<span id="line8"></span>
<span id="line9"></span>--=_bfe7c275050be5c5d1053ae2d62df650
<span id="line10"></span>Content-Type: multipart/alternative;
<span id="line11"></span> boundary="=_dd34536bafebf8a1aa2873136c89542f"
<span id="line12"></span>
<span id="line13"></span>--=_dd34536bafebf8a1aa2873136c89542f
<span id="line14"></span>Content-Transfer-Encoding: 7bit
<span id="line15"></span>Content-Type: text/plain; charset=US-ASCII
<span id="line16"></span>
<span id="line17"></span>asda 
<span id="line18"></span>
<span id="line19"></span>asd 
<span id="line20"></span>
<span id="line21"></span>asdasd
<span id="line22"></span>--=_dd34536bafebf8a1aa2873136c89542f
<span id="line23"></span>Content-Transfer-Encoding: quoted-printable
<span id="line24"></span>Content-Type: text/html; charset=UTF-8
<span id="line25"></span>
<span id="line26"></span></span><span title="Stray start tag “html”." class=""><<span class="">html</span>></span><span></span><span title="Stray start tag “head”." class=""><<span class="">head</span>></span><span></span><span title="“=” at the start of an unquoted attribute value. Probable cause: Stray duplicate equals sign." class=""><<span class="">meta</span> <span class="">http-equiv</span>=<a title="Quote in an unquoted attribute value. Probable causes: Attributes running together or a URL query string in an unquoted attribute value.
Quote in an unquoted attribute value. Probable causes: Attributes running together or a URL query string in an unquoted attribute value." class="">3D"Content-Type"</a> <span class="">content</span>=<a title="Quote in an unquoted attribute value. Probable causes: Attributes running together or a URL query string in an unquoted attribute value." class="">3D"text/html;</a> <span class="">charset</span>=
<span id="line27"></span><a title="Quote in an unquoted attribute value. Probable causes: Attributes running together or a URL query string in an unquoted attribute value." class="">=3DUTF-8"</a> <span>/</span>></span><span></span><span title="Stray end tag “head”." class=""></<span class="">head</span>></span><span></span><span title="An “body” start tag seen but an element of the same type was already open." class=""><<span class="">body</span> <span class="">style</span>=<a title="Quote in&nb