8000 Upgrade BouncyCastle FIPS by stianst · Pull Request #53139 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

Upgrade BouncyCastle FIPS - #53139

Closed
stianst wants to merge 2 commits into
keycloak:mainfrom
rmartinc:pr-53090
Closed

stianst wants to merge 2 commits into
keycloak:mainfrom
rmartinc:pr-53090

Conversation

@stianst
@stianst stianst commented Sep 24, 2026 •
Copy link
Copy Markdown
Contributor

Closes #52974
Closes #52972

Closes keycloak#52974

Closes keycloak#52972

Signed-off-by: stianst <stianst@gmail.com>
@keycloak-github-bot keycloak-github-bot Bot left a comment
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unreported flaky test detected, please review

@keycloak-github-bot
Copy link
Copy Markdown

Unreported flaky test detected

If the flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR.

org.keycloak.testsuite.adapter.servlet.SAMLClockSkewAdapterTest#testTokenTimeIsValid

Keycloak CI - Adapter IT Strict Cookies

org.jboss.arquillian.graphene.enricher.exception.PageObjectInitializationException: 
Can not instantiate Page Object 
class org.keycloak.testsuite.adapter.page.SalesPostClockSkewServlet
 declared in: 
org.keycloak.testsuite.adapter.servlet.SAMLClockSkewAdapterTest
...

Report flaky test

org.keycloak.testsuite.adapter.servlet.SAMLServletAdapterTest#employeeSigPostNoIdpKeyTestCertSubjectAsKeyNameInKeyInfo

Keycloak CI - Adapter IT Strict Cookies

org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
...

Report flaky test

@rmartinc
rmartinc force-pushed the pr-53090 branch 2 times, most recently from 7e1739a to 95f904c Compare September 24, 2026 16:31
Signed-off-by: rmartinc <rmartinc@redhat.com>
@stianst
stianst marked this pull request as ready for review September 25, 2026 08:13
Copilot AI balanced review requested due to automatic review settings September 25, 2026 08:13
@stianst
stianst requested review from a team as code owners September 25, 2026 08:13
Copilot AI left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The dependency, expected-output, documentation, and certificate-fixture updates are consistent, and the relevant FIPS checks pass.

Review effort: Balanced
Findings: None

What changed in this PR

Upgrades Bouncy Castle FIPS to address CVE-2026-13505 and CVE-2026-8798, while refreshing certificate fixtures for stricter hostname validation.

Changes:

  • Upgrades the compatible Bouncy Castle FIPS dependency set.
  • Updates expected provider-version output in tests and documentation.
  • Reissues test certificates with a localhost SAN and refreshes dependent stores.
File Description
pom.xml Upgrades FIPS dependencies.
docs/​guides/​server/​fips.adoc Updates documented provider version.
quarkus/​tests/​integration/​src/​test/​java/​org/​keycloak/​it/​cli/​dist/​FipsDistTest.java Updates expected provider version.
tests/​base/​src/​test/​resources/​keycloak.bcfks Refreshes the server certificate store.
tests/​base/​src/​test/​resources/​keycloak-truststore.bcfks Refreshes the associated truststore.
tests/​base/​src/​test/​resources/​keycloak-truststore.pem Adds the reissued localhost certificate.
tests/​base/​src/​test/​resources/​org/​keycloak/​tests/​cli/​keycloak.truststore Refreshes the CLI truststore fixture.
testsuite/​integration-arquillian/​servers/​app-server/​jboss/​common/​keystore/​keycloak.truststore Refreshes the application-server truststore.
testsuite/​integration-arquillian/​servers/​auth-server/​common/​fips/​keycloak-fips.keystore.bcfks Refreshes the FIPS BCFKS keystore.
testsuite/​integration-arquillian/​servers/​auth-server/​common/​fips/​keycloak-fips.keystore.pkcs12 Refreshes the FIPS PKCS12 keystore.
testsuite/​integration-arquillian/​servers/​auth-server/​common/​fips/​keycloak-fips.truststore.bcfks Refreshes the FIPS BCFKS truststore.
testsuite/​integration-arquillian/​servers/​auth-server/​common/​fips/​keycloak-fips.truststore.pkcs12 Refreshes the FIPS PKCS12 truststore.
testsuite/​integration-arquillian/​servers/​auth-server/​common/​keystore/​keycloak.jks Refreshes the authentication-server keystore.
testsuite/​integration-arquillian/​servers/​auth-server/​common/​keystore/​keycloak.truststore Refreshes the authentication-server truststore.
testsuite/​integration-arquillian/​tests/​base/​src/​test/​resources/​keystore/​keycloak.jks Refreshes the test keystore.
testsuite/​integration-arquillian/​tests/​base/​src/​test/​resources/​keystore/​keycloak.truststore Refreshes the test truststore.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@stianst
stianst commented Sep 25, 2026
Copy link
Copy Markdown
Contributor Author

Closing in favour of #53182

@stianst stianst closed this Sep 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CVE-2026-13505 org.bouncycastle:bc-fips CVE-2026-8798 org.bouncycastle:bc-fips

3 participants

0