DKIMValidator icon indicating copy to clipboard operation
DKIMValidator copied to clipboard

Fix canonicalization defaults ('Unknown body canonicalization algorithm: '), fixes #10

Open geek-merlin opened this issue 2 years ago • 1 comments

Canonicalization algorithm "simple" must be interpreted as "simple/simple". According to the RFC:

rfc4871-dkimbase.html#dkim-sig-hdr rfc6376#section-3.5 ..If only one algorithm is named, that algorithm is used for the header and "simple" is used for the body. For example, "c=relaxed" is treated the same as "c=relaxed/simple"...

I had a validaton error with a rapidmail newsletter due to this.

This trivial PR fixes the issue for me.

geek-merlin avatar Dec 24 '22 11:12 geek-merlin

OK, the dev branch seems broken, here's for convenience the patch file for 0.3. fix-canonicalization-defaults-for-phpmailer-dkimvalidator-0-3.patch.txt

geek-merlin avatar Dec 24 '22 13:12 geek-merlin