boulder/va
Aaron Gable 5e1bc3b501
Simplify the features package (#7204)
Replace the current three-piece setup (enum of feature variables, map of
feature vars to default values, and autogenerated bidirectional maps of
feature variables to and from strings) with a much simpler one-piece
setup: a single struct with one boolean-typed field per feature. This
preserves the overall structure of the package -- a single global
feature set protected by a mutex, and Set, Reset, and Enabled methods --
although the exact function signatures have all changed somewhat.

The executable config format remains the same, so no deployment changes
are necessary. This change does deprecate the AllowUnrecognizedFeatures
feature, as we cannot tell the json config parser to ignore unknown
field names, but that flag is set to False in all of our deployment
environments already.

Fixes https://github.com/letsencrypt/boulder/issues/6802
Fixes https://github.com/letsencrypt/boulder/issues/5229
2023-12-12 15:51:57 -05:00
..
proto Update boulder-tools dependencies (#6129) 2022-05-20 14:24:01 -07:00
caa.go Deprecate CAA AccountURI and ValidationMethods feature flags (#7000) 2023-07-14 14:54:39 -04:00
caa_test.go CAA: Treat NXDOMAIN for a TLD as an error (#7104) 2023-10-02 10:04:39 -07:00
dns.go va: filter invalid UTF-8 from ProblemDetails (#6506) 2022-11-21 11:05:21 -08:00
dns_test.go Implement DoH for validation queries (#7178) 2023-12-11 10:49:00 -08:00
http.go va: make http keyAuthz mismatch problem wording less ambiguous (#6903) 2023-05-18 12:04:14 -04:00
http_test.go Add must.Do utility function (#6955) 2023-06-26 14:43:30 -07:00
tlsalpn.go Remove the TLS-ALPN-01 tlsDial helper (#6954) 2023-06-26 10:56:52 -07:00
tlsalpn_test.go Begin testing on go1.21rc2 with loopvar experiment (#6952) 2023-06-26 16:35:29 -07:00
utf8filter.go va: filter invalid UTF-8 from ProblemDetails (#6506) 2022-11-21 11:05:21 -08:00
utf8filter_test.go va: filter invalid UTF-8 from ProblemDetails (#6506) 2022-11-21 11:05:21 -08:00
va.go Simplify the features package (#7204) 2023-12-12 15:51:57 -05:00
va_test.go Simplify the features package (#7204) 2023-12-12 15:51:57 -05:00