Closed
Description
What is the bug?
Current version of OpenSAML (4.3.2) does not work in FIPS mode as it has a hard dependency (org.bouncycastle.jce.ECNamedCurveTable
) on the non-FIPS distribution of Bouncy Castle
How can one reproduce the bug?
Steps to reproduce the behavior:
- Replace BC with BC-FIPS
- Run OpenSAML related tests
- You will see a error due to missing the
ECNamedCurveTable
dependency
Potential solutions
- Downgrade OpenSAML to 3.x
- Downgrade OpenSAML to 4.0 (Tests seem to pass under that version, however some untested functionality might still be broken)
- Replace OpenSAML with Keycloak as it supports running in FIPS 140-2 compliant mode
Relevant links
#3420
elastic/elasticsearch#71983
https://shibboleth.atlassian.net/wiki/spaces/DEV/pages/1159627167/FIPS
https://shibboleth.net/pipermail/dev/2023-August/011111.html
https://www.keycloak.org/server/fips