Commit Graph

67 Commits

Author SHA1 Message Date
Tom Clegg e09f9eebf1 Merge remote-tracking branch 'upstream/master' into 414-va-log-redirects
Conflicts:
	va/validation-authority_test.go
2015-07-21 21:32:50 -04:00
Richard Barnes d8a12d8073 Addressing @bifurcation comments 2015-07-21 16:42:23 +02:00
Tom Clegg 7b3378fcc1 Change "redirecting" log level from Notice to Info. 2015-07-18 22:17:45 -04:00
Tom Clegg d94860b6cb Log redirects encountered during HTTP validation. Fixes #414 2015-07-16 22:26:11 -04:00
Roland Shoemaker 3aa6befb0b Review fixes 2015-07-08 20:57:58 +01:00
Roland Shoemaker e3780d3234 Move CNAME call to getCAA 2015-07-08 20:57:58 +01:00
Roland Shoemaker 34bd2a2915 Review fixes 2015-07-08 20:56:59 +01:00
Roland Shoemaker cb1ddfaf78 Add parseDNSError method and use it to provide better problem detail, also add test workaround for timeouts until #401 is fixed 2015-07-08 20:52:40 +01:00
Roland Shoemaker dfed747a99 Put LookupHost back, and re-add checks to validateSimpleHTTP and validateDvsni 2015-07-08 20:48:42 +01:00
Roland Shoemaker f6248ef279 Flesh out DNS mock methods, and move them to their own sub-module instead of under test/ to avoid import loop, Add Loopback DNS resolver for core/dns_test.go 2015-07-07 22:31:44 +01:00
Jakub Warmuz 69a0781139
Allow TLS simpleHttp in test mode. 2015-06-28 06:48:40 +00:00
Richard Barnes 04770218ac Remove DNSSEC from simpleHttp and dvsni 2015-06-23 23:33:48 -07:00
Richard Barnes 9a0d4aef0a Fix build problem 2015-06-23 12:02:37 -07:00
Richard Barnes 718920afa3 Enable the VA to send a user-agent header field. 2015-06-23 11:15:51 -07:00
J.C. Jones 4715b4895a Fix #386: `go vet` on VA. 2015-06-22 05:55:57 -07:00
J.C. Jones 2d92fd92d6 Rework per @rolandshoemaker 2015-06-20 13:27:29 -07:00
J.C. Jones ddb4249f18 Fixes #383 - Fix error leg in DNS validation 2015-06-20 10:51:52 -07:00
J.C. Jones d712bcc8a8 Fixes #382: Log more consistently 2015-06-20 10:48:14 -07:00
Roland Shoemaker 1b65434256 Merge master 2015-06-19 20:16:16 +01:00
Roland Shoemaker cd10bd4726 Add DNSSEC check for A/AAAA records to validateSimpleHTTP and validateDvsni 2015-06-19 20:03:27 +01:00
Roland Shoemaker 5979abb244 Remove unused CAA type definition 2015-06-19 19:20:26 +01:00
Roland Shoemaker 948cca7172 Consolidate CAA functions into va/validation-authority.go and core/dns.go 2015-06-19 19:06:50 +01:00
Roland Shoemaker d462d0af43 Purge CAA parsing code, update miekg/dns dep 2015-06-19 18:53:00 +01:00
Brad Warren 99d0fd7dc8 Removed straggling debugging code 2015-06-18 16:01:15 -07:00
Brad Warren 93ff18b365 Finished addinig validation errors 2015-06-18 14:10:24 -07:00
Brad Warren f19cad3a04 Additional cleanup of error handling 2015-06-18 10:08:59 -07:00
Brad Warren 6fac234036 Updated error messages and internal error handling 2015-06-17 10:56:46 -07:00
J.C. Jones 41f5788c77 Correct most `go lint` warnings. (274 -> 5) 2015-06-16 22:18:28 -05:00
J.C. Jones b24f6b23fe Moved to `miekg/dns` for the VA.
- Created some helper methods to run DNSSEC and reduce code reuse
- Support multiple DNS servers, but not in the Config file (yet)
- Fix typo; r=@rolandshoemaker
2015-06-16 19:37:15 -05:00
J.C. Jones cc97492a54 Issue #11: Basic DNS Challenge support 2015-06-16 09:03:03 -05:00
Brad Warren 3ca3d9b283 Finished adding basic errors 2015-06-15 19:30:11 -07:00
Roland Shoemaker f4ee29d1d3 Change all references from SimpleHTTPS -> SimpleHTTP 2015-06-12 11:22:04 -07:00
Roland Shoemaker ef3adda09b Switch TLS to pointer 2015-06-11 22:08:38 -07:00
Roland Shoemaker c301125e93 Add TLS field to core.Challenge per spec 2015-06-11 17:12:50 -07:00
Roland Shoemaker e3eb074dd3 Review fixes 2015-06-10 14:16:06 -07:00
Roland Shoemaker 0265b6f5d0 Merge upstream/master and fix conflicts 2015-06-10 12:43:11 -07:00
Roland Shoemaker d145a3dc5a Add timeout to validateDvsni method 2015-06-05 14:09:28 +01:00
Richard Barnes 9917ca17f6 Clean up TODOs 2015-06-01 02:05:17 -04:00
Roland Shoemaker 81c7466e97 add rpc-wrapper and interface code 2015-05-28 09:58:16 +01:00
Roland Shoemaker 0ef15b0b81 cleanup & tests 2015-05-28 09:25:04 +01:00
Roland Shoemaker 5627f4e69f add the various caa dns utilities 2015-05-27 19:51:51 +01:00
Roland Shoemaker e1eeebce52 Only run validations against updated challenges (instead of everything) 2015-05-26 17:08:49 +01:00
J.C. Jones cecd097f68 Improve unit testing to resolve Issue #217
- Support multiple HTTPserver instances in `validation-authority_test.go`
- Improve coverage of ValidateDvsni and ValidateHttps
- Cover UpdateValidations
2015-05-21 13:59:30 -07:00
J.C. Jones 1c9837ddf8 Audit all Challenges (success/failure) in VA for Issue #204
- Don't ignore entropy underruns in challenges.go
- Correct identity crisis in Policy Authority; hopefully it will remember.
- Add a method `AuditObject` in audit-logger and convert RA/VA to use it
- Fix json typo in registration-authority that caused empty audit logs
- Fix vet issue in WFE where RegID was being printed as a 32-bit int instead of 64-bit
- Unfix the issue in WFE where RegID isn't right, per PR #215
2015-05-21 13:58:40 -07:00
J.C. Jones 42302541bd Run `go fmt` for PR #186 2015-05-18 18:44:38 -07:00
Jacob Hoffman-Andrews 8acae627eb Fix sanity checking for challenges.
Also add more debug logging.
2015-05-08 15:32:11 -07:00
jsha 14fde00182 Merge pull request #162 from rolandshoemaker/enrobe
Reduce use of naked returns
2015-05-08 08:59:52 -07:00
Roland Shoemaker ee47c84838 enrobe longer functions + various return semantics cleanups 2015-05-07 18:15:41 -07:00
Roland Shoemaker 07310b5fa1 hook sanity check into VA and RA 2015-05-06 15:19:21 -07:00
Roland Shoemaker 3fddff8dcf further tests for VA, consistent sendError for verifyPOST in WFE 2015-05-05 15:31:53 -07:00