Size: 4949
Comment: typos
|
Size: 5025
Comment: Link to a list of no mime format problems
|
Deletions are marked like this. | Additions are marked like this. |
Line 66: | Line 66: |
* Disadvantages: https://dkg.fifthhorseman.net/notes/inline-pgp-harmful/ |
Signature Handling in Emails
There are three different ways of handling signatures in emails:
1. MIME (prefered way)
PGP/MIME or S/MIME standards.
- Example:
Content-Type: multipart/signed Content-Type: text/plain This is the text. Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQEXYZXYZ -----END PGP SIGNATURE-----
- Advantages:
- attachments are signed as well
- no encoding problem
- easy way to encrypt a signed structure
- all MIME compatible clients show the signed text, even if they cannot understand the signature
- Disadvantages: Some email applications are not MIME compatible, e.g. Outlook in some versions requires the user to explicitely open the body as attachment.
- Conclusion: This is best for the user experience and compatibility. In short: You really want proper MIME handling like with PGP/MIME!
2. "no-mime" (old term: "clearsign")
Some people used to call this "clearsigned", but we believe this to be missleading.
"clear" is something positive, something you would want. But we know that the user experience is much better with the PGP/MIME way of clearsigning the mail body. The chance to see the text correctly with PGP/MIME is much higher and the email is better structured, aka more clearly structured. Therefore we suggest to give the old format a different name: "no-mime signed".
We will certainly use "no-mime" signature as a description of this less wanted method to sign a mail body contents everywhere. No-mime maybe a slightly better solution that just using attachments for email communication, but at least its name is more intuitive.
- Example:
----BEGIN PGP SIGNED MESSAGE----- This is the text. -----BEGIN PGP SIGNATURE----- iQEXYZXYZ -----END PGP SIGNATURE-----
- Disadvantages: https://dkg.fifthhorseman.net/notes/inline-pgp-harmful/
Discussion
NB. “Cleartext Signatures” is a term from the OpenPGP standard and “clearsigned” is a commonly used abbreviation of it. Thus I don't think we shall invent another term for such a precise and well known term. -- Werner Koch 2013-08-26 13:03:04
- Re: Terms that may be "correct" from the technical viewpoint can still be detrimental for the user perspective, because they are counterintuitive do not provide a natural mapping. The technical difficulties of the no-mime format make the clearsign format of PGP/MIME much more desireable. bernhard 2013-09-13 06:42:00
3. "double no-mime"
This is a new format to try out in GpgOL 1.2.0 for Outlook 2010 and 2013. The body text is included twice, so we call it "double no-mime". You can see its structure in the example.
- Example:
This is the Text -----BEGIN PGP MESSAGE----- XYZXYZ <- contains "This is the Text" again, **unencrypted** -----END PGP MESSAGE-----
- Advantage:
- works with PGP and CMS (less enconding problems).
- Possible disadvantage:
- Other clients do not display the contained text, but the surrounding text instead.
We will seek feedback on this and will evaluate if this new format is an improvement or not. And we may remove it again in GpgOL.
Comments
New formats
I believe that solving a problems in Outlook by defining yet another format is the Wrong Thing. Recent mail privacy discussions go along the lines that the mail format (rfc822) will be used for the foreseeable future but the transport protocol (rfc821) will eventually change. Thus the Exchange/Outlook problems will soon turn non-relevant and thus we can stick to PGP/MIME. This is in particular true because GpgOL already has a full fledged PGP/MIME parser. -- Werner Koch 2013-08-26 13:11:10
- Estimations I have seen claim that Outlook is the dominating desktop mail reading application, so it is worth taking some extra steps to make Outlook work somehow and this includes old versions because their takeup time of new versions is very slow. While PGP/MIME support for Outlook is the best solution, it requires more effort than our Gpg4win Initiative was able to bring to the table. I think we have a responsibility to still give users a second best solution if the best solution cannot be implemented in the foreseeable future. And of course try to get help and funding for the MIME solution. The proposed "double no-mime" format solves an important issue for non-mime solutions: Because of its "protected" copy of the contents, there are less encodings and thus signature verifying problems. Of course, it will only be feasable, if enough clients show the signed copy of the contents correctly flagged. -- bernhard 2013-09-13 06:56:42