boulder/test/integration
Aaron Gable cac431c661
WFE: Use RA.GetAuthorization to filter out disabled challenges (#7659)
Have the WFE ask the RA for authorizations, rather than asking the SA
directly. This extra layer of indirection allows us to filter out
challenges which have been disabled, so that clients don't think they
can attempt challenges that we have disabled.

Also shuffle the order of challenges within the authz objects rendered
by the API. We used to have code which does this at authz creation time,
but of course that was completely ineffectual once we stored the
challenges as just a bitmap in the database.

Update the WFE unit tests to mock RA.GetAuthorization instead of
SA.GetAuthorization2. This includes making the mock more accurate, so
that (e.g.) valid authorizations contain valid challenges, and the
challenges have their correct types (e.g. "http-01" instead of just
"http"). Also update the OTel tracing test to account for the new RPC.

Part of https://github.com/letsencrypt/boulder/issues/5913
2024-08-22 13:42:58 -07:00
..
testdata Dynamically generate grpc-creds at integration test startup (#7477) 2024-05-15 11:31:23 -04:00
admin_test.go Create new admin tool (#7276) 2024-02-07 09:35:18 -08:00
akamai_purger_drain_queue_test.go Dynamically generate grpc-creds at integration test startup (#7477) 2024-05-15 11:31:23 -04:00
ari_test.go test: Update eggsampler/acme to support draft-ietf-acme-ari-03 (#7470) 2024-05-08 11:01:27 -04:00
authz_test.go Stop using DIRECTORY env var in integration tests (#6854) 2023-05-03 09:54:48 -04:00
bad_key_test.go test: Remove loop variable rebinding (#7587) 2024-07-12 10:43:25 -04:00
cert_storage_failed_test.go Replace explicit int loops with range-over-int (#7434) 2024-04-22 10:34:51 -07:00
common_mock.go ctpolicy: Remove deprecated codepath and fix metrics (#6485) 2022-11-07 11:31:20 -08:00
common_test.go test: Update eggsampler/acme to support draft-ietf-acme-ari-03 (#7470) 2024-05-08 11:01:27 -04:00
crl_test.go Update integration test hierarchy for the modern era (#7411) 2024-04-08 14:06:00 -07:00
errors_test.go wfe: check well-formedness of requested names early (#7530) 2024-06-10 13:46:55 -07:00
issuance_test.go Feature cleanup (#7320) 2024-02-13 17:42:27 -08:00
key_rollover_test.go Add integration test for account key change (#7208) 2023-12-13 13:54:38 -08:00
nonce_test.go test: Fix naming of integration test config structs (#7020) 2023-08-01 16:24:42 -07:00
ocsp_test.go Stop using DIRECTORY env var in integration tests (#6854) 2023-05-03 09:54:48 -04:00
otel_test.go WFE: Use RA.GetAuthorization to filter out disabled challenges (#7659) 2024-08-22 13:42:58 -07:00
pausing_test.go SFE: Call RA.UnpauseAccount and handle result (#7638) 2024-07-31 14:46:46 -04:00
ratelimit_test.go ratelimits: Add a feature-flag which makes key-value implementation authoritative (#7666) 2024-08-22 15:56:30 -04:00
revocation_test.go Replace explicit int loops with range-over-int (#7434) 2024-04-22 10:34:51 -07:00
srv_resolver_test.go test: Fix naming of integration test config structs (#7020) 2023-08-01 16:24:42 -07:00
subordinate_ca_chains_test.go Implement unpredictable issuance from similar intermediates (#7418) 2024-04-18 10:00:38 -07:00
wfe_test.go test: Replace sd-test-srv with consul (#6389) 2022-09-19 16:13:53 -07:00