On 2010-10-26 12:41, Carlos E. R. wrote:
> On 2010-10-25 18:36, DenverD wrote:
>> VampirD wrote:
>>> mmm… so do you know any way to correct this without disable gpg?
>>
>> my guess is there is a bug in one of these:
>
> I don’t think it is a bug, it is a known thing. For a reason I have forgotten, when a mail is pgp
> signed the normal signature separator has to get that extra dash space. For software that does not
> do pgp checking, it means that the signature separator is not recognized.
I found the reference.
I found the reference to this, by Patrick 3 years ago (opensuse mail list), who got it from the
mutt mail list:
<http://lists.opensuse.org/opensuse/2007-06/msg00841.html>
+++···········
> > > Why is the <dash><dash><space> signature indicator not display
> > > properly in inline gpg signed posts, ie:
> > > <dash><space><dash><dash><space>.
> >
> > This is so that no software deletes the mail’s signature including the
> > gpg signature even by accident. I don’t know if it’s the official
> > reason but at least it makes sense…
>
> It’s required by RFC2440 (the OpenPGP standard). See section 7.1
> therein.
············+±
And here it is an official reference:
<http://www.ietf.org/rfc/rfc2440.txt>
+++···········
RFC 2440 OpenPGP Message Format November 1998
7.1. Dash-Escaped Text
The cleartext content of the message must also be dash-escaped.
Dash escaped cleartext is the ordinary cleartext where every line
starting with a dash ‘-’ (0x2D) is prefixed by the sequence dash ‘-’
(0x2D) and space ’ ’ (0x20). This prevents the parser from
recognizing armor headers of the cleartext itself. The message digest
is computed using the cleartext itself, not the dash escaped form.
As with binary signatures on text documents, a cleartext signature is
calculated on the text using canonical <CR><LF> line endings. 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.
Also, any trailing whitespace (spaces, and tabs, 0x09) at the end of
any line is ignored when the cleartext signature is calculated.
············+±
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)