boulder/va
Jacob Hoffman-Andrews cf9df961ba
Add feature flags for upcoming deprecations (#6043)
This adds three features flags: SHA1CSRs, OldTLSOutbound, and
OldTLSInbound. Each controls the behavior of an upcoming deprecation
(except OldTLSInbound, which isn't yet scheduled for a deprecation
but will be soon). Note that these feature flags take advantage of
`features`' default values, so they can default to "true" (that is, each
of these features is enabled by default), and we set them to "false"
in the config JSON to turn them off when the time comes.

The unittest for OldTLSOutbound requires that `example.com` resolves
to 127.0.0.1. This is because there's logic in the VA that checks
that redirected-to hosts end in an IANA TLD. The unittest relies on
redirecting, and we can't use e.g. `localhost` in it because of that
TLD check, so we use example.com.

Fixes #6036 and #6037
2022-04-15 12:14:00 -07:00
..
proto Unify protobuf generation (#5458) 2021-06-07 08:49:15 -07:00
caa.go Return full CAA RR response from bdns to va (#5181) 2020-12-10 18:17:04 -08:00
caa_test.go Improve error checking paradigm (#5920) 2022-02-01 14:42:43 -07:00
dns.go Improve readability of A and AAAA lookup errors (#5843) 2022-01-03 10:39:25 -08:00
dns_test.go BDNS: Ensure DNS server addresses are dialable (#5520) 2021-07-20 10:11:11 -07:00
http.go Add feature flags for upcoming deprecations (#6043) 2022-04-15 12:14:00 -07:00
http_test.go Add feature flags for upcoming deprecations (#6043) 2022-04-15 12:14:00 -07:00
tlsalpn.go VA: Add IP address to detailed errors (#6039) 2022-04-13 12:55:35 -07:00
tlsalpn_test.go VA: Add IP address to detailed errors (#6039) 2022-04-13 12:55:35 -07:00
utf8filter.go Filter invalid UTF-8 from error responses. (#3845) 2018-09-17 14:35:46 -04:00
utf8filter_test.go Filter invalid UTF-8 from error responses. (#3845) 2018-09-17 14:35:46 -04:00
va.go VA: Add IP address to detailed errors (#6039) 2022-04-13 12:55:35 -07:00
va_test.go VA: Add IP address to detailed errors (#6039) 2022-04-13 12:55:35 -07:00