Skip to content

Conversation

@Lukasa
Copy link
Contributor

@Lukasa Lukasa commented Jul 9, 2025

Motivation:

The trust roots settings have sometimes got non-obvious impacts on which validator is used. These are a legacy behaviour and so changing them is likely to cause services to encounter challenging bugs, so it's probably not worth fixing this behaviour without doing a deprecate-and-replace cycle.

A deprecate-and-replace of TLSConfiguration is going to be necessary in the near-term because it is a suboptimal structure that is carrying a lot of load. For now, however, let's just make it possible for users to diagnose what is going on.

Modifications:

  • Document the existing behaviour

Result:

Users have a chance of figuring out what is going on.

Motivation:

The trust roots settings have sometimes got non-obvious impacts
on which validator is used. These are a legacy behaviour and so
changing them is likely to cause services to encounter
challenging bugs, so it's probably not worth fixing this behaviour
without doing a deprecate-and-replace cycle.

A deprecate-and-replace of TLSConfiguration is going to be
necessary in the near-term because it is a suboptimal structure that
is carrying a lot of load. For now, however, let's just make it
possible for users to diagnose what is going on.

Modifications:

- Document the existing behaviour

Result:

Users have a chance of figuring out what is going on.
@glbrntt glbrntt merged commit dacd828 into apple:main Jul 9, 2025
79 of 80 checks passed
@Lukasa Lukasa deleted the cb-document-additional-trust-roots-better branch July 9, 2025 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver/none No version bump required.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants