-
Notifications
You must be signed in to change notification settings - Fork 752
FIPS jdk_security3_0 javax/security/auth/Destroyable/KeyDestructionTest.java DestroyFailedException #21921
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
FIPS jdk_security3_0 javax/security/auth/Destroyable/KeyDestructionTest.java DestroyFailedException #21921
Comments
This test is failing since the FIPS 140-3 requires RSA key sizes to be 2048 or higher. fixes eclipse-openj9/openj9#21921
This test is failing since the FIPS 140-3 requires RSA key sizes to be 2048 or higher. Fixes eclipse-openj9/openj9#21921
This behavior is due to the delayed provider exception feature of the JCE framework. This test displays what can be done to recreate:
No error on weak profile:
Expected error on strict profile:
The selection of generator from the JCE framework is delayed until initialize is called. For weak profile: If the user adds a line such as System.out.println("Generator provider: " + generator.getProvider().getName()); then this disables the delayed provider selection and then properly gets the correct error on initalize without failing over to SunRsaSign provider. For strict profile: This test can be fixed by updating from 1024 to 2048 key size which is expected to work in various FIPS and non FIPS scenarios. |
This test is already using 2048 in other releases which is why updates are only needed in the Java 11 version of the test: Update made with ibmruntimes/openj9-openjdk-jdk11#925 |
Uh oh!
There was an error while loading. Please reload this page.
Failure link
From internal Test_openjdk11_j9_extended.openjdk_ppc64le_linux_fips140_3_openjceplusfips (rhel10le-rtbeta-1)
Rerun in Grinder - Change TARGET to run only the failed test targets
Optional info
Failure output (captured from console output)
10x internal Grinder - failed 100%
openjdk11_j9_extended.openjdk_x86-64_linux_fips140_3_openjceplusfips.fips140-3
FYI @jasonkatonica
The text was updated successfully, but these errors were encountered: