-
Notifications
You must be signed in to change notification settings - Fork 25k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update opensaml dependency to 4.1.0 #71983
Comments
Pinging @elastic/es-security (Team:Security) |
OpenSAML 4.0 requires Java 11. |
I've started work on this in #77012 There's a few issues to work out, but most of them seem to be solvable except OpenSAML4 seems to have a hard dependency on the standard (non-FIPS) distribution of BouncyCastle. |
This commit switches the security and identity-provider plugins to use v4.0.1 of the OpenSAML library (upgraded from v3.4). In order to facilitate this upgrade the following changes are also made: - Common Codec is upgraded to 1.14 across all modules - Guava is upgraded to v28.2 in the 2 affected modules Relates: #71983
We've upgraded to v4.0 in #77012, but could not upgrade to v4.1 due to an incompatibility with FIPS. |
A few more versions of OpenSAML are out - as of this comment they're up to 4.3.0. Perhaps we should check whether OpenSAML is still incompatible with bc-fips or if this problem has been addressed somehow. |
I can confirm that OpenSAML 4.3.0 still requires bouncy castle as a runtime dependency.
Here's a sample failure https://gradle-enterprise.elastic.co/s/26awfttvvkagg from my incomplete attempt at an upgrade #95633 . The opensaml initialization code builds a map of supported EC curve params, presumably to be later used to validate signatures. As I understand it, we don't want to supply a runtime dependency of |
PS Look for references of |
This commit upgrades to OpenSAML v4.3.0 Versions of OpenSAML ≥ 4.1 have a hard dependency on the non-FIPS release of BouncyCastle. This would prevent ES from being able to run in a JVM where BC-FIPS is configured as the security provider. Closes: #71983 Co-authored-by: Tim Vernum tim@adjective.org
This commit upgrades to OpenSAML v4.3.0 Versions of OpenSAML ≥ 4.1 have a hard dependency on the non-FIPS release of BouncyCastle. This would prevent ES from being able to run in a JVM where BC-FIPS is configured as the security provider. Closes: elastic#71983 Co-authored-by: Tim Vernum tim@adjective.org
This commit upgrades to OpenSAML v4.3.0 Versions of OpenSAML ≥ 4.1 have a hard dependency on the non-FIPS release of BouncyCastle. This would prevent ES from being able to run in a JVM where BC-FIPS is configured as the security provider. Backport of: #98199 Closes: #71983 Co-authored-by: Tim Vernum tim@adjective.org
opensaml 4.1.0 was released on 23/04/21. We should look into upgrading our dependencies for the SAML realm and the Identity Provider implementations
The text was updated successfully, but these errors were encountered: