From 3c84e68d79ed84f916f1b983168d58e0f360686b Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Mon, 25 Nov 2019 16:45:48 -0500 Subject: 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 Acked-by: Sean Whitton --- tests/email-print-mime-structure/smime-encrypted.out | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/email-print-mime-structure/smime-encrypted.out (limited to 'tests/email-print-mime-structure/smime-encrypted.out') 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 -- cgit v1.2.3