-
Notifications
You must be signed in to change notification settings - Fork 1
RH2134669: Add missing attributes when registering services in FIPS mode. #19
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
franferrax
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.
Hi @martinuy,
This looks good to me, I've also checked similar systemFipsEnabled lock-down usages in other providers but everything seems fine.
I left a comment in the test, but it doesn't block the approval, it's up to you if you want to simplify the code or not.
Just for reference, here is the comment where we identified this issue: rh-openjdk/jdk11u#5 (comment)
…I, instead of the Map one.
|
@franferrax please have a look again. Thanks. |
franferrax
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.
gnu-andrew
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.
Looks good to me too. We only need to block provider additions that would allow non-FIPS crypto to take place.
|
Test failures seem to be just a download issue on Windows and the known issue due to debugging output that was since resolved when we merged 17.0.5. Merging this. |
…ode. (#19) Reviewed-by: @franferrax, @gnu-andrew
Search this PR in Red Hat Jira
As described in RH2134669 [1], I'd like to propose a fix for this issue that keeps the attributes for registered services and algorithms aligned between FIPS and non-FIPS modes. According to my assessment, the only security providers affected by this issue were SUN (SunEntries.java) and SunRsaSign (SunRsaSignEntries.java).
--
[1] - https://bugzilla.redhat.com/show_bug.cgi?id=2134669