Repository navigation
fix: upgrade Bouncy Castle provider to 1.86 (main) - #11
Merged
Merged
Conversation
loong10k
marked this pull request as ready for review
November 3, 2026 10:02
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.
Upgrades the existing
org.bouncycastle:bcprov-jdk18onruntime dependency from 1.81 to 1.86. The official 1.86 release fixes security issues still present in 1.85, including CVE-2026-17508 and CVE-2026-18036. The project uses Hutool AES, SM4 and HMAC; direct PBE or NTRU use has not been established.Adds SM4 round-trip, authenticated tamper-rejection, and decryption of a fixed 1.81 ciphertext. The fixture was generated with bcprov-jdk18on 1.81, Hutool crypto, JDK 21, Jackson 2, SM4/CBC/PKCS5Padding, HMAC-SHA256, key ID
bc181, 16 ASCII1bytes as encryption key, 32 ASCIIabytes as authentication key, IV00..0f, and plaintextSM4历史数据serialized as a JSON string. The MPE1 envelope format and runtime scope are unchanged.Local verification: JDK 21, Maven 3.9.16,
mvn -B clean verifypassed;mvn -o -B -pl mybatis-plus-enhance-extension -am dependency:tree -Dincludes=org.bouncycastle:bcprov-jdk18onresolvesbcprov-jdk18on:1.86:runtime. Awaiting remote CI and independent review before merge.