[ietf-dkim] New canonicalizations
vesely at tana.it
Wed May 25 03:39:04 PDT 2011
On 25/May/11 10:03, Hector Santos wrote:
> How would 7/8 bit be considered?
> Personally, the STRIP C14N idea would work just fine by removing all
> trailing WSP (CR, LF, SP) and for QP text, decode it first. I'm
> considering updating my 2006 I-D to include the QP decoding logic.
I propose a much more radical approach, something that will likely
land on the too-loose side. Such kind of approach is justified by the
"most breakage is innocent" theory, and by already having two
canonicalizations on the too-tight side.
For example, consider these criteria for feeding the body hash:
1) For multipart MIME messages, completely remove the preamble, the
epilogue, and all boundaries and entity headers.
2) For MIME encoded parts, get back to the binary content.
3) For text parts, completely remove /any/ whitespace. Additionally,
remove most punctuation, especially from begin and end of lines.
More information about the ietf-dkim