From ac8a67315c057fdce461a36c62afe8004240925d Mon Sep 17 00:00:00 2001 From: Andrew Engelbrecht Date: Tue, 4 Aug 2015 18:28:39 -0400 Subject: [PATCH] added valid detached signature test --- tests/gpg-flatten-5.eml | 52 +++++++++++++++++++++++++++++++++++++++++ tests/gpg-flatten-5.out | 9 +++++++ 2 files changed, 61 insertions(+) create mode 100644 tests/gpg-flatten-5.eml create mode 100644 tests/gpg-flatten-5.out diff --git a/tests/gpg-flatten-5.eml b/tests/gpg-flatten-5.eml new file mode 100644 index 0000000..3478335 --- /dev/null +++ b/tests/gpg-flatten-5.eml @@ -0,0 +1,52 @@ +From: No One +MIME-Version: 1.0 +To: No One +Subject: =?UTF-8?B?44GT44KT44Gr44Gh44Gv44CB44GK5YWD5rCX44Gn44GZ44GL77yf?= +Content-Type: multipart/signed; micalg=pgp-sha512; + protocol="application/pgp-signature"; + boundary="69pEqCNMs7DnfdpwkAdpUCaf0lwnKu6Vr" + +This is an OpenPGP/MIME signed message (RFC 4880 and 3156) +--69pEqCNMs7DnfdpwkAdpUCaf0lwnKu6Vr +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: quoted-printable + +thanks for the message! + +> =C3=9Cber Spa=C3=9F. +> +> qual =C3=A8 il suono di una mano sola? +> +> =E3=81=93=E3=82=93=E3=81=AB=E3=81=A1=E3=81=AF=E3=80=81=E3=81=8A=E5=85=83= +=E6=B0=97=E3=81=A7=E3=81=99=E3=81=8B=EF=BC=9F +> + +test. + +-andrew + + + + + + + + + +--69pEqCNMs7DnfdpwkAdpUCaf0lwnKu6Vr +Content-Type: application/pgp-signature; name="signature.asc" +Content-Description: OpenPGP digital signature +Content-Disposition: attachment; filename="signature.asc" + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iJwEAAECAAYFAlXBO+cACgkQsT5tL2pPbujZbgQAhF23ts0wohA6lxbVfcq/mdzl +GrRO7pYC5BNDtRRjeGDCOisdfY5qK0skuwVSSMJAKok+Sgv/FKsofWT08XPBz4vV +KAtJoAb6i6r8g38lHGM1Fl8POK3tAEC0srf45xBJY14yuJoGMC0rG+Hj+IxtFfay +Fphd1bTfkcXjEZN8/nA= +=HfPl +-----END PGP SIGNATURE----- + +--69pEqCNMs7DnfdpwkAdpUCaf0lwnKu6Vr-- + diff --git a/tests/gpg-flatten-5.out b/tests/gpg-flatten-5.out new file mode 100644 index 0000000..f5eb59f --- /dev/null +++ b/tests/gpg-flatten-5.out @@ -0,0 +1,9 @@ + + +Your signature was verified. + +- Edward, the friendly GnuPG bot +The Free Software Foundation created me. + +Can you donate to support their work? +https://www.fsf.org/donate -- 2.25.1