ietf-dkim
[Top] [All Lists]

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

2006-12-21 11:00:54
Tony Hansen wrote:
I left off a sentence in Point 7.

Tony Hansen 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."

        "If the body only consists of a CRLF after this reduction, that
        too is removed."


Tony,

For SIGNING......

Does this imply that SIMPLE c14n SHOULD NOT be done when there exist only 2 bytes <CRLF> in the body?

For VERIFYING......

When it comes to verification, the l= tag will determine what text was canonilized.

if l=2,  that means two <CRLF> were hashed.

if l= missing, that means at minimum two <CRLF> were hashed.

If l=0, no hashing was done.

It sounds to me, that technically, the bottom line the SIMPLE c14n feed
must end with <CRLF>, period.  If missing, it is added to the feed.

--
HLS

_______________________________________________
NOTE WELL: This list operates according to http://mipassoc.org/dkim/ietf-list-rules.html

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