[Top] [All Lists]

Re: Lack of clarity in dash-escaped?

2005-11-30 06:30:16

On Wed, Nov 30, 2005 at 10:40:40AM +0000, Ben Laurie wrote:

"   Also, any trailing whitespace -- spaces (0x20) and tabs (0x09) -- at
    the end of any line is removed when the cleartext signature is

Does this mean they should not be included in the signature, or also
that they should be stripped from the dash-escaped text?

It doesn't matter.

"   The line ending (i.e. the <CR><LF>) before the '-----BEGIN PGP
    SIGNATURE-----' line that terminates the signed text is not
    considered part of the signed text."

Does this mean that one should insert an extra <CR><LF> before the
terminating line? I notice that at least some implementations do not.

Yes, it does. The '-----BEGIN PGP SIGNATURE-----' must begin in a new line.
The line termination before it is not part of the signature. AFAIK, all
implementations treat it that way.