Skip to content

test: convert more tests to use the new X509 acquisition process#1993

Merged
istankovic merged 9 commits intomainfrom
x509-part-8
Mar 31, 2026
Merged

test: convert more tests to use the new X509 acquisition process#1993
istankovic merged 9 commits intomainfrom
x509-part-8

Conversation

@istankovic
Copy link
Copy Markdown
Member

This only leaves should_fail_when_certificate_path_doesnt_contain_trust_anchor, which requires changes to PkiEnviroment (we need to be able to configure trust anchors).

@istankovic istankovic requested a review from a team March 30, 2026 14:27
…types

Here we're removing the check for matching public key bytes because
it only worked for P256, and we want it to work for all key types and,
importantly, to be an integral part of the acquisition process such
that it is not possible to obtain a certificate if the public key bytes
do not match.
We don't actually need it and we're going to revisit the flow
documentation anyway, probably moving it to the CoreCrypto book.
One day we will spawn only one step-ca instance, but that day has not
come yet.
Otherwise we run into race conditions with parallel tests and a single
test-wire-server process.
@istankovic istankovic merged commit e2840eb into main Mar 31, 2026
55 checks passed
@istankovic istankovic deleted the x509-part-8 branch March 31, 2026 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants