dkim-dev
[Top] [All Lists]

Re: [dkim-dev] Do you have an interoperable DKIM of the recent spec?

2006-12-18 09:51:15
> By the way, how do you canonicalize a null body?  Do you calculate the
> hash of a null string, or do you canonicalize a null body to <CR><LF>
> and calculate the hash of that?

Sorry for the delay. We do the latter. For both simple and relaxed a null body canonicalizes to <CR><LF>.

The spec makes this clear for simple:

"If there is no trailing CRLF on the message, a CRLF is added"

but it doesn't specifically say that for relaxed.

--
Arvel Hathcock
CEO, Alt-N Technologies
http://www.altn.com




_______________________________________________
dkim-dev mailing list
dkim-dev(_at_)mipassoc(_dot_)org
http://mipassoc.org/mailman/listinfo/dkim-dev