diff --git a/build-tools-internal/src/main/groovy/elasticsearch.fips.gradle b/build-tools-internal/src/main/groovy/elasticsearch.fips.gradle index 14e2323b4d14d..7c77fb8cad38f 100644 --- a/build-tools-internal/src/main/groovy/elasticsearch.fips.gradle +++ b/build-tools-internal/src/main/groovy/elasticsearch.fips.gradle @@ -23,11 +23,11 @@ if (buildParams.inFipsJvm) { File fipsSecurity = new File(fipsResourcesDir, javaSecurityFilename) File fipsPolicy = new File(fipsResourcesDir, 'fips_java.policy') File fipsTrustStore = new File(fipsResourcesDir, 'cacerts.bcfks') - def bcFips = dependencies.create('org.bouncycastle:bc-fips:1.0.2.5') + def bcFips = dependencies.create('org.bouncycastle:bc-fips:1.0.2.6') def bcTlsFips = dependencies.create('org.bouncycastle:bctls-fips:1.0.19') def manualDebug = false; //change this to manually debug bouncy castle in an IDE if(manualDebug) { - bcFips = dependencies.create('org.bouncycastle:bc-fips-debug:1.0.2.5') + bcFips = dependencies.create('org.bouncycastle:bc-fips-debug:1.0.2.6') bcTlsFips = dependencies.create('org.bouncycastle:bctls-fips:1.0.19'){ exclude group: 'org.bouncycastle', module: 'bc-fips' // to avoid jar hell } diff --git a/distribution/docker/build.gradle b/distribution/docker/build.gradle index 690f4efcf35d1..55c859c679d74 100644 --- a/distribution/docker/build.gradle +++ b/distribution/docker/build.gradle @@ -129,7 +129,7 @@ dependencies { metricbeat_fips_aarch64 "beats:metricbeat-fips:${VersionProperties.elasticsearch}:linux-arm64@tar.gz" metricbeat_fips_x86_64 "beats:metricbeat-fips:${VersionProperties.elasticsearch}:linux-x86_64@tar.gz" - fips "org.bouncycastle:bc-fips:1.0.2.5" + fips "org.bouncycastle:bc-fips:1.0.2.6" fips "org.bouncycastle:bctls-fips:1.0.19" } diff --git a/distribution/docker/src/docker/dockerfiles/cloud_ess_fips/Dockerfile b/distribution/docker/src/docker/dockerfiles/cloud_ess_fips/Dockerfile index e260381a40e89..b259e2b7f6586 100644 --- a/distribution/docker/src/docker/dockerfiles/cloud_ess_fips/Dockerfile +++ b/distribution/docker/src/docker/dockerfiles/cloud_ess_fips/Dockerfile @@ -162,7 +162,7 @@ RUN printf "\\n" | jdk/bin/keytool -importkeystore \ -deststorepass passwordcacert \ -deststoretype BCFKS \ -providerclass org.bouncycastle.jcajce.provider.BouncyCastleFipsProvider \ - -providerpath lib/bc-fips-1.0.2.5.jar \ + -providerpath lib/bc-fips-1.0.2.6.jar \ -destprovidername BCFIPS diff --git a/distribution/tools/plugin-cli/build.gradle b/distribution/tools/plugin-cli/build.gradle index becdfbdb4d5e5..b330397c6693f 100644 --- a/distribution/tools/plugin-cli/build.gradle +++ b/distribution/tools/plugin-cli/build.gradle @@ -30,7 +30,7 @@ dependencies { implementation 'org.ow2.asm:asm-tree:9.7.1' api "org.bouncycastle:bcpg-fips:1.0.7.1" - api "org.bouncycastle:bc-fips:1.0.2.5" + api "org.bouncycastle:bc-fips:1.0.2.6" testImplementation project(":test:framework") testImplementation "com.google.jimfs:jimfs:${versions.jimfs}" testRuntimeOnly "com.google.guava:guava:${versions.jimfs_guava}" diff --git a/docs/changelog/133198.yaml b/docs/changelog/133198.yaml new file mode 100644 index 0000000000000..8e664e571122c --- /dev/null +++ b/docs/changelog/133198.yaml @@ -0,0 +1,5 @@ +pr: 133198 +summary: Bump bc-fips to 1.0.2.6 +area: FIPS +type: upgrade +issues: [] diff --git a/gradle/verification-metadata.xml b/gradle/verification-metadata.xml index e4adec09f17fe..a04f853285605 100644 --- a/gradle/verification-metadata.xml +++ b/gradle/verification-metadata.xml @@ -3458,14 +3458,14 @@ - - - + + + - - - + + + diff --git a/x-pack/plugin/core/build.gradle b/x-pack/plugin/core/build.gradle index 41ff487d760da..6a17216946d1a 100644 --- a/x-pack/plugin/core/build.gradle +++ b/x-pack/plugin/core/build.gradle @@ -70,7 +70,7 @@ dependencies { testImplementation project(path: ':modules:rest-root') testImplementation project(path: ':modules:health-shards-availability') // Needed for Fips140ProviderVerificationTests - testCompileOnly('org.bouncycastle:bc-fips:1.0.2.5') + testCompileOnly('org.bouncycastle:bc-fips:1.0.2.6') testImplementation(project(':x-pack:license-tools')) { transitive = false