diff options
Diffstat (limited to 'tests/corpus/sample.C.eml')
-rw-r--r-- | tests/corpus/sample.C.eml | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/tests/corpus/sample.C.eml b/tests/corpus/sample.C.eml new file mode 100644 index 0000000..7ace7b0 --- /dev/null +++ b/tests/corpus/sample.C.eml @@ -0,0 +1,69 @@ +Subject: the subject has been tampered! +Message-ID: C@memoryhole.example +Date: Thu, 16 Jul 2015 11:44:44 +0200 +To: Julia <julia@example.org> +From: Winston <winston@example.net> +MIME-Version: 1.0 +Content-Type: multipart/signed; micalg="pgp-sha256"; + protocol="application/pgp-signature"; boundary="cccccccccccc" + +--cccccccccccc +Content-Type: multipart/mixed; boundary="bbbbbbbbbbbb" + +--bbbbbbbbbbbb +Content-Type: text/rfc822-headers +Content-Disposition: attachment + +Date: Thu, 16 Jul 2015 11:44:44 +0200 +Subject: alternative text/html message with embedded header, signed, with Subject tampered +From: Winston <winston@example.net> +To: Julia <julia@example.org> +Message-ID: C@memoryhole.example + +--bbbbbbbbbbbb +Content-Type: multipart/alternative; boundary="aaaaaaaaaaaa" + +--aaaaaaaaaaaa +Content-Type: text/plain + +This is a test +message on multiple lines + +with a silly bit more. +-- +and a .sig here. + +--aaaaaaaaaaaa +Content-Type: text/html + +<html> +<head> +<title>titles are usually unrendered</title> +</head> +<body> +<p>This is a test<br/>message on multiple lines</p> +<p>with a silly bit more.</p> +<hr/> +<p>and a .sig here.</p> +</body> +</html> + +--aaaaaaaaaaaa-- + +--bbbbbbbbbbbb-- + +--cccccccccccc +Content-Type: application/pgp-signature + +-----BEGIN PGP SIGNATURE----- + +iQEcBAABCAAGBQJWAhj8AAoJEBX7TryOLWy30ZIH/2uQjTofccvTlgCeIyNAcOiO +1pvhtqbAAx48OPV+oSFo++A1tyVTr8K+J4HZOlVOsQ4QW43sRVYlNF3osbf6qLJT +QabIcLbCR1u2bbSYOAGP3S0et+05WDf8nWH7wDWaXtILxIaVV1OeHzGt/f+fdGOD +BO/3GRFS96GSkGJjlLWfVk2usLI98lQ3FcVJoLAXqC/yTN0BoqsFM+A+Gcl3kH6e +SV6ZRDw/rZMB/nM/mQr0+fl7m4duYXtCRBI6PwYajk2GHsozbY/4+snsfj5r2Y2d +Pakk8ulxMl6VcX2H0zy/lxwplUvYDhQ/EiysixgYfyp3VblupnLpxpbW6WohsA4= +=s7OH +-----END PGP SIGNATURE----- + +--cccccccccccc-- |