boulder/core
Aaron Gable 09693f03dc
Deprecate Challenge.ProvidedKeyAuthorization (#7515)
The core.Challenge.ProvidedKeyAuthorization field is problematic, both
because it is poorly named (which is admittedly easily fixable) and
because it is a field which we never expose to the client yet it is held
on a core type. Deprecate this field, and replace it with a new
vapb.PerformValidationRequest.ExpectedKeyAuthorization field.

Within the VA, this also simplifies the primary logic methods to just
take the expected key authorization, rather than taking a whole (largely
unnecessary) challenge object. This has large but wholly mechanical
knock-on effects on the unit tests.

While we're here, improve the documentation on core.Challenge itself,
and remove Challenge.URI, which was deprecated long ago and is wholly
unused.

Part of https://github.com/letsencrypt/boulder/issues/7514
2024-06-04 14:48:36 -07:00
..
proto Deprecate Challenge.ProvidedKeyAuthorization (#7515) 2024-06-04 14:48:36 -07:00
challenges.go Correct Comments on Challenge Construction in `core/challenges.go` (#7242) 2024-01-08 14:55:33 -08:00
challenges_test.go Make authz2 the default storage format (#4476) 2019-10-21 15:29:15 -04:00
core_test.go Deprecate Challenge.ProvidedKeyAuthorization (#7515) 2024-06-04 14:48:36 -07:00
interfaces.go PA: Improve wildcard exact blocklist implementation (#7218) 2023-12-19 14:22:18 -05:00
objects.go Deprecate Challenge.ProvidedKeyAuthorization (#7515) 2024-06-04 14:48:36 -07:00
objects_test.go Deprecate Challenge.ProvidedKeyAuthorization (#7515) 2024-06-04 14:48:36 -07:00
util.go Deprecate Challenge.ProvidedKeyAuthorization (#7515) 2024-06-04 14:48:36 -07:00
util_test.go Deprecate Challenge.ProvidedKeyAuthorization (#7515) 2024-06-04 14:48:36 -07:00