From aa809279829bb54c784345ea541bed51dff48ec0 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Fri, 18 Oct 2024 19:21:04 +1000 Subject: [PATCH] Fix missing bcutil-fips (#7) Signed-off-by: Olivier Lamy --- pom.xml | 5 +++++ src/main/java/io/jenkins/test/fips/FIPS1403BC2x.java | 1 + .../io/jenkins/test/fips/FIPSTestBundleProviderTest.java | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 71fc515..708cefa 100644 --- a/pom.xml +++ b/pom.xml @@ -132,6 +132,11 @@ bcpkix-fips 2.0.7 + + org.bouncycastle + bcutil-fips + 2.0.3 + org.bouncycastle bctls-fips diff --git a/src/main/java/io/jenkins/test/fips/FIPS1403BC2x.java b/src/main/java/io/jenkins/test/fips/FIPS1403BC2x.java index e3cbc74..31fc3e7 100644 --- a/src/main/java/io/jenkins/test/fips/FIPS1403BC2x.java +++ b/src/main/java/io/jenkins/test/fips/FIPS1403BC2x.java @@ -40,6 +40,7 @@ public List getBootClasspathFiles() throws IOException { return List.of( extractJar("bc-fips.jar").toFile(), extractJar("bcpkix-fips.jar").toFile(), + extractJar("bcutil-fips.jar").toFile(), extractJar("bctls-fips.jar").toFile()); } diff --git a/src/test/java/io/jenkins/test/fips/FIPSTestBundleProviderTest.java b/src/test/java/io/jenkins/test/fips/FIPSTestBundleProviderTest.java index d692d60..3f9d520 100644 --- a/src/test/java/io/jenkins/test/fips/FIPSTestBundleProviderTest.java +++ b/src/test/java/io/jenkins/test/fips/FIPSTestBundleProviderTest.java @@ -45,6 +45,6 @@ public void get_fips1402x() throws Exception { FIPSTestBundleProvider provider = FIPSTestBundleProvider.get(FIPS1403BC2x.VERSION); assertThat(provider, notNullValue()); assertThat(provider.getVersion(), is(FIPS1403BC2x.VERSION)); - assertThat(provider.getBootClasspathFiles(), hasSize(3)); + assertThat(provider.getBootClasspathFiles(), hasSize(4)); } }