Conversation
This commit switches the security and identity-provider plugins to use v4 of the OpenSAML library (upgraded from v3). In order to facilitate this upgrade the following changes are also made: - Common Codec is upgraded to 1.15 across all modules - Guava is upgraded to v30 in the 2 affected modules - BouncyCastle has added of the 2 affected modules (OpenSAML4 has a direct dependency on BouncyCastle that we haven't found a way to avoid yet) - SecureSM has been changed to support the Cleaner class in Java9, and the InnocuousThread more generally
|
Pinging @elastic/es-security (Team:Security) |
|
Reconfirming what we already know, adding the standard BC Jars to the classpath means that we cannot run in FIPS mode. |
|
And if I remove |
|
I can use a javaagent to load BCFIPS & BCJSSE on an isolated classloader and register them as security providers. That avoids the JarHell problems (both the triggering of the check and the real problem of having 2 different versions of a class within a single classloading hierarchy). However, that still means that we would ship with a non-FIPS-certified version of BC, we just wouldn't install it as a Which is to say, I think we can make it work technically, but there could still be a FIPS policy problem. |
This resolves FIPS issues by removing the direct dependency on BouncyCastle's bcprov jar, see http://shibboleth.net/pipermail/users/2021-May/049989.html
|
@elasticmachine update branch |
|
@elasticmachine update branch |
|
@elasticmachine run elasticsearch-ci/part-2-fips please |
|
CI job failed due to #78160 |
|
@elasticmachine update branch |
jkakavas
left a comment
There was a problem hiding this comment.
Worked through all the Java changes, LGTM
|
@elasticmachine run elasticsearch-ci/part-2 please |
This reverts some changes from e73d16dc20cf50a5215ee8ff8cccfcbd2f0c1a7es that were incorrectly included within elastic#77012.
This commit switches the security and identity-provider plugins to use
v4.0 of the OpenSAML library (upgraded from v3.4).
In order to facilitate this upgrade the following changes are also
made:
Relates: #71983