8000 Disable X25519MLKEM768 for Maven in FIPS tests by stianst · Pull Request #54399 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/scripts/run-fips-it.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ if [ $? -ne 0 ]; then
fi
echo "Tests: $TESTS"
export JAVA_HOME="/etc/alternatives/java_sdk_${JAVA_VERSION}"
# JDK 25.0.5+ offers the X25519MLKEM768 hybrid TLS group, which fails in FIPS mode when resolving from Maven Central
export MAVEN_OPTS="$MAVEN_OPTS -Djdk.tls.namedGroups=secp256r1,secp384r1,secp521r1,x25519,ffdhe2048,ffdhe3072"
set -o pipefail

# Build adapter distributions
Expand Down
2 changes: 2 additions & 0 deletions .github/scripts/run-fips-ut.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ if [ $? -ne 0 ]; then
exit 1
fi
export JAVA_HOME="/etc/alternatives/java_sdk_${JAVA_VERSION}"
# JDK 25.0.5+ offers the X25519MLKEM768 hybrid TLS group, which fails in FIPS mode when resolving from Maven Central
export MAVEN_OPTS="$MAVEN_OPTS -Djdk.tls.namedGroups=secp256r1,secp384r1,secp521r1,x25519,ffdhe2048,ffdhe3072"

# Build all dependent modules
./mvnw install -nsu -B -am -pl crypto/default,crypto/fips1402 -DskipTests
Expand Down
Loading
0