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

Hector Santos hsantos at santronics.com
Thu Dec 21 09:55:41 PST 2006


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



More information about the ietf-dkim mailing list