Signature Handling in Emails

There are different formats how to sign the contents of an email:

1. MIME (prefered way)

PGP/MIME or S/MIME standards.

      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-----

2. "no-mime" (old term: "clearsign")

Some people used to call this "clearsigned" or "inline", but we believe this to be missleading.

"clear" is something positive, something you would want. Similiar to "inline". 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 suggest to 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 compared to just using attachments for email communication and the name would point more to the even better solution.

      ----BEGIN PGP SIGNED MESSAGE-----
      This is the text.
      -----BEGIN PGP SIGNATURE-----
      iQEXYZXYZ
      -----END PGP SIGNATURE-----

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

Unused idea from 2013: "double no-mime"

This is a new format idea which we considered for try out in GpgOL 1.2.x 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.

      This is the Text
      -----BEGIN PGP MESSAGE-----
      XYZXYZ                        <- contains "This is the Text" again, **unencrypted** but encoded
      -----END PGP MESSAGE-----

It was not tried in GpgOL and with Gpg4all2015 it is likely that full MIME support can be added to Outlook versions (>=2010).

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

SignatureHandling (last edited 2016-01-11 14:11:09 by bernhard)