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

okhttp: Per-rpc call option authority verification #11754

Merged
merged 48 commits into from
Apr 2, 2025

Conversation

kannanjgithub
Copy link
Contributor

No description provided.

Copy link
Member

@ejona86 ejona86 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still need to look at the core of it, but the shape looks right. These comments are mostly surface-level.

@kannanjgithub
Copy link
Contributor Author

Yet to make the changes to use X509ExtendedTrustManager only via reflection if it is available in the class loader.

@kannanjgithub
Copy link
Contributor Author

kannanjgithub commented Jan 13, 2025

Yet to make the changes to use X509ExtendedTrustManager only via reflection if it is available in the class loader.

Done.

# Conflicts:
#	core/src/main/java/io/grpc/internal/CertificateUtils.java
#	okhttp/src/main/java/io/grpc/okhttp/OkHttpChannelBuilder.java
@kannanjgithub kannanjgithub requested a review from ejona86 March 11, 2025 04:07
ejona86 added 5 commits March 28, 2025 13:50
Also make sure that the failure is only the RPC-failure not a connection
failure.
The checkServerTrustedCalled wasn't actually testing what it tried to;
it would become true simply because of the TLS handshake. That led to
searching for a proper way to test it and renaming the tests so it was
clearer what was and wasn't tested which led to further test tweaks.
@kannanjgithub kannanjgithub requested a review from ejona86 April 1, 2025 18:10
@ejona86 ejona86 changed the title ok-http: Per-rpc call option authority verification okhttp: Per-rpc call option authority verification Apr 1, 2025
@kannanjgithub kannanjgithub merged commit c28a7e3 into grpc:master Apr 2, 2025
15 of 16 checks passed
Sangamesh1997 pushed a commit to Sangamesh1997/grpc-java that referenced this pull request Apr 3, 2025
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