-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Support BouncyCastle FIPS provider #6588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
/pulsarbot run-failure-checks |
1 similar comment
|
/pulsarbot run-failure-checks |
|
@sijie @codelipenghui PTAL |
sijie
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jiazhai good job!
|
can we get maven relase of the same @jiazhai, so that we can consume into our projects? |
|
It will be included in 2.5.1 release, which is planned to release this week. |
|
we need to test this as soon as possible, is there any intermitent bits kind of beta which can be refered for testing the changes? |
|
@kemburi : you can use our weekly build: https://github.com/streamnative/pulsar/releases/tag/v2.6.0-347d3851b You can reference the build jar here: Use the version |
### Motivation Try to make user able to use both "org.bouncycastle.jce.provider.BouncyCastleProvider" and "org.bouncycastle.jcajce.provider.BouncyCastleFipsProvider". Current code, bouncycastle (bc) jars are used in both broker and client, and are tied strongly in both broker and client. We need to make it easy config. This change try to split bc and module that depends on it. Then user could freely include/exclude it. ### Changes - build a shaded jar for bouncycastle non-fips version. other module depends on this module. - build nar for both fips and non-fips version of bouncycastle, user could able to load bouncycastle by these 2 nar. - split MessageCrypto out from client and made it an individual module. so client is able to exclude bouncycastle. - Add 2 test examples: 1, exclude bc-non-fips version, and include bc-fips version; 2, exclude bc-non-fips version and load bc-fips version by nar. (cherry picked from commit 181e5e7)
### Motivation Try to make user able to use both "org.bouncycastle.jce.provider.BouncyCastleProvider" and "org.bouncycastle.jcajce.provider.BouncyCastleFipsProvider". Current code, bouncycastle (bc) jars are used in both broker and client, and are tied strongly in both broker and client. We need to make it easy config. This change try to split bc and module that depends on it. Then user could freely include/exclude it. ### Changes - build a shaded jar for bouncycastle non-fips version. other module depends on this module. - build nar for both fips and non-fips version of bouncycastle, user could able to load bouncycastle by these 2 nar. - split MessageCrypto out from client and made it an individual module. so client is able to exclude bouncycastle. - Add 2 test examples: 1, exclude bc-non-fips version, and include bc-fips version; 2, exclude bc-non-fips version and load bc-fips version by nar. (cherry picked from commit 181e5e7)
### Motivation Try to make user able to use both "org.bouncycastle.jce.provider.BouncyCastleProvider" and "org.bouncycastle.jcajce.provider.BouncyCastleFipsProvider". Current code, bouncycastle (bc) jars are used in both broker and client, and are tied strongly in both broker and client. We need to make it easy config. This change try to split bc and module that depends on it. Then user could freely include/exclude it. ### Changes - build a shaded jar for bouncycastle non-fips version. other module depends on this module. - build nar for both fips and non-fips version of bouncycastle, user could able to load bouncycastle by these 2 nar. - split MessageCrypto out from client and made it an individual module. so client is able to exclude bouncycastle. - Add 2 test examples: 1, exclude bc-non-fips version, and include bc-fips version; 2, exclude bc-non-fips version and load bc-fips version by nar. (cherry picked from commit 181e5e7)
### Motivation Try to make user able to use both "org.bouncycastle.jce.provider.BouncyCastleProvider" and "org.bouncycastle.jcajce.provider.BouncyCastleFipsProvider". Current code, bouncycastle (bc) jars are used in both broker and client, and are tied strongly in both broker and client. We need to make it easy config. This change try to split bc and module that depends on it. Then user could freely include/exclude it. ### Changes - build a shaded jar for bouncycastle non-fips version. other module depends on this module. - build nar for both fips and non-fips version of bouncycastle, user could able to load bouncycastle by these 2 nar. - split MessageCrypto out from client and made it an individual module. so client is able to exclude bouncycastle. - Add 2 test examples: 1, exclude bc-non-fips version, and include bc-fips version; 2, exclude bc-non-fips version and load bc-fips version by nar.
Motivation
Try to make user able to use both "org.bouncycastle.jce.provider.BouncyCastleProvider" and "org.bouncycastle.jcajce.provider.BouncyCastleFipsProvider".
Current code, bouncycastle (bc) jars are used in both broker and client, and are tied strongly in both broker and client. We need to make it easy config. This change try to split bc and module that depends on it. Then user could freely include/exclude it.
Changes