mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 12:24:38 +03:00
dkim selectors shouldn't be interpreted as idna
given they are not part of the domain name (to which idna applies). only the part after _domainkey may be idna. found after going through code after report about mx targets with underscores from richard g.
This commit is contained in:
@ -91,7 +91,7 @@ func TestSig(t *testing.T) {
|
||||
BodyHash: xbase64("LjkN2rUhrS3zKXfH2vNgUzz5ERRJkgP9CURXBX0JP0Q="),
|
||||
Domain: xdomain("xn--mx-lka.example"), // møx.example
|
||||
SignedHeaders: []string{"from"},
|
||||
Selector: xdomain("xn--tst-bma"), // tést
|
||||
Selector: dns.Domain{ASCII: "xn--tst-bma"},
|
||||
Identity: &Identity{&ulp, xdomain("xn--tst-bma.xn--mx-lka.example")}, // tést.møx.example
|
||||
Canonicalization: "simple/simple",
|
||||
Length: -1,
|
||||
|
Reference in New Issue
Block a user