boulder/web
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
..
context.go wfe: Log TLS version (#6001) 2022-03-21 14:01:52 -07:00
context_test.go Deprecate StripDefaultSchemePort flag (#5265) 2021-02-08 11:30:52 -08:00
docs.go Factor out context.go from wfe and wfe2. (#3086) 2017-09-26 13:54:14 -04:00
jwk.go Support admin. blocking public keys. (#4419) 2019-09-06 16:54:26 -04:00
probs.go Use new RA methods from WFE revocation path (#5983) 2022-03-28 14:14:11 -07:00
probs_test.go web: support converting suberrors to subproblems. (#4233) 2019-05-28 14:09:02 -04:00
relative.go Remove BaseURL from WFE config. (#3540) 2018-03-09 11:04:02 +00:00
send_error.go Add feature flags for upcoming deprecations (#6043) 2022-04-15 12:14:00 -07:00
send_error_test.go gofmt code with -s (simplify) flag (#4763) 2020-04-08 17:25:35 -07:00