Page MenuHome GnuPG

No OneTemporary

diff --git a/tests/data/openpgp-signed-rfc2231-attachments.mbox b/tests/data/openpgp-signed-rfc2231-attachments.mbox
new file mode 100644
index 0000000..6105f20
--- /dev/null
+++ b/tests/data/openpgp-signed-rfc2231-attachments.mbox
@@ -0,0 +1,69 @@
+From: firstname.lastname@example.com
+To: test@kolab.org
+Subject: OpenPGP invalid signed with 3 text attachments
+Date: Sun, 30 Aug 2015 12:02:56 +0200
+Message-ID: <2033829.IGepAdxqt9@vkpc5>
+MIME-Version: 1.0
+Content-Type: multipart/signed; boundary="nextPart3682207.KLrp2sxpbf"; micalg="pgp-sha1"; protocol="application/pgp-signature"
+
+--nextPart3682207.KLrp2sxpbf
+Content-Type: multipart/mixed; boundary="nextPart2397422.QDHKUNdbyg"
+Content-Transfer-Encoding: 7Bit
+
+This is a multi-part message in MIME format.
+
+--nextPart2397422.QDHKUNdbyg
+Content-Transfer-Encoding: 7Bit
+Content-Type: text/plain; charset="us-ascii"
+
+this is the main body text
+--nextPart2397422.QDHKUNdbyg
+Content-Disposition: inline; filename*=us-ascii'en-us'This%20is%20%2A%2A%2Afun%2A%2A%2A.txt
+Content-Transfer-Encoding: 7Bit
+Content-Type: text/plain; charset="utf-8"
+
+this is attachment one
+--nextPart2397422.QDHKUNdbyg
+Content-Disposition: inline;
+ filename*0*=us-ascii'en'This%20is%20even%20more%20;
+ filename*1*=%2A%2A%2Afun%2A%2A%2A%20;
+ filename*2="isn't it!"
+Content-Transfer-Encoding: 7Bit
+Content-Type: text/plain; charset="utf-8"
+
+this is attachment two
+--nextPart2397422.QDHKUNdbyg
+Content-Disposition: inline;
+Content-Transfer-Encoding: 7Bit
+Content-Type: text/plain; charset="utf-8";
+ name*0*=utf-8'en'L%C3%B6t%20%C3%BCs%20t%C3%A4st%20utf8;
+ name*1*=us-ascii''%2A%2A%2Afun%2A%2A%2A%20;
+ name*2="isn't it!.pdf"
+
+this is attachment three
+--nextPart2397422.QDHKUNdbyg--
+Content-Disposition: inline;
+Content-Transfer-Encoding: 7Bit
+Content-Type: text/plain; charset="utf-8";
+
+this is attachment without a name
+--nextPart2397422.QDHKUNdbyg--
+
+--nextPart3682207.KLrp2sxpbf
+Content-Type: application/pgp-signature; name="signature.asc"
+Content-Description: This is a digitally signed message part.
+Content-Transfer-Encoding: 7Bit
+
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iQEVAwUAVeLU0I2YYMWPJG3mAQL/fgf+LXmO7bKafdd4g5OOVHHyXRprVmX/6hBq
+mZoor29KLIHkvAH9OJi4qBy/ZKwqqKLfttLzHb2UaAfl5kn4f0ckmnwUhU7u32Sm
+JZ0Q50SxrRVFRyvTvPG22ho9IwQUO1YSZrL4wO9v8ZBQ3vkfpmAiUQVxPQMINc8L
+i68xQEm4y1Dtoc+DTUkoIMeOOPnEl6PTMPrwn906K0r30hI4788fEGRn6uOXb+vD
+G/ISlXu+JHIxxf/J5/jVjKNbra+trrfSPzB3piJIjBLEPO5FvLx8SgQFJcJHt/kw
+ps8D5YULj/MVMLlsPtXDdZmbOi/G9pN0tr05MKcXsO5Ywe7n2BhASw==
+=2Nzb
+-----END PGP SIGNATURE-----
+
+--nextPart3682207.KLrp2sxpbf--

File Metadata

Mime Type
text/x-diff
Expires
Sun, Dec 28, 10:14 PM (4 h, 29 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
d8/9a/b474969df2c3751cd67a4ec2290b

Event Timeline