1 6376:656 6376:658 ../dkim/sig.go:224 ../dkim/sig.go:225 ../dkim/sig.go:310 ../dkim/txt.go:157 ../dkim/txt.go:158
2RFC 6376, "DomainKeys Identified Mail (DKIM) Signatures", September 2011
3Source of RFC: dkim (art)
4See Also: RFC 6376 w/ inline errata
5
6Errata ID: 5070
7Status: Verified
8Type: Technical
9Publication Format(s) : TEXT
10Reported By: Chris Newman
11Date Reported: 2017-07-15
12Verifier Name: Barry Leiba
13Date Verified: 2019-04-30
14
15Section 3.2 says:
16
17 tag-spec = [FWS] tag-name [FWS] "=" [FWS] tag-value [FWS]
18 tag-name = ALPHA *ALNUMPUNC
19 tag-value = [ tval *( 1*(WSP / FWS) tval ) ]
20 ; Prohibits WSP and FWS at beginning and end
21
22It should say:
23 tag-spec = [FWS] tag-name [FWS] "=" [FWS] [tag-value [FWS]]
24 tag-name = ALPHA *ALNUMPUNC
25 tag-value = tval *( 1*(WSP / FWS) tval )
26 ; Prohibits WSP and FWS at beginning and end
27
28Notes:
29
30The ABNF in the document permits two FWS rules to appear in the row. This results in permitting a line with only whitespace in the header which falls into obsolete syntax in RFC 5322 (Appendix B rule 12). The corrected text disallows this by eliding the second FWS when the tag-value is empty/omitted.
31
32