diff options
| author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2019-05-26 18:16:01 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2019-05-29 08:13:06 -0300 |
| commit | 996ef5710cd5b9a5de6394018f21955a775f7511 (patch) | |
| tree | 5dbaea52ea1fb0b44de6c08bb42b10031b02f8f5 /test/corpora | |
| parent | 1c879f39391b1144bfb2328fe778ab7d7e582100 (diff) | |
test: show cryptographic envelope information for signed mails
Make sure that we emit the correct cryptographic envelope status for
cleartext signed messages.
Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Diffstat (limited to 'test/corpora')
| -rw-r--r-- | test/corpora/protected-headers/signed-protected-header.eml | 29 | ||||
| -rw-r--r-- | test/corpora/protected-headers/simple-signed-mail.eml | 28 |
2 files changed, 57 insertions, 0 deletions
diff --git a/test/corpora/protected-headers/signed-protected-header.eml b/test/corpora/protected-headers/signed-protected-header.eml new file mode 100644 index 00000000..c3a21b85 --- /dev/null +++ b/test/corpora/protected-headers/signed-protected-header.eml @@ -0,0 +1,29 @@ +From: test_suite@notmuchmail.org +To: test_suite@notmuchmail.org +Subject: This is a signed message +Date: Sat, 01 Jan 2000 12:00:00 +0000 +Message-ID: <signed-protected-header@crypto.notmuchmail.org> +MIME-Version: 1.0 +Content-Type: multipart/signed; boundary="=-=-="; + protocol="application/pgp-signature"; + micalg=pgp-sha512 + +--=-=-= +Content-Type: text/plain; protected-headers="v1" +Subject: This is a signed message + +Here is the signed message body. + +--=-=-= +Content-Disposition: attachment; filename=signature.asc +Content-Type: application/pgp-signature + +-----BEGIN PGP SIGNATURE----- + +iLMEAQEKAB0WIQRa6rEfXjPc6HXdt1ttkmEtlORjgQUCWusAfwAKCRBtkmEtlORj +geIJA/0WcyxlwDfXRMbiGE/crLBYhLpXK6ZMzjEn6HQDntMIk3Kr61rAwL8edKGx +gbxr1+XlMYRt+PJDhi8iI0odDI1YjiBjjc0bXUoDn60UcjL2MPGshI3426CA7cqB +cMaoRHajfdxYjSzzfh8duVgi0vmUnsyoePBhANRbDIVmCQS11g== +=c4cq +-----END PGP SIGNATURE----- +--=-=-=-- diff --git a/test/corpora/protected-headers/simple-signed-mail.eml b/test/corpora/protected-headers/simple-signed-mail.eml new file mode 100644 index 00000000..ebf4b786 --- /dev/null +++ b/test/corpora/protected-headers/simple-signed-mail.eml @@ -0,0 +1,28 @@ +From: test_suite@notmuchmail.org +To: test_suite@notmuchmail.org +Subject: This is a signed message +Date: Sat, 01 Jan 2000 12:00:00 +0000 +Message-ID: <simple-signed-mail@crypto.notmuchmail.org> +MIME-Version: 1.0 +Content-Type: multipart/signed; boundary="=-=-="; + protocol="application/pgp-signature"; + micalg=pgp-sha512 + +--=-=-= +Content-Type: text/plain + +Here is the signed message body. + +--=-=-= +Content-Disposition: attachment; filename=signature.asc +Content-Type: application/pgp-signature + +-----BEGIN PGP SIGNATURE----- + +iLMEAQEKAB0WIQRa6rEfXjPc6HXdt1ttkmEtlORjgQUCWu718wAKCRBtkmEtlORj +gUXaA/4/m6CPRgC9JODRKRWo3Szi5D3zg7uf29DIJu9m2vVRw5o0ZeHcxLb26UPe +qdjPq6GBclkXdeTH9Nv2TW5cToJmMA9UvESeRRzbe6ytvswNEYdSbiYAsv/k9t6K +KQO2ZSbsbVlkh8xVYC3ORiUS775YrPxVT6QlPkMKAXw3l3Zwcg== +=jnDO +-----END PGP SIGNATURE----- +--=-=-=-- |
