dash escaping

Werner Koch wk@gnupg.org
Wed, 2 Aug 2000 09:50:52 +0200

On Tue, 1 Aug 2000, Sam Roberts wrote:

> If it's email that has this "---------------" string, why not quoted-printable
> encode that string so it looks like "=2D---------------"? qp encoding should
There is no problem with dashed lines and OpenPGP. An openGPG clearsigned document is simply dash-escaped and while processing this message (to verify it and remove the armors) an OpenPGP implementation simply reverst the dash escaping. However, using those clearsigned messages is depreciated in favor of RFC2015 (MIME, PGPG).
> be done anyhow, since the internet mail system is notorious for mangling white
> space, changeing "From " to "From" at the beginnings of a line, etc.
You may want to use --escape-from-lines together with cleartext signatures. This is not OpenPGP conform but most implementations do it anyway.
> I don't know if this is helpful, but using qp encoding will allow the far-end
> to decode it back, whereas I'm not so sure the "- ---" armoring of a dash
Use RFC2015. Werner -- Werner Koch GnuPG key: 621CC013 OpenIT GmbH http://www.OpenIT.de -- Archive is at http://lists.gnupg.org - Unsubscribe by sending mail with a subject of "unsubscribe" to gnupg-users-request@gnupg.org