ietf-openpgp
[Top] [All Lists]

Re: Dash-escaping clarification

2003-03-10 06:39:19

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Mar 10, 2003 at 11:51:43AM +0100, Dominikus Scherkl wrote:

I don't see how there would be a problem in reversing the
transformation.

- bullet point
becomes
- - bullet point
and reverses back to
- bullet point

random text
becomes
- random text
and reverses back to
random text

MAY means: arbitrary lines may get a dash-escape, others do not.
so how do you manage to recognise which leading "- " were there
before encoding and which were not, without looking at the
following text?

This is not correct.  The MAY is for additional lines, after the
regular "-" encoding is done.

To be clear, the current rule is:
   1) Escape any lines beginning with '-'.

There is also an undocumented rule #2:
   2) Escape any lines beginning with "From".

The proposed change is:

   1) Escape any lines beginning with "-".
   2) Escape any other lines you want.

The only change is in #2.

David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2rc1 (GNU/Linux)
Comment: http://www.jabberwocky.com/david/keys.asc

iD8DBQE+bJWB4mZch0nhy8kRAl9+AJ0cEP34/pZ2QWCajDSbhG6POkr+SQCbBYUZ
Tg1yXxrU+maC7/iFBYnRfZQ=
=zwo5
-----END PGP SIGNATURE-----

<Prev in Thread] Current Thread [Next in Thread>