diff options
Diffstat (limited to 'tests/corpus/sample.H.eml')
-rw-r--r-- | tests/corpus/sample.H.eml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/tests/corpus/sample.H.eml b/tests/corpus/sample.H.eml new file mode 100644 index 0000000..7d36cfd --- /dev/null +++ b/tests/corpus/sample.H.eml @@ -0,0 +1,37 @@ +Subject: headers in top-level MIME: tampered subject and from +Message-ID: H@memoryhole.example +Date: Wed, 29 Jul 2015 09:31:44 +0100 +To: Julia <julia@example.org> +From: Eve <eve@evilcorp.com> +MIME-Version: 1.0 +Content-Type: multipart/signed; micalg="pgp-sha256"; + protocol="application/pgp-signature"; boundary="bbbbbbbbbbbb" + +--bbbbbbbbbbbb +Content-Type: text/plain; boundary="aaaaaaaaaaaa" +Subject: headers in top-level MIME: subject restored to original +From: Winston <winston@example.net> + +This email demonstrates including the memoryhole headers inside the +top-level MIME object. The signed Subject and From are headers of the +text/plain part, rather than having their own rfc822-headers part. + +This email has been tampered with. It was originally sent by Winston, +who signed the body (including the memoryhole headers). Eve has +fiddled with the From and Subject headers in-flight. + +--bbbbbbbbbbbb +Content-Type: application/pgp-signature + +-----BEGIN PGP SIGNATURE----- + +iQEcBAABCAAGBQJWAhj9AAoJEBX7TryOLWy3YZUIAIBNrsi3ukLN2S12SNMxu0n0 +FyHWokwibCljlmArbSaGT7b7mPQFN42CkRsomskk1JzptIetEHxwSH+sNlV/EK3J +kEYuOnVayH/UaujFCAv4qCtKHapjcIgRBrieX/AjLWJvSDXQq1x42SurHnLyH2Hw +aMffIcJ8jhs5JDINqUcZZRxykK9Ub53SEAOTiqqPjpt4O40WPCe0tXqPO3iB0JIk +DqMScWL4dJHtnk0U2g5wEZ8PdEN9iwhKnJ0yC+9FTkisK7vEdluTSxBV3xtyeOsq +G8ZgpoG7NnF0jJf67O7sD3lSc0jAtBAalKDBtQXMYtQ2unyJULqa7mZzMBIdjDA= +=mE6O +-----END PGP SIGNATURE----- + +--bbbbbbbbbbbb-- |