Repository navigation
test(transport): Make the eMudhra transport tests independent of the JDK's CA blocklist - #6813
Merged
Merged
Conversation
… CAs Runner image ubuntu26/20261122.9 ships Temurin 21.0.13+2, which rejects the eMudhra intermediate during the handshake with SSLHandshakeException before DistrustedCertificates runs. Expect SSLException, which covers both, and keep asserting that no request reaches the server. Co-Authored-By: Roman Zavarnitsyn <[email protected]>
Contributor
PR risk: lowFor commit This label is a hint for reviewers, not an approval. |
📲 Install BuildsAndroid
|
romtsn
marked this pull request as ready for review
November 30, 2026 11:28
romtsn
requested review from
0xadam-brown and
runningcode
and removed request for
a team
November 30, 2026 11:28
runningcode
approved these changes
Nov 30, 2026
runningcode
approved these changes
Nov 30, 2026
runningcode
left a comment
Contributor
There was a problem hiding this comment.
Approving it but maybe we should rethink the value of those tests
…eject it With the JDK's own chain validation in the way, the transport tests also passed without our check on JDKs that block the eMudhra CAs themselves.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📜 Description
In
DistrustedCertificatesTest, the three tests that connect to a server with a distrusted eMudhra CA now use a client trust manager that accepts any chain, soDistrustedCertificatesis the only thing that can reject the connection. They expectSSLPeerUnverifiedExceptionagain.One of them is renamed to
does not send the envelope when the server leaves out the distrusted CA, since the client no longer builds the chain itself.💡 Motivation and Context
GitHub runner image
ubuntu26/20261122.9replaced Temurin 21.0.13+9 with 21.0.13+2. That JDK rejectsEM OV TLS CA - G3Cduring its own chain validation, beforeDistrustedCertificatesruns, so on that JDK these tests were exercising the JDK instead of the SDK.#skip-changelog
via roman.
--
View Session [Sentry]