Replies: 2 comments
-
That's the best way to get me on the task ;) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hey Marcin, do you think that ObjectivePGP should support this type of message or not? Thanks and best |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Hey,
thank you the project and your work is very helpful. I apologize for the (maybe silly) issue because you mention that cleartext signatures are not supported. But on the other hand CanaryMail uses your project....
I can not verify some (plain) mails from Thunderbird etc. (see example below). In general, I can not verify mails with attached signatures and I am wondering if I am doing a mistake (e.g. selecting the wrong plain text or wrong conversation from String to Data) or if it is not possible in general.
Does someone has experience with verifying plain texts?
I am sorry but I did not know where to answer the question. Maybe issues are not the right place but people may find it...
Thanks and best
Oliver
Steps to reproduce
I just created a simple swift-playground example. But if you are interested I can create a testcase pullrequest (with asc-file etc).
Sample code to reproduce the issue:
Plain mail:
Return-Path: [email protected]
Delivered-To: [email protected]
To: Bob [email protected]
From: alice [email protected]
Subject: signed from Thunderbird
Openpgp: preference=signencrypt
Message-ID: [email protected]
Date: Wed, 31 Oct 2018 12:15:17 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0)
Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
protocol="application/pgp-signature";
boundary="jGY9eHsM08PgfVXXPT2f3AZCPJW4IwZj4X"
--jGY9eHsM08PgfVXXPT2f3AZCPJW4IwZj4X
Content-Type: multipart/mixed; boundary="dibSubdyFVMsrRSzHsR83Pehjj4u2PlX3";
protected-headers="v1"
From: alice [email protected]
To: Bob [email protected]
Message-ID: [email protected]
Subject: signed from Thunderbird
--dibSubdyFVMsrRSzHsR83Pehjj4u2PlX3
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Content-Language: en-US
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque dapibus
id diam ac volutpat. Sed quis cursus ante. Vestibulum eget gravida
felis. Nullam accumsan diam quis sem ornare lacinia. Aenean risus risus,
maximus quis faucibus et, maximus at nunc. Duis pharetra augue libero,
et congue diam varius eget. Nullam efficitur ex purus, non accumsan
tellus laoreet hendrerit. Suspendisse gravida interdum eros, eu
venenatis ante suscipit nec. Class aptent taciti sociosqu ad litora
torquent per conubia nostra, per inceptos himenaeos. Praesent
pellentesque cursus sem, non ornare nunc commodo vel. Praesent sed magna
at ligula ultricies sagittis malesuada non est. Nam maximus varius
mauris. Etiam dignissim congue ligula eu porta. Nunc rutrum nisl id
mauris efficitur ultrices. Maecenas sit amet velit ac mauris consequat
sagittis at et lorem.
--dibSubdyFVMsrRSzHsR83Pehjj4u2PlX3--
--jGY9eHsM08PgfVXXPT2f3AZCPJW4IwZj4X
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQGzBAEBCgAdFiEEJRxNIIPfYdSrprTDTbvambTX/SgFAlvZjsUACgkQTbvambTX
/Sj26gv/VN0k/cDybI5RUU/qCIxcivOy3qM/9AauHjQQ/RJWlBAsVy/JU04xS+Qi
DdLmXP9LJa8np5T9B/rVJZrVbv5FjidsY6UsPbcqRcTZGe/X8ikscpRqUlYqkeAI
F4u2tKQiSaxbB4J9Mj4WindG3y3kcRUoTizFv7I7Zl6rLc2WVayLwFaA79pDv3M9
NEgwv5i7gE48dppEJLUBeXtpK00N5/BxJ0w7L0hirQZFo7FMTkDgCbYA+9seDfS4
lx4aHYjB+BUsV1n7dO6bdumnutP3eK1awk2Yyq4EJHizLNd/SsWVltOxukRqrUAp
qFlwclAEOxlWs0uLckMU6jZnhk4nUC8S20MLznNN4ASBjdo4mRIZFHIq9X8qLikl
uUvxM1Tj3+Vx/6JvHI3kxrq68QARkvTKOMOcLnPUOlQgEvUe9JZvJfSdm2xhqVa+
vBWUTsso1k+G40NdpH72SlTxFdIOlg5GX4MVVXzDyt+t2z+PVZFOPhMyp25h7efS
JPEF5Jke
=SZPp
-----END PGP SIGNATURE-----
--jGY9eHsM08PgfVXXPT2f3AZCPJW4IwZj4X--
Beta Was this translation helpful? Give feedback.
All reactions