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
8 changes: 7 additions & 1 deletion .buildkite/scripts/test-fipsonly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,13 @@ with_go_junit_report

echo "--- Go Test fips140=only"
set +e
GODEBUG=fips140=only go test -tags=integration,requirefips -race -v ./... > test-fips-report.txt

#We also set GODEBUG=tlsmlkem=0 to disable the X25519MLKEM768 TLS key
#exchange mechanism; without this setting and with the GODEBUG=fips140=only
#setting, we get errors in tests like so:
#Failed to connect: crypto/ecdh: use of X25519 is not allowed in FIPS 140-only mode
#Note that we are only disabling this TLS key exchange mechanism in tests!
GODEBUG="fips140=only,tlsmlkem=0" go test -tags=integration,requirefips -race -v ./... > test-fips-report.txt
Comment thread
belimawr marked this conversation as resolved.
exit_code=$?
set -e

Expand Down
2 changes: 1 addition & 1 deletion .go-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.24.13
1.25.8
Loading