summaryrefslogtreecommitdiff
path: root/tests/email-print-mime-structure/smime-encrypted.out
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2019-11-25 16:45:48 -0500
committerSean Whitton <spwhitton@spwhitton.name>2019-11-28 11:09:01 -0700
commit3c84e68d79ed84f916f1b983168d58e0f360686b (patch)
tree89b8a7cd3d883877108b1fc5a40764f75faa0cd2 /tests/email-print-mime-structure/smime-encrypted.out
parent5aebcfb2df96cc142f1787b18849cea06f898816 (diff)
downloadmailscripts-3c84e68d79ed84f916f1b983168d58e0f360686b.tar.gz
email-print-mime-structure: decrypt S/MIME parts using gpgsm
Decrypt ciphertext using gpgsm if the user has indicated that it's ok. This includes a new element in the test suite, which uses secret key material from https://www.ietf.org/id/draft-dkg-lamps-samples-01.html Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net> Acked-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'tests/email-print-mime-structure/smime-encrypted.out')
-rw-r--r--tests/email-print-mime-structure/smime-encrypted.out7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/email-print-mime-structure/smime-encrypted.out b/tests/email-print-mime-structure/smime-encrypted.out
new file mode 100644
index 0000000..071be70
--- /dev/null
+++ b/tests/email-print-mime-structure/smime-encrypted.out
@@ -0,0 +1,7 @@
+└─╴application/pkcs7-mime 1196 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