Repository navigation
Patch shaded Bouncy Castle dependencies to 1.86 - #12164
Conversation
Pin bcprov, bcutil and bcpkix (jdk18on) together at 1.86 in the core shaded build and allow the LICENSE.md resource the newer jars ship. Originally proposed in #12139; rebased onto main after #12138 with the conflicting force block and JarFileShadingTest list merged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015e4ZbVcQMuDUob7DCLdUHm
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015e4ZbVcQMuDUob7DCLdUHm
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015e4ZbVcQMuDUob7DCLdUHm
Supersedes #12139 by @codefish1, rebased onto main now that #12138 (Jackson 2.18.12) is merged. The commit keeps the original author.
Fixes #12135.
Change
bcprov-jdk18on,bcutil-jdk18onandbcpkix-jdk18ontogether at 1.86 in the core shaded build. Bouncy Castle comes in transitively throughdocker-java-core, which still declares 1.82.META-INF/LICENSE.mdresource that the newer jars ship inJarFileShadingTest.The only conflict with #12138 was in the
forceblock and the META-INF whitelist. Both sides are kept.Verification
shadedconfiguration resolves all three Bouncy Castle modules at 1.86 and Jackson at 2.18.12.:testcontainers:jarFileTestand:testcontainers:japicmppass locally.java.security.Providerservice file is still excluded. Every class and member reference into the shaded Bouncy Castle packages resolves inside the jar.dockerdusingDOCKER_TLS_VERIFY/DOCKER_CERT_PATH. RSA (PKCS#1, PKCS#8) and EC (SEC1, PKCS#8) client keys connect, a client cert from the wrong CA is rejected, and both match main's behaviour on 1.82.Generated by Claude Code
Summary by CodeRabbit
LICENSE.mdin theMETA-INFdirectory listing, reflecting the expected license metadata in packaged artifacts.