@@ -93,31 +93,31 @@ func (mock caaMockDNS) LookupCAA(_ context.Context, domain string) ([]*dns.CAA,
9393 results = append (results , & record )
9494 case "present-dns-only.com" :
9595 record .Tag = "issue"
96- record .Value = "letsencrypt.org; validation-methods =dns-01"
96+ record .Value = "letsencrypt.org; validationmethods =dns-01"
9797 results = append (results , & record )
9898 case "present-http-only.com" :
9999 record .Tag = "issue"
100- record .Value = "letsencrypt.org; validation-methods =http-01"
100+ record .Value = "letsencrypt.org; validationmethods =http-01"
101101 results = append (results , & record )
102102 case "present-http-or-dns.com" :
103103 record .Tag = "issue"
104- record .Value = "letsencrypt.org; validation-methods =http-01,dns-01"
104+ record .Value = "letsencrypt.org; validationmethods =http-01,dns-01"
105105 results = append (results , & record )
106- case "present-correct-account-uri .com" :
106+ case "present-correct-accounturi .com" :
107107 record .Tag = "issue"
108- record .Value = "letsencrypt.org; account-uri =https://letsencrypt.org/acct/reg/123"
108+ record .Value = "letsencrypt.org; accounturi =https://letsencrypt.org/acct/reg/123"
109109 results = append (results , & record )
110- case "present-incorrect-account-uri .com" :
110+ case "present-incorrect-accounturi .com" :
111111 record .Tag = "issue"
112- record .Value = "letsencrypt.org; account-uri =https://letsencrypt.org/acct/reg/321"
112+ record .Value = "letsencrypt.org; accounturi =https://letsencrypt.org/acct/reg/321"
113113 results = append (results , & record )
114- case "present-multiple-account-uri .com" :
114+ case "present-multiple-accounturi .com" :
115115 record .Tag = "issue"
116- record .Value = "letsencrypt.org; account-uri =https://letsencrypt.org/acct/reg/321"
116+ record .Value = "letsencrypt.org; accounturi =https://letsencrypt.org/acct/reg/321"
117117 results = append (results , & record )
118118 secondRecord := record
119119 secondRecord .Tag = "issue"
120- secondRecord .Value = "letsencrypt.org; account-uri =https://letsencrypt.org/acct/reg/123"
120+ secondRecord .Value = "letsencrypt.org; accounturi =https://letsencrypt.org/acct/reg/123"
121121 results = append (results , & secondRecord )
122122 case "unsatisfiable.com" :
123123 record .Tag = "issue"
@@ -286,20 +286,20 @@ func TestCAAChecking(t *testing.T) {
286286 Valid : true ,
287287 },
288288 {
289- Name : "Good (restricts to account-uri , tested with correct account)" ,
290- Domain : "present-correct-account-uri .com" ,
289+ Name : "Good (restricts to accounturi , tested with correct account)" ,
290+ Domain : "present-correct-accounturi .com" ,
291291 Present : true ,
292292 Valid : true ,
293293 },
294294 {
295- Name : "Bad (restricts to account-uri , tested with incorrect account)" ,
296- Domain : "present-incorrect-account-uri .com" ,
295+ Name : "Bad (restricts to accounturi , tested with incorrect account)" ,
296+ Domain : "present-incorrect-accounturi .com" ,
297297 Present : true ,
298298 Valid : false ,
299299 },
300300 {
301- Name : "Good (restricts to multiple account-uri , tested with a correct account)" ,
302- Domain : "present-multiple-account-uri .com" ,
301+ Name : "Good (restricts to multiple accounturi , tested with a correct account)" ,
302+ Domain : "present-multiple-accounturi .com" ,
303303 Present : true ,
304304 Valid : true ,
305305 },
@@ -382,10 +382,10 @@ func TestCAAChecking(t *testing.T) {
382382 test .Assert (t , present , "Present should be true" )
383383 test .Assert (t , valid , "Valid should be true" )
384384
385- // present-incorrect-account-uri .com should now be also be valid
386- ident = core.AcmeIdentifier {Type : "dns" , Value : "present-incorrect-account-uri .com" }
385+ // present-incorrect-accounturi .com should now be also be valid
386+ ident = core.AcmeIdentifier {Type : "dns" , Value : "present-incorrect-accounturi .com" }
387387 present , valid , _ , err = va .checkCAARecords (ctx , ident , params )
388- test .AssertNotError (t , err , "present-incorrect-account-uri .com" )
388+ test .AssertNotError (t , err , "present-incorrect-accounturi .com" )
389389 test .Assert (t , present , "Present should be true" )
390390 test .Assert (t , valid , "Valid should be true" )
391391
0 commit comments