RH1995150 - Disable non-FIPS crypto in SUN and SunEC security providers#1
Open
martinuy wants to merge 1 commit intorh-openjdk:fipsfrom
Open
RH1995150 - Disable non-FIPS crypto in SUN and SunEC security providers#1martinuy wants to merge 1 commit intorh-openjdk:fipsfrom
martinuy wants to merge 1 commit intorh-openjdk:fipsfrom
Conversation
franferrax
previously approved these changes
Sep 26, 2022
There was a problem hiding this comment.
This looks good to me:
- It leaves the same algorithms and services enabled in
SunEntries.java/SunEC.javaas rh-openjdk/jdk@765baf2- Except for
putEdDSAEntries()ones, since we don't have JDK-8166597, as explained in the description (we'll have to be vigilant and disable theKeyPairGenerator/KeyAgreemententries if that backport is done)
- Except for
- It fixes the same issue as the one fixed in rh-openjdk/jdk@da9988c, by granting the
accessClassInPackageruntime permission on thejdk.internal.miscpackage to thejdk.crypto.ecmodule (for 17u, the package wasjdk.internal.access)
RH2094027 - SunEC runtime permission for FIPS
franferrax
approved these changes
Nov 3, 2022
There was a problem hiding this comment.
Files modified in this pull request didn't change in the last force-push, the following command gives no output:
git diff 675c3b9582c1e159b09f9cb06d14cceff46f8082 a6e533a37276fefc27f13a342fa43acc9d425f7c -- \
src/java.base/share/classes/module-info.java \
src/java.base/share/classes/sun/security/provider/SunEntries.java \
src/java.base/share/lib/security/default.policy \
src/jdk.crypto.ec/share/classes/sun/security/ec/SunEC.javaAlso, the Files changed section shows the same files, no new files were added. So the previous review still applies.
This was referenced Nov 5, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Search this PR in Red Hat Jira
rh-openjdk:fips← THIS PRA 11u backport of RH1995150 (Disable non-FIPS crypto in SUN and SunEC security providers) is required for a 11u backport of RH2052070 (Enable AlgorithmParameters and AlgorithmParameterGenerator services in FIPS mode).
This backport includes the following 17u RPM patches:
Bugzillas:
Conflicts when applying the 17u RH1995150 to 11u:
src/java.base/share/classes/module-info.javaSharedSecretsis in thejdk.internal.miscpackage (instead ofjdk.internal.access.)jdk.internal.miscto thejdk.crypto.ecmodulesrc/java.base/share/classes/sun/security/provider/SunEntries.javaSharedSecretsis in the packagejdk.internal.misc.src/jdk.crypto.ec/share/classes/sun/security/ec/SunEC.javajdk.internal.misc.SharedSecrets.