bc-java
bc-java copied to clipboard
IllegalArgumentException in OcspCache when optional parent revocation checker OcspExtensions is empty
This is probably happening since 1.77 caused by the fix for 1479. The OcspCache should somehow check that it doesnt create Extensions from an empty list, which is afaiu the default in PKIXRevocationChecker.
This is fixed in the latest beta at https://www.bouncycastle.org/betas
@dghgit Are the betas somehow consumable by maven/gradle builds?
If you rename the jars to end with 178-SNAPSHOT.jar instead of 178b*.jar you should find the tools can use them okay.
When is version 1.78 planned to be released with the fix? When validating the SwissSign certificates via this OCSP ( http://ocsp.swisssign.ch) returns this exception.
-> basicOCSPResp.getResponses();
The beta builds at https://www.bouncycastle.org/betas are now being distributed in a more "maven friendly" fashion (they end with 1.78-SNAPSHOT, they can also be built directly using ./gradlew clean build in the bc-java repo).
Good day! is there any update when we could have this fix in a stable release?
It looks like there is already a 1.78 in Maven, but according to the
- #1618
- #1619
- #1621
it shouldn't be used, but 1.78.1 seems to be just around the corner.
1.78 is largely safe to use, if you're affected by the issues we're fixing it simply won't work... (so there's no risk of harm, other than inactivity...)
Fixed in 1.78.