Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DKIM-Signature domain mismatch validation #169

Closed
breedbekkikker opened this issue Aug 24, 2015 · 0 comments
Closed

DKIM-Signature domain mismatch validation #169

breedbekkikker opened this issue Aug 24, 2015 · 0 comments
Labels
bug Something isn't working

Comments

@breedbekkikker
Copy link

The following DKIM-Signature validation is missing (probably in ValidateDkimSignatureParameters):

Verifiers MUST confirm that the domain specified in the "d=" tag is the same as or a parent domain of the domain part of the "i=" tag. If not, the DKIM-Signature header field MUST be ignored, and the Verifier should return PERMFAIL (domain mismatch).

Concerning the optional i= tag: If the DKIM-Signature header field does not contain the "i=" tag, the Verifier MUST behave as though the value of that tag were "@d", where "d" is the value from the "d=" tag.

See https://tools.ietf.org/html/rfc6376#section-6.1.1

jstedfast added a commit that referenced this issue Aug 27, 2015
@jstedfast jstedfast added the bug Something isn't working label Aug 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants