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

add openJDK/fips mode testing #614

Open
dirkmueller opened this issue Oct 10, 2024 · 0 comments
Open

add openJDK/fips mode testing #614

dirkmueller opened this issue Oct 10, 2024 · 0 comments
Assignees

Comments

@dirkmueller
Copy link
Member

We're required to validate openjdk with enforcing fips mode (via mozilla-nss). the recommended testing procedure is this:

# Run the following for both openJDK 17 and 21
 
git clone -q https://github.com/ecki/JavaCryptoTest
cd ~/JavaCryptoTest/src/main/java/
javac net/eckenfels/test/jce/JCEProviderInfo.java
java -cp ~/JavaCryptoTest/src/main/java/ net.eckenfels.test.jce.JCEProviderInfo
# Check that it is "Listing all JCA Security Providers"
wget https://gitlab.suse.de/qe-security/testing/-/raw/main/data/openjdk/Tcheck.java
javac Tcheck.java
# poo125654: we only need to check that '1. SunPKCS11-NSS-FIPS using library null' is present and at the first place
java Tcheck
# Check that there's on first line string "SunPKCS11-NSS-FIPS using library null"
@pablo-herranz pablo-herranz self-assigned this Oct 28, 2024
pablo-herranz pushed a commit to pablo-herranz/BCI-tests that referenced this issue Oct 31, 2024
pablo-herranz pushed a commit to pablo-herranz/BCI-tests that referenced this issue Nov 27, 2024
pablo-herranz pushed a commit to pablo-herranz/BCI-tests that referenced this issue Nov 27, 2024
pablo-herranz pushed a commit to pablo-herranz/BCI-tests that referenced this issue Nov 27, 2024
pablo-herranz pushed a commit to pablo-herranz/BCI-tests that referenced this issue Nov 27, 2024
pablo-herranz pushed a commit to pablo-herranz/BCI-tests that referenced this issue Nov 27, 2024
pablo-herranz pushed a commit to pablo-herranz/BCI-tests that referenced this issue Nov 28, 2024
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

No branches or pull requests

2 participants