BCFips relies on the SUN provider SecureRandom, But The SUN provider makes my application non compliant #1910
Unanswered
mgrundie-r7
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to configure my Java application security providers in a FIPS compliant way. If I remove all of the default providers and include only the FIPS 2.0.0 BC JCE and JSSE providers then the application crashes with a stackoverflowerror because it relies on the SUN provider's secure random. (See #1800)
If I place the BC providers at the highest positions (1&2) then my application works. However unapproved algorithms are now available to my application and the 3rd party dependencies I rely on. One such example is MD5 being used by AWS SDK.
What is the correct way to configure my application so that BC SecureRandom doesn't crash but my application cannot access unapproved algorithms.
Example 1 - Crashes with StackOverflowError
Example 2 - MD5 available from SUN provider - We don't want this
Beta Was this translation helpful? Give feedback.
All reactions