diff --git a/plugins/messageviewer/bodypartformatter/autotests/data/message-with-openpgp-key.mbox b/plugins/messageviewer/bodypartformatter/autotests/data/message-with-openpgp-key.mbox new file mode 100644 index 0000000000000000000000000000000000000000..d7813c882e9c5d03b5d167436e86af223aca56ba --- /dev/null +++ b/plugins/messageviewer/bodypartformatter/autotests/data/message-with-openpgp-key.mbox @@ -0,0 +1,88 @@ +From montel@kde.org Fri May 19 15:20:09 2017 +From: laurent Montel +To: montel@kde.org +Subject: test +Date: Fri, 19 May 2017 17:20:09 +0200 +Message-ID: <7232712.T1WlXBsKax@linux-5nvn> +MIME-Version: 1.0 +Content-Type: multipart/signed; boundary="nextPart3785264.qfBhTHxsTp"; micalg="pgp-sha256"; protocol="application/pgp-signature" + +--nextPart3785264.qfBhTHxsTp +Content-Type: multipart/mixed; boundary="nextPart1596757.VZifKMekdV" +Content-Transfer-Encoding: 7Bit + +This is a multi-part message in MIME format. + +--nextPart1596757.VZifKMekdV +Content-Transfer-Encoding: 7Bit +Content-Type: text/plain; charset="us-ascii" + +test + +--nextPart1596757.VZifKMekdV +Content-Disposition: attachment; filename="0x5B8D88290B819F70CAB1E090F8971E06FD551F2C.asc" +Content-Transfer-Encoding: base64 +Content-Type: application/pgp-keys; name*=iso-8859-1''Cl%E9%20OpenPGP%200xFD551F2C + +LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCgptUUVOQkZYNEZNOEJDQUMzZUt5 +b1RjY0EwZ3FMNVlLSWtpR2UvQXpValZaeTc0OXJ6QmF5a3V4dVBsYzBMMDduCkFHMVJ5SFRpZExv +dE40aTVkeW15dVpKSW5vdEFaQkpIbnk3OU5HVTZBMnRFelZGMVpvKzFJNnlYSzlnd3NxMGIKNmxW +c0VBK3JNUGdZTjMwbXRrLy9SSWNYMlNnUHg2T2xBU0tpWGEvNmY0SzdtOUdiRVFLLzkzYXNPMlFM +a1FJeQorY2g3QzI0VVBaZnFCbUlOd2I0bXQxV0NyTWhSdjlp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TGpidHJHY1AzVDFPekNka3kyWExXd1NPSDJY +OXhRSmxJZVk1VHhrd2hpdDdlaVp4M1dFTGxFazkyTVdYCnk3aDAzZEhybEdzYkU4bGVIVzFnL0xH +NEpjN2ZzYVBFRmt3ZUxaOGFNTW5Fckh5R1VGNkQrR2NXRWNkcjU0NE8KWGprVzU2SkJTdFQ2SUll +dmpzdGFpZURKM01XTFNmSUxXZjQyRkJ3Ymd2RlJDdmZ5bXhoclQwelUvdDR0MXpJcgpCcEM2dG91 +QXR1cU9zdHZVdVhmd1NNZkJ1S0R1NnZwRjR3VWhwQXdyQzRYVzVYTCtLVFFoOERMb2xzK2ZzMk1w +ClR6cTVQRGVITG82eWE3UTdEeTgvOCt4MDFKQi91akMrWlhBcnZxOTI2aHpsaVhCbmNlQlZhUnoy +TXB3RFJxTWcKSzBiTwo9OW9xSQotLS0tLUVORCBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCg== + + +--nextPart1596757.VZifKMekdV-- + +--nextPart3785264.qfBhTHxsTp +Content-Type: application/pgp-signature; name="signature.asc" +Content-Description: This is a digitally signed message part. +Content-Transfer-Encoding: 7Bit + +-----BEGIN PGP SIGNATURE----- + +iQEzBAABCAAdFiEEluyecoJysVgFS2oxEPXAR5mcNUUFAlkfDSkACgkQEPXAR5mc +NUXCyQf/TZxi41qIhg0PHHcvIUqgymRzZlRLa35Tq47rIp2x9UdccN45DULimOWP +IfIGGmJiIX/iT9XWe+DgYeDs45thBXdwqYtZso0s1IOpon0rou4z0cBtiz4V7/Gu +Q1bLBQfp2PZX+JfPRtI2bQM0ysSuLfedo03+V2PtDYdBEVXYubiXV8X49bnyrYz+ +O+jdGvd7BVzxDym8jMoMs31fn/o9Xv6NL+XWPYmErt36cT03DNk/4Wv5QS3hxndQ +1fb3gg87Gi/dnrKjbl3c/jUV3KGVEGhndC8eJPJ5HlYGwQfDcuvsyMPsM3h011FB +DxIs+6Y24gChWcjAXukDi+iTuszI1A== +=go/2 +-----END PGP SIGNATURE----- + +--nextPart3785264.qfBhTHxsTp-- + + diff --git a/plugins/messageviewer/bodypartformatter/autotests/data/message-with-openpgp-key.mbox.html b/plugins/messageviewer/bodypartformatter/autotests/data/message-with-openpgp-key.mbox.html new file mode 100644 index 0000000000000000000000000000000000000000..0a99e2dd7e613096a151a25e2639b973692ac300 --- /dev/null +++ b/plugins/messageviewer/bodypartformatter/autotests/data/message-with-openpgp-key.mbox.html @@ -0,0 +1,70 @@ + + + + +
+ + +
+ +