summaryrefslogtreecommitdiff
path: root/tests/email-print-mime-structure/encrypted.out
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2019-11-25 01:53:55 -0500
committerSean Whitton <spwhitton@spwhitton.name>2019-11-25 07:46:31 -0700
commit93d309e682c0910556d79aa75c8871cb3f6860ae (patch)
tree5cfa34def592600524cc28ee9dcd7eae54f8988c /tests/email-print-mime-structure/encrypted.out
parente9e26fa3d84b9d38c4a33fb33f890b21b482ef13 (diff)
downloadmailscripts-93d309e682c0910556d79aa75c8871cb3f6860ae.tar.gz
email-print-mime-structure: added test for PGP/MIME decryption
The secret key material in this test comes from https://datatracker.ietf.org/doc/draft-bre-openpgp-samples/ Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Diffstat (limited to 'tests/email-print-mime-structure/encrypted.out')
-rw-r--r--tests/email-print-mime-structure/encrypted.out9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/email-print-mime-structure/encrypted.out b/tests/email-print-mime-structure/encrypted.out
new file mode 100644
index 0000000..a2db072
--- /dev/null
+++ b/tests/email-print-mime-structure/encrypted.out
@@ -0,0 +1,9 @@
+└┬╴multipart/encrypted 1366 bytes
+ ├─╴application/pgp-encrypted 11 bytes
+ └─╴application/octet-stream 971 bytes
+ ↧ (decrypts to)
+ └┬╴multipart/mixed 415 bytes
+ ├┬╴multipart/alternative 234 bytes
+ │├─╴text/plain 26 bytes
+ │└─╴text/html 72 bytes
+ └─╴text/plain attachment [test.txt] 33 bytes