Skip to content

Conversation

@geek-merlin
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant