Skip to content
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

Allow RestrictedSecurity property extension from default values #51

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

KostasTsiounis
Copy link
Contributor

The default values existing in the java.security file are now considered the baseline and all profiles can inherit them and add or remove to them, if they are in list form. This does not include the providers, though.

Back-ported from: ibmruntimes/openj9-openjdk-jdk#849

Signed-off-by: Kostas Tsiounis kostas.tsiounis@ibm.com

The default values existing in the java.security file are now
considered the baseline and all profiles can inherit them and
add or remove to them, if they are in list form. This does not
include the providers, though.

Signed-off-by: Kostas Tsiounis<kostas.tsiounis@ibm.com>
@KostasTsiounis
Copy link
Contributor Author

FYI @keithc-ca

@keithc-ca keithc-ca self-requested a review October 4, 2024 15:57
@keithc-ca keithc-ca self-assigned this Oct 4, 2024
@keithc-ca
Copy link
Member

Jenkins test sanity amac jdk23

@keithc-ca keithc-ca merged commit 39d89f1 into ibmruntimes:openj9 Oct 4, 2024
6 checks passed
@@ -185,25 +185,14 @@ RestrictedSecurity.NSS.140-2.securerandom.algorithm = PKCS11
RestrictedSecurity.OpenJCEPlusFIPS.FIPS140-3.desc.name = OpenJCEPlusFIPS Cryptographic Module FIPS 140-3
RestrictedSecurity.OpenJCEPlusFIPS.FIPS140-3.desc.default = false
RestrictedSecurity.OpenJCEPlusFIPS.FIPS140-3.desc.fips = true
RestrictedSecurity.OpenJCEPlusFIPS.FIPS140-3.desc.hash = SHA256:4a85dc0db2f257388155b3ada7378773884edc89c80c8d715f4bdde84cc3d8bd
RestrictedSecurity.OpenJCEPlusFIPS.FIPS140-3.desc.hash = SHA256:bea1b7da967ac27720b7bc439ccd2d4250ebe783a6919a8e7047e6a6b862a116
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this hash should be 9970c0538b11f34a779803337d213d6fc7ca13849361e0e52a997a5629ced508. Please create a follow-up change to correct that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I actually built with the changes and tested it and the hash is the correct one.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right, I ran a bad test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants