- Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
Line 229 in e1cd1a0
| headers, body, err := canonicalize(email, dkimHeader.MessageCanonicalization, dkimHeader.Headers) |
That executes
Line 353 in e1cd1a0
| } else { |
relaxed canonicalization is always executed. The protocol specifies that simple/simple is the default. That is not valid per RFC 6376 because the DKIM header does not need to contain the c= tag and simple/simple is the default.
c= Message canonicalization (plain-text; OPTIONAL, default is "simple/simple"). This tag informs the Verifier of the type of canonicalization used to prepare the message for signing. It consists of two names separated by a "slash" (%d47) character, corresponding to the header and body canonicalization algorithms, respectively. These algorithms are described in [Section 3.4](https://www.rfc-editor.org/rfc/rfc6376#section-3.4). 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". Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels