Skip to content

fix(fips): swap bcprov-jdk18on for bc-fips to enable FIPS 140-3 compliance - #132

Open
andwehrm wants to merge 1 commit into
cap-java:mainfrom
andwehrm:fips-bcprov-to-bc-fips
Open

fix(fips): swap bcprov-jdk18on for bc-fips to enable FIPS 140-3 compliance#132
andwehrm wants to merge 1 commit into
cap-java:mainfrom
andwehrm:fips-bcprov-to-bc-fips

Conversation

@andwehrm

Copy link
Copy Markdown

Motivation

The plugin currently pulls org.bouncycastle:bcpkix-jdk18on (non-FIPS). Consumers targeting FIPS 140-3 / SAP NS2 environments need the FIPS-validated bc-fips distribution instead. Downstream tracking: RBSALSRV-511 (internal).

Change

  • pom.xml: swap bcprov-jdk18on + bcpkix-jdk18on for bc-fips + bcpkix-fips + bctls-fips + bcutil-fips.
  • CertificateHttpClientConfig: BouncyCastleProviderBouncyCastleFipsProvider.

Verification

  • mvn clean verify passes locally.
  • Downstream compatibility verified in an internal shim before opening this PR.

Reviewers

@mtsvetanov071 @georgi-shakev @lisajulia — happy to include this in the 0.0.5 release cut following #131 if it fits.

…iance

Replace org.bouncycastle:bcprov-jdk18on + bcpkix-jdk18on (non-FIPS) with the
FIPS 140-3 validated distribution: bc-fips:2.1.3, bcpkix-fips:2.1.8,
bctls-fips:2.1.20, bcutil-fips:2.1.5.

CertificateHttpClientConfig: BouncyCastleProvider → BouncyCastleFipsProvider,
KeyStore provider "PKCS12" → "PKCS12/BCFIPS", decryptor builder pinned to
"BCFIPS" provider. All 20 existing tests pass.

Downstream tracking: https://jira.tools.sap/browse/RBSALSRV-511
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.

1 participant