Skip to content
Merged
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 dev-tools/packaging/testing/package_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,13 @@ func checkFIPS(t *testing.T, agentPackageRootDir string) {
case "-tags":
foundTags = true
require.Contains(t, setting.Value, "requirefips")
require.Contains(t, setting.Value, "ms_tls13kdf")
// the check on ms_tls13kdf is no longer needed for go >= 1.25
// It should probably be conditioned to the output of `go version <binary>`
// for example:
// go version elastic-agent-9.2.0-SNAPSHOT-linux-x86_64/data/elastic-agent-7b3817/components/apm-server
// elastic-agent-9.2.0-SNAPSHOT-linux-x86_64/data/elastic-agent-7b3817/components/apm-server: go1.25.1
//
// require.Contains(t, setting.Value, "ms_tls13kdf")
continue
case "GOEXPERIMENT":
foundExperiment = true
Expand Down
Loading