Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve interoperability with Conscrypt #2624

Merged
merged 3 commits into from
May 18, 2023
Merged

Conversation

carterkozak
Copy link
Contributor

@carterkozak carterkozak commented May 17, 2023

The updated tests fail without the compatability changes to SslSocketFactories. See google/conscrypt#1033 for context.

==COMMIT_MSG==
Improve interoperability with Conscrypt
==COMMIT_MSG==

Q: Why don't we overload the methods which take a trustmanager to also take a provider?
A: That would fix this specific issue, however there's no guarantee that all Providers (even Conscrypt in some configurations) do in fact provide a TrustManager implementation. We would have to try the given provider, then fall back, which may or may not be what is expected. This approach should be more generally compatible because some public methods take an existing array of TrustManagers.

There is some risk that Conscrypt is used with Conscrypt trustmanagers, but those are already wrapped in a way that we don't understand. It's unlikely, but worth noting.

@changelog-app
Copy link

changelog-app bot commented May 17, 2023

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

Improve TLSv1.3 interoperability with Conscrypt

Check the box to generate changelog(s)

  • Generate changelog entry

@carterkozak carterkozak marked this pull request as ready for review May 17, 2023 19:34
@carterkozak carterkozak requested review from bjlaub and fmance May 17, 2023 20:05
@bulldozer-bot bulldozer-bot bot merged commit e9ee89a into develop May 18, 2023
@bulldozer-bot bulldozer-bot bot deleted the ckozak/test_conscrypt branch May 18, 2023 15:30
@svc-autorelease
Copy link
Collaborator

Released 7.57.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants