Skip to content

Errors in secureRandom #1453

Answered by dghgit
vipulbehalpande08 asked this question in Q&A
Discussion options

You must be logged in to vote

Try it without the security manager first. SHA-1 has been in the BCFIPS provider since 2016, so it's either a security manager issue, or the provider is not getting found. Using -Djava.security.debug=provider might provider a more complete answer.

I'd also add try using BC-FJA 1.0.2.4. Oracle did change the way security providers were loaded after 1.0.2.1 came out. You may be seeing an issue related to how the old module interacts with that.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dghgit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants