Skip to content

SOLR-15484: use latest version of bouncycastle libraries#2145

Merged
jdyer1 merged 3 commits into
apache:mainfrom
jdyer1:feature/SOLR-15484-bcversion
Dec 12, 2023
Merged

SOLR-15484: use latest version of bouncycastle libraries#2145
jdyer1 merged 3 commits into
apache:mainfrom
jdyer1:feature/SOLR-15484-bcversion

Conversation

@jdyer1
Copy link
Copy Markdown
Contributor

@jdyer1 jdyer1 commented Dec 12, 2023

There is now a new failure for JWTAuthPluginIntegrationTest [1] because the version of BouncyCastle we are using parses dates using the default locale. (see org.bouncycastle.asn1.x509.Time) This is fixed with the latest version (bc*-jdk15on:1.70 > bc*-jdk18on:1.77). This I believe puts us on a newer version than what is used by MockOAuth2Server but best I can tell there are no other usages. I think this will be a harmless upgrade.


[1] https://jenkins.thetaphi.de/job/Solr-main-Linux/15897/testReport/junit/org.apache.solr.security.jwt/JWTAuthPluginIntegrationTest/classMethod/

jdyer1 and others added 3 commits December 11, 2023 17:55
- newer version of bouncycastle dependencies
- old version did not parse dates correctly for some locales
- fix version files and checksums
@janhoy janhoy self-requested a review December 12, 2023 12:45
Copy link
Copy Markdown
Contributor

@janhoy janhoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jdyer1 jdyer1 merged commit 686700b into apache:main Dec 12, 2023
@janhoy
Copy link
Copy Markdown
Contributor

janhoy commented Dec 13, 2023

I get a gradle warning that the NOTICE file is not in use. I believe it is required only for ASL and BSD licenses, not for MIT. I don't think it hurts to keep it around though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants