Pull Request Overview
- Opened on September 14, 2026
- Status Open
- Commit count 1 with first commit September 14, 2026
Total Delta
Open Days
Test Delta
How long has this pull request spent in each phase of its lifecycle?
Data pending calculation for pull request
Bump the dependencies group across 1 directory with 13 updates
Bumps the dependencies group with 13 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| org.eclipse.jetty.ee10:jetty-ee10-servlet | 12.1.12 | 12.1.13 |
| org.jooq:jooq | 3.21.7 | 3.21.8 |
| org.jooq:jooq-codegen | 3.21.7 | 3.21.8 |
| org.jooq:jooq-meta | 3.21.7 | 3.21.8 |
| org.slf4j:jul-to-slf4j | 2.0.18 | 2.0.19 |
| org.slf4j:slf4j-api | 2.0.18 | 2.0.19 |
| io.github.git-commit-id:git-commit-id-maven-plugin | 10.0.0 | 10.0.1 |
| org.apache.maven.plugins:maven-compiler-plugin | 3.15.0 | 3.16.0 |
| com.diffplug.spotless:spotless-maven-plugin | 3.10.1 | 3.10.2 |
| org.apache.maven.plugins:maven-surefire-plugin | 3.5.6 | 3.6.0 |
| org.bouncycastle:bcpkix-jdk18on | 1.85 | 1.86 |
| org.bouncycastle:bcprov-jdk18on | 1.85 | 1.86 |
| org.bouncycastle:bcutil-jdk18on | 1.85 | 1.86 |
Updates org.eclipse.jetty.ee10:jetty-ee10-servlet from 12.1.12 to 12.1.13
Updates org.jooq:jooq from 3.21.7 to 3.21.8
Updates org.jooq:jooq-codegen from 3.21.7 to 3.21.8
Updates org.jooq:jooq-meta from 3.21.7 to 3.21.8
Updates org.jooq:jooq-codegen from 3.21.7 to 3.21.8
Updates org.jooq:jooq-meta from 3.21.7 to 3.21.8
Updates org.slf4j:jul-to-slf4j from 2.0.18 to 2.0.19
Updates org.slf4j:slf4j-api from 2.0.18 to 2.0.19
Updates org.slf4j:slf4j-api from 2.0.18 to 2.0.19
Updates io.github.git-commit-id:git-commit-id-maven-plugin from 10.0.0 to 10.0.1
Release notes
Sourced from io.github.git-commit-id:git-commit-id-maven-plugin's releases.
Version 10.0.1 is finally there and includes various bug-fixes and improvements :-)
What's Changed
Dependencies used by the plugin
git-commit-id/git-commit-id-maven-plugin#915: bump commons-io:commons-io from 2.21.0 to 2.22.0
git-commit-id/git-commit-id-maven-plugin#933: bump org.jspecify:jspecify from 1.0.0 to 1.0.1
git-commit-id/git-commit-id-maven-plugin#919: bump org.slf4j:slf4j-simple from 2.0.17 to 2.0.18 (test)- bump git-commit-id-plugin-core from 6.2.0 to 6.2.1 (refs https://github.com/git-commit-id/git-commit-id-plugin-core/releases/tag/v6.2.1, fix CVE-2026-59638 by making use of org.bouncycastle:bcpkix-jdk18on 1.85)
Github Action
git-commit-id/git-commit-id-maven-plugin#924: bump actions/cache from 5 to 6
git-commit-id/git-commit-id-maven-plugin#923: bump actions/checkout from 6 to 7
git-commit-id/git-commit-id-maven-plugin#935: bump actions/setup-java from 5 to 6Maven Plugins used by the plugin
git-commit-id/git-commit-id-maven-plugin#921: bump org.apache.maven.plugins:maven-site-plugin from 3.21.0 to 3.22.0
git-commit-id/git-commit-id-maven-plugin#918: bump org.apache.maven.plugins:maven-enforcer-plugin from 3.6.2 to 3.6.3
git-commit-id/git-commit-id-maven-plugin#925: bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.5 to 3.5.6
git-commit-id/git-commit-id-maven-plugin#927: bump org.jacoco:jacoco-maven-plugin from 0.8.14 to 0.8.15
git-commit-id/git-commit-id-maven-plugin#928: bump org.apache.maven.plugins:maven-dependency-plugin from 3.10.0 to 3.11.0
git-commit-id/git-commit-id-maven-plugin#930: bump org.sonatype.central:central-publishing-maven-plugin from 0.10.0 to 0.11.0
git-commit-id/git-commit-id-maven-plugin#934: bump org.apache.maven.plugins:maven-jar-plugin from 3.5.0 to 3.5.1Getting the latest release
The plugin is available from Maven Central (see here), so you don't have to configure any additional repositories to use this plugin. All you need to do is to configure it inside your project as dependency:
<dependency>
<groupId>io.github.git-commit-id</groupId>
<artifactId>git-commit-id-maven-plugin</artifactId>
<version>10.0.1</version>
</dependency>Getting the latest snapshot (build automatically)
If you can't wait for the next release, you can also get the latest snapshot version from sonatype, that is being deployed automatically by github actions:
<pluginRepositories>
<pluginRepository>
<id>sonatype-snapshots</id>
<name>Sonatype Snapshots</name>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
</pluginRepository>
</pluginRepositories>Even though the github actions will only deploy a new snapshot once all tests have finished, it is recommended to rely on the released and more stable version.
Known Issues / Limitations:
- This plugin is unfortunately not working with Heroku which is due to the fact how Heroku works. In summary Heroku does not copy over the .git-repository but in order to determine the git properties this plugin relies on the fact that it has access to the git-repository. A somewhat workaround to get some information is outlined in ktoso/maven-git-commit-id-plugin#279
- Using maven's plugin prefix resolution (e.g.
mvn com.test.plugins:myPlugin:myMojo) might result in unresolved properties even with<injectAllReactorProjects>true</injectAllReactorProjects>. Please refer to git-commit-id/maven-git-commit-id-plugin#287 or git-commit-id/maven-git-commit-id-plugin#413 for details and potential workarounds
<!-- raw HTML omitted -->
... (truncated)
Commits
-
73542f2Bump version: 10.0.0 → 10.0.1 -
7e95a7eRevert "add tests for java 27" -
dae217cadd tests for java 27 -
dc5b90brun tests with the latest maven versions 3.9.9 -> 3.9.16; 4.0.0-rc-5 -> 4.0.0... -
28f14aabump git-commit-id-plugin-core from 6.2.0 to 6.2.1 (refs https://github.com/g... -
dcf31abMerge pull request #934 from git-commit-id/dependabot/maven/org.apache.maven.... -
e4e48baMerge pull request #933 from git-commit-id/dependabot/maven/org.jspecify-jspe... -
ef3c336Merge pull request #935 from git-commit-id/dependabot/github_actions/actions/... -
eacd498Merge pull request #930 from git-commit-id/dependabot/maven/org.sonatype.cent... -
d892203build(deps): bump actions/setup-java from 5 to 6 - Additional commits viewable in compare view
Updates org.apache.maven.plugins:maven-compiler-plugin from 3.15.0 to 3.16.0
Release notes
Sourced from org.apache.maven.plugins:maven-compiler-plugin's releases.
3.16.0
<!-- raw HTML omitted -->🚀 New features and improvements
- Recompile when dependencies change (#1102)
@wilx- Fix incremental detection of empty sources, 3.x (#1075)
@wilx🐛 Bug Fixes
[MCOMPILER-578] - Track outputs across compiler executions (#1091)@wilx- Build fails when annotation processor list is empty (but present) (#1077)
@wilx
[MCOMPILER-374] - Unable to compile MR-JAR code against older directories when module-info.java is present (#1093)@wilx- Make mcompiler-120 IT locale independent (#1063)
@anilvdl📝 Documentation updates
[MCOMPILER-569] - Document implicitly compiled excluded sources (#1092)@wilx- Add AGENTS.md + SECURITY.md security-model pointer for scanner discoverability (#1074)
@potiuk👻 Maintenance
- Avoid using deprecated method CompilerConfiguration.setCompilerVersion (#1121)
@slawekjaranowski- Replace adopt-openj9 by semeru JDK distribution on GH (#1122)
@slawekjaranowski- Port the site documentation from APT to Markdown (#1110)
@slachiewicz- Verify against Maven 4.0.0-rc-6 (#1105)
@slachiewicz- Fix tests on Jenkins (#1100)
@slawekjaranowski- Add AGENTS.md + SECURITY.md security-model pointer for scanner discoverability (#1074)
@potiuk- Refactor compiler mojo to use dependency injection and improve string… (#1066)
@slachiewicz- Fix ITs for Maven 3.10.x (#1061)
@slawekjaranowski- Update maven-surefire-plugin version to 3.x in the MCOMPILER-481 IT (#1035)
@cdouillard📦 Dependency updates
- Bump plexusCompilerVersion from 2.16.2 to 2.17.0 (#1112) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-java from 1.5.2 to 1.6.0 (#1113) @dependabot[bot]
- use latest Maven 4 (#1045)
@hboutemy- Bump apache/maven-gh-actions-shared/.github/workflows/release-drafter.yml from 4 to 5 (#1083) @dependabot[bot]
- Bump apache/maven-gh-actions-shared/.github/workflows/pr-automation.yml from 4 to 5 (#1082) @dependabot[bot]
- Bump apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml from 4 to 5 (#1084) @dependabot[bot]
- Bump org.apache.maven.plugins:maven-plugins from 48 to 49 (#1068) @dependabot[bot]
- Bump org.apache.maven.plugins:maven-invoker-plugin from 3.9.1 to 3.10.1 (#1047) @dependabot[bot]
- Bump org.apache.maven.plugins:maven-plugins from 47 to 48 (#1050) @dependabot[bot]
- Bump mavenVersion from 3.9.14 to 3.9.16 (#1054) @dependabot[bot]
- Bump org.ow2.asm:asm from 9.10 to 9.10.1 (#1059) @dependabot[bot]
- Bump org.ow2.asm:asm from 9.9.1 to 9.10 (#1053) @dependabot[bot]
- Bump mavenVersion from 3.9.13 to 3.9.14 (#1041) @dependabot[bot]
- Bump mavenVersion from 3.9.12 to 3.9.13 (#1038) @dependabot[bot]
- Bump org.apache.maven.plugin-testing:maven-plugin-testing-harness from 3.5.0 to 3.5.1 (#1032) @dependabot[bot]
Commits
-
e7bba6e[maven-release-plugin] prepare release maven-compiler-plugin-3.16.0 -
c906809Avoid using deprecated method CompilerConfiguration.setCompilerVersion -
ad74feeReplace adopt-openj9 by semeru JDK distribution on GH -
beb0edaRecompile when dependencies change (#1102) -
a0b689e[MCOMPILER-578] Track outputs across compiler executions (#1091) -
2e81228Fix incremental detection of empty sources, 3.x (#1075) -
2132f5bconfigure ATR project -
5992b77Build fails when annotation processor list is empty (but present) (#1077) -
acccef7Bump plexusCompilerVersion from 2.16.2 to 2.17.0 -
72bc445Bump org.codehaus.plexus:plexus-java from 1.5.2 to 1.6.0 - Additional commits viewable in compare view
Updates com.diffplug.spotless:spotless-maven-plugin from 3.10.1 to 3.10.2
Release notes
Sourced from com.diffplug.spotless:spotless-maven-plugin's releases.
Maven Plugin v3.10.2
Fixed
<shortenFullyQualifiedTypes>now shortens fully-qualified types used in expression contexts (such as static method calls, static fields, and enum constants) while avoiding imports that would change how existing unqualified type references resolve. (#3039)- Eclipse JDT formatter step no longer fails with
NoClassDefFoundErrorwhen lombok is active as a JVM agent (e.g.-javaagent:lombok.jarin Eclipse/VS Code/Cursor). (#2795)
Commits
-
dc2a4cbPublished maven/3.10.2 -
876c8c4Published gradle/8.10.2 -
ff28375Published lib/4.10.2 -
e260aa7shortenFullyQualifiedTypes: preserve unqualified type resolution (#3037) -
5a2cdcaUpdate changelogs. -
98ca50eMerge remote-tracking branch 'origin/main' into 3033-unqualified-type-collision -
9591d7eResolve interopability with spotless, lombok and VSCode (#3038) -
5842e1bshortenFullyQualifiedTypes: shorten FQTs in expression context (#3039) -
e7f5b60Add changelog entries -
79ff6c7Resolve interopability with spotless, lombok and VSCode - Additional commits viewable in compare view
Updates org.apache.maven.plugins:maven-surefire-plugin from 3.5.6 to 3.6.0
Release notes
Sourced from org.apache.maven.plugins:maven-surefire-plugin's releases.
3.6.0
<!-- raw HTML omitted -->Please refer to the main page for what's new https://maven.apache.org/surefire/
And the migration page https://maven.apache.org/surefire/maven-surefire-plugin/whats-new-3-6-0.html🚀 New features and improvements
- Fix #3303: distinguish JUnit 6 ParameterizedClass invocations (#3432)
@AzazelSensei
[SUREFIRE-1639] - Add ability to configure JUnit 5 TestExecutionListener (#3438)@pan3793- Issue #838 Implement extension point to run diagnosis tools when forked JVM times out (#3372)
@olamy
[SUREFIRE-2148] - Verify recovered BeforeAll does not fail build (#3419)@wilx
[SUREFIRE-823] - Decouple -DskipTests from Failsafe plugin (#3371)@olamy- Use StackWalker in StackTraceProvider when available (Java 9+) (#3374)
@olamy- [Issue-3380] Send sourceQualifiedName to forked clients (#3380) (#3381)
@fabriciorby🐛 Bug Fixes
[SUREFIRE-523] - Link all reported tests to source XRef (#3445)@wilx
[SUREFIRE-3446] - Fix direct selection of JUnit Jupiter@Nestedclasses (#3447)@wilx- Discover tests in a fork when a toolchain JDK is used (#3444)
@olamy- [SUREFIRE-2239, SUREFIRE-2241, SUREFIRE-2260, SUREFIRE-2274, SUREFIRE-2300] Preserve JUnit Platform test identity across reruns (#3418)
@wilx- Fix #3428: resolve parents via TestPlan.getParent for pre-1.8 platforms (#3429)
@kalayciburak
[SUREFIRE-859] - Make random test order reproducible (#3421)@wilx- [SUREFIRE-862, SUREFIRE-3178] Handle missing Failsafe summary files (#3417)
@wilx- fix: report AfterAll/AfterClass exceptions as errors again (#3412) (#3413)
@arimu1- Fixes #3264 : tests inside
@Suiteincorrectly classified as flakes (#3342)@mirkoalicastro- Fix Windows flake in CommandChannelDecoderTest (#3400)
@ascheman- Fix reportNameSuffix in XML testcase classname (#3379)
@goutamadwant- Fix: resolve relative classpath elements against the fork's working dir (#3333)
@cwegener-79📝 Documentation updates
- Magnify the home, well at least have something rather than nothing :) (#3377)
@olamy- Restore the straight quotes the FAQ conversion turned typographic (#3425)
@slachiewicz- Restore the table borders lost in the APT conversion (#3424)
@slachiewicz- Convert the FAQ from FML to Markdown (#3423)
@slachiewicz- Convert the remaining site documentation from APT to Markdown (#3422)
@slachiewicz- javadoc: clarify statelessTestsetReporter, consoleOutputReporter, (#3410)
@joshinii- Add AGENTS.md + SECURITY.md security-model pointer for scanner discoverability (#3387)
@potiuk- Update documentation we support Junit 6 as well :) (#3370)
@olamy👻 Maintenance
- Stop dependabot from updating test fixtures (#3440)
@slachiewicz- Migrate legacy plugin Javadoc annotations (#3416)
@wilx- Use the resolver's own HTTP transport in the report plugin tests (#3414)
@slachiewicz- Pin maven-jar-plugin 3.5.1 in modular IT fixtures (#3398)
@ascheman- Add AGENTS.md + SECURITY.md security-model pointer for scanner discoverability (#3387)
@potiuk
<!-- raw HTML omitted -->
... (truncated)
Commits
-
0ff622b[maven-release-plugin] prepare release surefire-3.6.0 -
bb3932aLet's go for 3.6.0 release -
3002a16Bump mavenVersion from 3.9.14 to 3.9.16 -
61a531dBump Maven parent version from 47 to 49 (#3449) -
e52ead4[SUREFIRE-523] Link all reported tests to source XRef (#3445) -
45102fa[SUREFIRE-3446] Fix direct selection of JUnit Jupiter@Nestedclasses (#3447) -
b2e1f70Fix #3303: distinguish JUnit 6 ParameterizedClass invocations (#3432) -
c051938Discover tests in a fork when a toolchain JDK is used (#3444) -
db75df8Bump org.codehaus.plexus:plexus-java from 1.5.2 to 1.6.0 (#3441) -
77f2759Bump org.codehaus.plexus:plexus-interpolation from 1.29 to 1.30.0 - Additional commits viewable in compare view
Updates org.bouncycastle:bcpkix-jdk18on from 1.85 to 1.86
Changelog
Sourced from org.bouncycastle:bcpkix-jdk18on's changelog.
Bouncy Castle Crypto Package - Release Notes
1.0 Introduction
The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. The package is organised so that it contains a light-weight API suitable for use in any environment (including the J2ME) with the additional infrastructure to conform the algorithms to the JCE framework.
2.0 Release History
<!-- raw HTML omitted --><!-- raw HTML omitted -->
2.1.1 Version
Release: 1.87
Date: 2026, TBD2.1.2 Defects Fixed
A KeyAgreement asked for its shared secret before doPhase returned data rather than refusing. javax.crypto.KeyAgreement specifies IllegalStateException for that state, but nothing in the provider tracked it, so each SPI handed back whatever its result field held: for Diffie-Hellman that was the private value itself - engineInit seeded result with x, so generateSecret() returned the private exponent padded to the prime's length and generateSecret("AES") an all-zero key taken from that padding - while ECDH returned null and its named-algorithm overload raised NullPointerException. BaseAgreementSpi now records whether a doPhase has completed the agreement since the last init and refuses the request with an IllegalStateException naming the algorithm, so every family in the provider - DH, ECDH and ECMQV, the SM2 exchange, both ECGOST families, XDH, SM9 and NewHope - answers the same way, and the DH SPI no longer holds the private value in that field at all.
Mac.getInstance and KeyGenerator.getInstance by the HMAC SHA-512/224 and SHA-512/256 object identifiers (1.2.840.113549.2.12 and .13) failed, although the same algorithms resolved by name and the matching SecretKeyFactory aliases were registered: the SHA512 mappings called addHMACAlgorithm for the two truncated variants without the addHMACAlias that registers their OIDs against Mac and KeyGenerator. Both are now aliased, as every other HMAC in that class already was.
A KTSParameterSpec naming an HKDF key-derivation function with a parameters field - a form the provider does not service - was accepted at Cipher init and then failed out of wrap or unwrap with an unchecked IllegalStateException neither method declares. The KTS key-wrapping Ciphers (ML-KEM, Classic McEliece, FrodoKEM, the composite KEM and RSA-KEM) now validate the spec's KDF when they take it, reporting an unserviceable one as the InvalidAlgorithmParameterException engineInit declares, which is what the javax.crypto.KEM services already did through KdfUtil.resolveKemSpec.
A DTLS handshake deadlocked when a handshake message ahead of the peer's ChangeCipherSpec (a client's CertificateVerify, say) was lost while the ChangeCipherSpec and Finished behind it arrived: the record layer moved its read epoch on at the ChangeCipherSpec and then discarded every retransmission of the lost message as belonging to the old epoch, whose records are only accepted once the handshake has completed. Each side then waited on the other until a handshake timeout, if one was configured, ended it. Every client-authenticated handshake, and every handshake in which the server issues a NewSessionTicket, was exposed. Until the handshake completes, handshake records from the current epoch are now still accepted after the read epoch has moved on, and each message is checked against the epoch of the record that carried it. The DTLS loopback tests now run their handshakes at 10% datagram loss in each direction, with a client-authenticated handshake at 25%.
The lightweight SubjectPublicKeyInfoFactory and PrivateKeyInfoFactory encoded a GOST R 34.10-2012 key on one of the legacy CryptoPro curves under id-GostR3410-2001, although RFC 9215 sec. 4.2 permits those curves for 2012 keys. The digestParamSet now decides: a GOST R 34.11-94 parameter set means 2001 (RFC 4491 sec. 2.3.2), a GOST R 34.11-2012 digest or none means 2012 with 256/512 taken from the curve field size, and any other value is rejected. GOST3410PublicKeyAlgParameters treats digestParamSet as OPTIONAL on both read and write per RFC 9215, and PrivateKeyInfoFactory now passes attributes through for ECGOST3410 keys (bc-csharp github #707).
The name-constraint host canonicalisation removed a single RFC 1034 root-label dot, the only empty label a name may legally carry, but nothing refused the ones that are not legal: a dNSName, rfc822Name host or uniformResourceIdentifier host such as "example.com.." kept a phantom empty label after the strip and so matched no constraint at all, escaping an excluded subtree naming the host it appears to carry. A tested name whose host carries an empty label - a second trailing dot, a doubled dot or a leading dot - is now refused outright wherever a constraint of that type is in force, rather than canonicalised into a name it is not: removing the extra dots would decide on the caller's behalf that "example.com.." names example.com, which is not how a consumer resolving or comparing the name reads it, and refusing fails closed in both directions where canonicalising would newly admit such a name under a permitted subtree. The single trailing dot is canonicalised as before, a bare "." remains the root label rather than an empty one, and the guard is scoped to the host, so the doubled dot a quoted local part may legally carry is unaffected. Constraints are untouched - one may still begin with a dot, which is how this implementation spells "subdomains only" (github PR #2436).
2.1.3 Additional Features and Functionality
2.1.4 Additional Notes
- The sources and javadoc jars of the Ant-built distributions (jdk14, jdk15to18 and jdk13) no longer carry test material. Each module's javadoc target copies the package documentation it needs - org/bouncycastle/<!-- raw HTML omitted -->//.html - back into the module source directory that has already been compiled from, and zip-src zips that directory afterwards, so every test package's package.html arrived in the sources jar by that route; javadoc-util additionally copied org/bouncycastle/asn1/isismtt//.java, which put test classes into the bcutil javadoc as generated pages, and javadoc-pg deliberately copied the gpg and bcpg test sources in order to document them. Separately the source copies excluded test material only one directory deep and only for .java, because Ant reads * as an any-depth wildcard just where it is a whole path segment, so anything nested further or with another extension - the PEM certificate fixtures under org/bouncycastle/est/test/san corrected in 1.86, and an ICAO master list under org/bouncycastle/asn1/icao/test - went through. The source and javadoc copies of every module now exclude test directories at any depth, and javadoc-pg no longer documents the test packages. org.bouncycastle.util.test is unaffected and still ships in the bcprov binary, sources and javadoc jars, as it does from the Gradle build: it is the SimpleTest framework the light-weight API's own test classes are written against, not test material of the distribution. No binary changes - the classes and resources of every Ant-built jar are identical to those of the 1.86 release - and the Gradle-built jdk18on artifacts never carried any of this.
<!-- raw HTML omitted --><!-- raw HTML omitted -->
2.2.1 Version
Release: 1.86
Date: 2026, 11th September.2.2.2 Defects Fixed
- The high-level OpenPGP API let a subkey inherit the primary key's Key Flags when its own Subkey Binding signature carried none, so a subkey bound with no flags counted as signing-capable for one check while the cross-certification check RFC 9580 sec. 5.2.1.8 requires of a signing subkey saw none and was skipped - letting a third party's public signing subkey be bound to an attacker's primary key and that party's genuine signatures verify under the attacker's identity. Flags are no longer inherited (CVE-2026-71887).
- The high-level OpenPGP API used a version 6 key carrying no valid Direct Key signature, falling back to the primary user ID binding as it correctly does for version 4. RFC 9580 sec. 5.2.3.10 requires the opposite, and since a v6 certificate carries its expiration and preferences there, stripping that one packet silently dropped them - the certificate went on offering subkeys of a key set to expire. isBoundBy now requires a valid Direct Key self-signature before any v6 component is treated as bound; version 4 is unaffected.
- The high-level OpenPGP API ignored the OpenPGPPolicy a caller had configured when verifying signatures on an inline message: OpenPGPMessageInputStream took the policy from the implementation's own default rather than from the processor doing the verification, so a hardened policy had no bearing on acceptance and getSignatures() reported isTestedCorrect() true for a signature that policy rejects. Both the one-pass and prefixed-signature paths now read the configured policy.
- The high-level OpenPGP API went on offering the subkeys of a certificate whose primary key had expired, the binding check evaluating only a subkey's own Subkey Binding signature - so the certificate contradicted itself, reporting the primary unbound while still handing out its subkeys. The primary key's expiration now applies to the whole certificate, as GnuPG and Sequoia treat it, and a subkey no longer inherits the primary's validity period, which RFC 9580 sec. 5.2.3.13 counts from the creation time of the key the carrying signature is made on.
- OpenPGPDocumentSignature.isValidAt(Date) reported a data signature as valid past the signature's own Signature Expiration Time (RFC 9580 sec. 5.2.3.18): it checked that the signature was correct and the issuing key bound and signing-capable at that date, but never the signature's own expiration, so it disagreed with isEffectiveAt() on the same object and with its own javadoc. isValid() and isValid(policy), which evaluate at creation time, are unchanged.
- The lightweight LMSSigner and HSSSigner refused a key wrapped in ParametersWithRandom, which is how BcContentSignerBuilder passes one once setSecureRandom() has been called, so BcHssLmsContentSignerBuilder failed with "Incorrect Key Parameters" and the two signers raised ClassCastException. All three now unwrap it, as the ML-DSA and SLH-DSA signers already did; the random is accepted and ignored, LMS deriving its message randomiser deterministically from the seed and one-time index.
- LMS signature verification did not apply two checks RFC 8554 sec. 5.4.2 requires before a signature is processed: step 2g, refusing a signature whose LMS typecode is not the public key's - without it a signature claiming a height-25 parameter set drove a 25-level computation against a height-5 key - and step 2i, refusing a leaf number outside the tree. Neither was a forgery, but both are attacker-chosen work the specification says to refuse up front. Both are now checked.
- The LMS and HSS key parameter classes now apply at construction the checks their decoders apply, so a key built directly cannot be one the decoder would refuse: LMSPrivateKeyParameters accepted an identifier of any length where the decoder reads exactly 16 bytes, and left q, maxQ and the seed length unchecked, while HSSPrivateKeyParameters checked neither its level count nor that it had a component key and chaining signature per level. The decoders now report a bad version or seed length as IOException rather than IllegalStateException.
- In the LMS JCE layer, LMSKeyGenParameterSpec.fromNames knew all twenty LMS parameter-set names but only four of the sixteen LM-OTS ones, so none of the SP 800-208 n24 or SHAKE sets could be named; all sixteen are now present. initialize(int, SecureRandom) now reports InvalidParameterException as the JCA specifies, and BCLMSPrivateKey.getIndex takes the exhaustion check and the index read under one monitor.
- KeyPairGenerator.initialize(int, SecureRandom) is documented to raise InvalidParameterException when the key size is not one the generator supports, and thirty of them raised a bare IllegalArgumentException instead. Every generator in BCPQC, and the ML-DSA, ML-KEM, SLH-DSA, Classic McEliece, FrodoKEM, NTRU and composite ones in the BC provider, now raise the documented type - which extends IllegalArgumentException, so existing catches still match. The two RSA generators translate the lightweight refusal through a new SecurityExceptions.invalidParameterException factory.
<!-- raw HTML omitted -->
... (truncated)
Commits
- See full diff in compare view
Updates org.bouncycastle:bcprov-jdk18on from 1.85 to 1.86
Changelog
Sourced from org.bouncycastle:bcprov-jdk18on's changelog.
Bouncy Castle Crypto Package - Release Notes
1.0 Introduction
The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. The package is organised so that it contains a light-weight API suitable for use in any environment (including the J2ME) with the additional infrastructure to conform the algorithms to the JCE framework.
2.0 Release History
<!-- raw HTML omitted --><!-- raw HTML omitted -->
2.1.1 Version
Release: 1.87
Date: 2026, TBD2.1.2 Defects Fixed
A KeyAgreement asked for its shared secret before doPhase returned data rather than refusing. javax.crypto.KeyAgreement specifies IllegalStateException for that state, but nothing in the provider tracked it, so each SPI handed back whatever its result field held: for Diffie-Hellman that was the private value itself - engineInit seeded result with x, so generateSecret() returned the private exponent padded to the prime's length and generateSecret("AES") an all-zero key taken from that padding - while ECDH returned null and its named-algorithm overload raised NullPointerException. BaseAgreementSpi now records whether a doPhase has completed the agreement since the last init and refuses the request with an IllegalStateException naming the algorithm, so every family in the provider - DH, ECDH and ECMQV, the SM2 exchange, both ECGOST families, XDH, SM9 and NewHope - answers the same way, and the DH SPI no longer holds the private value in that field at all.
Mac.getInstance and KeyGenerator.getInstance by the HMAC SHA-512/224 and SHA-512/256 object identifiers (1.2.840.113549.2.12 and .13) failed, although the same algorithms resolved by name and the matching SecretKeyFactory aliases were registered: the SHA512 mappings called addHMACAlgorithm for the two truncated variants without the addHMACAlias that registers their OIDs against Mac and KeyGenerator. Both are now aliased, as every other HMAC in that class already was.
A KTSParameterSpec naming an HKDF key-derivation function with a parameters field - a form the provider does not service - was accepted at Cipher init and then failed out of wrap or unwrap with an unchecked IllegalStateException neither method declares. The KTS key-wrapping Ciphers (ML-KEM, Classic McEliece, FrodoKEM, the composite KEM and RSA-KEM) now validate the spec's KDF when they take it, reporting an unserviceable one as the InvalidAlgorithmParameterException engineInit declares, which is what the javax.crypto.KEM services already did through KdfUtil.resolveKemSpec.
A DTLS handshake deadlocked when a handshake message ahead of the peer's ChangeCipherSpec (a client's CertificateVerify, say) was lost while the ChangeCipherSpec and Finished behind it arrived: the record layer moved its read epoch on at the ChangeCipherSpec and then discarded every retransmission of the lost message as belonging to the old epoch, whose records are only accepted once the handshake has completed. Each side then waited on the other until a handshake timeout, if one was configured, ended it. Every client-authenticated handshake, and every handshake in which the server issues a NewSessionTicket, was exposed. Until the handshake completes, handshake records from the current epoch are now still accepted after the read epoch has moved on, and each message is checked against the epoch of the record that carried it. The DTLS loopback tests now run their handshakes at 10% datagram loss in each direction, with a client-authenticated handshake at 25%.
The lightweight SubjectPublicKeyInfoFactory and PrivateKeyInfoFactory encoded a GOST R 34.10-2012 key on one of the legacy CryptoPro curves under id-GostR3410-2001, although RFC 9215 sec. 4.2 permits those curves for 2012 keys. The digestParamSet now decides: a GOST R 34.11-94 parameter set means 2001 (RFC 4491 sec. 2.3.2), a GOST R 34.11-2012 digest or none means 2012 with 256/512 taken from the curve field size, and any other value is rejected. GOST3410PublicKeyAlgParameters treats digestParamSet as OPTIONAL on both read and write per RFC 9215, and PrivateKeyInfoFactory now passes attributes through for ECGOST3410 keys (bc-csharp github #707).
The name-constraint host canonicalisation removed a single RFC 1034 root-label dot, the only empty label a name may legally carry, but nothing refused the ones that are not legal: a dNSName, rfc822Name host or uniformResourceIdentifier host such as "example.com.." kept a phantom empty label after the strip and so matched no constraint at all, escaping an excluded subtree naming the host it appears to carry. A tested name whose host carries an empty label - a second trailing dot, a doubled dot or a leading dot - is now refused outright wherever a constraint of that type is in force, rather than canonicalised into a name it is not: removing the extra dots would decide on the caller's behalf that "example.com.." names example.com, which is not how a consumer resolving or comparing the name reads it, and refusing fails closed in both directions where canonicalising would newly admit such a name under a permitted subtree. The single trailing dot is canonicalised as before, a bare "." remains the root label rather than an empty one, and the guard is scoped to the host, so the doubled dot a quoted local part may legally carry is unaffected. Constraints are untouched - one may still begin with a dot, which is how this implementation spells "subdomains only" (github PR #2436).
2.1.3 Additional Features and Functionality
2.1.4 Additional Notes
- The sources and javadoc jars of the Ant-built distributions (jdk14, jdk15to18 and jdk13) no longer carry test material. Each module's javadoc target copies the package documentation it needs - org/bouncycastle/<!-- raw HTML omitted -->//.html - back into the module source directory that has already been compiled from, and zip-src zips that directory afterwards, so every test package's package.html arrived in the sources jar by that route; javadoc-util additionally copied org/bouncycastle/asn1/isismtt//.java, which put test classes into the bcutil javadoc as generated pages, and javadoc-pg deliberately copied the gpg and bcpg test sources in order to document them. Separately the source copies excluded test material only one directory deep and only for .java, because Ant reads * as an any-depth wildcard just where it is a whole path segment, so anything nested further or with another extension - the PEM certificate fixtures under org/bouncycastle/est/test/san corrected in 1.86, and an ICAO master list under org/bouncycastle/asn1/icao/test - went through. The source and javadoc copies of every module now exclude test directories at any depth, and javadoc-pg no longer documents the test packages. org.bouncycastle.util.test is unaffected and still ships in the bcprov binary, sources and javadoc jars, as it does from the Gradle build: it is the SimpleTest framework the light-weight API's own test classes are written against, not test material of the distribution. No binary changes - the classes and resources of every Ant-built jar are identical to those of the 1.86 release - and the Gradle-built jdk18on artifacts never carried any of this.
<!-- raw HTML omitted --><!-- raw HTML omitted -->
2.2.1 Version
Release: 1.86
Date: 2026, 11th September.2.2.2 Defects Fixed
- The high-level OpenPGP API let a subkey inherit the primary key's Key Flags when its own Subkey Binding signature carried none, so a subkey bound with no flags counted as signing-capable for one check while the cross-certification check RFC 9580 sec. 5.2.1.8 requires of a signing subkey saw none and was skipped - letting a third party's public signing subkey be bound to an attacker's primary key and that party's genuine signatures verify under the attacker's identity. Flags are no longer inherited (CVE-2026-71887).
- The high-level OpenPGP API used a version 6 key carrying no valid Direct Key signature, falling back to the primary user ID binding as it correctly does for version 4. RFC 9580 sec. 5.2.3.10 requires the opposite, and since a v6 certificate carries its expiration and preferences there, stripping that one packet silently dropped them - the certificate went on offering subkeys of a key set to expire. isBoundBy now requires a valid Direct Key self-signature before any v6 component is treated as bound; version 4 is unaffected.
- The high-level OpenPGP API ignored the OpenPGPPolicy a caller had configured when verifying signatures on an inline message: OpenPGPMessageInputStream took the policy from the implementation's own default rather than from the processor doing the verification, so a hardened policy had no bearing on acceptance and getSignatures() reported isTestedCorrect() true for a signature that policy rejects. Both the one-pass and prefixed-signature paths now read the configured policy.
- The high-level OpenPGP API went on offering the subkeys of a certificate whose primary key had expired, the binding check evaluating only a subkey's own Subkey Binding signature - so the certificate contradicted itself, reporting the primary unbound while still handing out its subkeys. The primary key's expiration now applies to the whole certificate, as GnuPG and Sequoia treat it, and a subkey no longer inherits the primary's validity period, which RFC 9580 sec. 5.2.3.13 counts from the creation time of the key the carrying signature is made on.
- OpenPGPDocumentSignature.isValidAt(Date) reported a data signature as valid past the signature's own Signature Expiration Time (RFC 9580 sec. 5.2.3.18): it checked that the signature was correct and the issuing key bound and signing-capable at that date, but never the signature's own expiration, so it disagreed with isEffectiveAt() on the same object and with its own javadoc. isValid() and isValid(policy), which evaluate at creation time, are unchanged.
- The lightweight LMSSigner and HSSSigner refused a key wrapped in ParametersWithRandom, which is how BcContentSignerBuilder passes one once setSecureRandom() has been called, so BcHssLmsContentSignerBuilder failed with "Incorrect Key Parameters" and the two signers raised ClassCastException. All three now unwrap it, as the ML-DSA and SLH-DSA signers already did; the random is accepted and ignored, LMS deriving its message randomiser deterministically from the seed and one-time index.
- LMS signature verification did not apply two checks RFC 8554 sec. 5.4.2 requires before a signature is processed: step 2g, refusing a signature whose LMS typecode is not the public key's - without it a signature claiming a height-25 parameter set drove a 25-level computation against a height-5 key - and step 2i, refusing a leaf number outside the tree. Neither was a forgery, but both are attacker-chosen work the specification says to refuse up front. Both are now checked.
- The LMS and HSS key parameter classes now apply at construction the checks their decoders apply, so a key built directly cannot be one the decoder would refuse: LMSPrivateKeyParameters accepted an identifier of any length where the decoder reads exactly 16 bytes, and left q, maxQ and the seed length unchecked, while HSSPrivateKeyParameters checked neither its level count nor that it had a component key and chaining signature per level. The decoders now report a bad version or seed length as IOException rather than IllegalStateException.
- In the LMS JCE layer, LMSKeyGenParameterSpec.fromNames knew all twenty LMS parameter-set names but only four of the sixteen LM-OTS ones, so none of the SP 800-208 n24 or SHAKE sets could be named; all sixteen are now present. initialize(int, SecureRandom) now reports InvalidParameterException as the JCA specifies, and BCLMSPrivateKey.getIndex takes the exhaustion check and the index read under one monitor.
- KeyPairGenerator.initialize(int, SecureRandom) is documented to raise InvalidParameterException when the key size is not one the generator supports, and thirty of them raised a bare IllegalArgumentException instead. Every generator in BCPQC, and the ML-DSA, ML-KEM, SLH-DSA, Classic McEliece, FrodoKEM, NTRU and composite ones in the BC provider, now raise the documented type - which extends IllegalArgumentException, so existing catches still match. The two RSA generators translate the lightweight refusal through a new SecurityExceptions.invalidParameterException factory.
<!-- raw HTML omitted -->
... (truncated)
Commits
- See full diff in compare view
Updates org.bouncycastle:bcutil-jdk18on from 1.85 to 1.86
Changelog
Sourced from org.bouncycastle:bcutil-jdk18on's changelog.
Bouncy Castle Crypto Package - Release Notes
1.0 Introduction
The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. The package is organised so that it contains a light-weight API suitable for use in any environment (including the J2ME) with the additional infrastructure to conform the algorithms to the JCE framework.
2.0 Release History
<!-- raw HTML omitted --><!-- raw HTML omitted -->
2.1.1 Version
Release: 1.87
Date: 2026, TBD2.1.2 Defects Fixed
A KeyAgreement asked for its shared secret before doPhase returned data rather than refusing. javax.crypto.KeyAgreement specifies IllegalStateException for that state, but nothing in the provider tracked it, so each SPI handed back whatever its result field held: for Diffie-Hellman that was the private value itself - engineInit seeded result with x, so generateSecret() returned the private exponent padded to the prime's length and generateSecret("AES") an all-zero key taken from that padding - while ECDH returned null and its named-algorithm overload raised NullPointerException. BaseAgreementSpi now records whether a doPhase has completed the agreement since the last init and refuses the request with an IllegalStateException naming the algorithm, so every family in the provider - DH, ECDH and ECMQV, the SM2 exchange, both ECGOST families, XDH, SM9 and NewHope - answers the same way, and the DH SPI no longer holds the private value in that field at all.
Mac.getInstance and KeyGenerator.getInstance by the HMAC SHA-512/224 and SHA-512/256 object identifiers (1.2.840.113549.2.12 and .13) failed, although the same algorithms resolved by name and the matching SecretKeyFactory aliases were registered: the SHA512 mappings called addHMACAlgorithm for the two truncated variants without the addHMACAlias that registers their OIDs against Mac and KeyGenerator. Both are now aliased, as every other HMAC in that class already was.
A KTSParameterSpec naming an HKDF key-derivation function with a parameters field - a form the provider does not service - was accepted at Cipher init and then failed out of wrap or unwrap with an unchecked IllegalStateException neither method declares. The KTS key-wrapping Ciphers (ML-KEM, Classic McEliece, FrodoKEM, the composite KEM and RSA-KEM) now validate the spec's KDF when they take it, reporting an unserviceable one as the InvalidAlgorithmParameterException engineInit declares, which is what the javax.crypto.KEM services already did through KdfUtil.resolv...
Description has been truncated
No comments have been left on this PR.