ietf-dkim
[Top] [All Lists]

Re: [Fwd: Re: [ietf-dkim] canonicalized null body and dkim]

2006-12-21 04:39:29
On Thu, 21 Dec 2006 04:50:07 -0000, Tony Hansen <tony(_at_)att(_dot_)com> wrote:


Point 7:
        Another way of expressing this algorithm that people may find
        easier to understand is:

        "If the last line of the message does not end with CRLF, CRLF is
        added. Then, CRLF 0*CRLF is reduced to a single CRLF."

Well that would be better expressed as "1*CRLF is reduced to a single CRLF", but you should be saying "If the last line of the body" rather than "If the last line of the message", because

------------------
Last-Header: foobarCRLF
CRLF
------------------

is a message with an empty body (read RFC 2822).

Or put it another way; the last line of what you hash MUST NEVER be empty (i.e. must never consist of CRLF with no preceding real text).

That was why I included my INFORMATIVE NOTE, just to remove any possible misinteroretations (and we have just seen how easily people misinterpret things :-( ).

--
Charles H. Lindsey ---------At Home, doing my own thing------------------------
Tel: +44 161 436 6131     Web: http://www.cs.man.ac.uk/~chl
Email: chl(_at_)clerew(_dot_)man(_dot_)ac(_dot_)uk      Snail: 5 Clerewood Ave, CHEADLE, SK8 3JU, U.K.
PGP: 2C15F1A9      Fingerprint: 73 6D C2 51 93 A0 01 E7 65 E8 64 7E 14 A4 AB A5
_______________________________________________
NOTE WELL: This list operates according to http://mipassoc.org/dkim/ietf-list-rules.html

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