-
Notifications
You must be signed in to change notification settings - Fork 20
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
Support for bc-fips #36
Comments
Thanks for raising this issue! I don't think it's currently possible to use the BC FIPS jars with JPGPJ -- JPGPJ is hardcoded in a number of places to use the default (non-FIPS) BC implementation of various crypto primitives. JPGPJ would have to be refactored a bit to lookup the implementation of those primitives through JCA (which would then allow you to configure it to use the FIPS JCA provider). |
Thanks for the quick response |
With @smirandamedallia's fix for this from #39, it's now possible to swap in the Bouncy Castle FIPS implementation -- add the following to your
And then set the
|
Hello Team -
Is there a way to use this jar in fips mode ?
Following is what I currently have working in my gradle project but am unsure if this is the correct way to do it.
I took a look at some of the classes being used like
PGPSignatureGenerator
and there look to be two implementations of it, one frombcpg-fips
and another frombcpg-jdk15on
which looks confusing.I tried doing this in my
build.gradle
But it fails with the following
I would really love some help in figuring out what would be the best way to use this library in fips mode
The text was updated successfully, but these errors were encountered: