Skip to content

Commit a504c40

Browse files
committed
mod: pin elastic-agent-libs to main for native Go FIPS validation
Picks up the unreleased FIPS 140-3 peer-cert key-type enforcement (elastic/elastic-agent-libs#426), which TestConnectionTLS depends on. Update the test's expected error string to match the actual message that check produces, rather than Go's own (unreachable, since a custom TLS callback is always installed) internal FIPS error. This is a temporary pin for CI validation ahead of a tagged elastic-agent-libs release containing the fix.
1 parent e614217 commit a504c40

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ require (
171171
github.com/elastic/bayeux v1.0.5
172172
github.com/elastic/ebpfevents v0.9.0
173173
github.com/elastic/elastic-agent-autodiscover v0.10.3-0.20260423154939-e990715f9426
174-
github.com/elastic/elastic-agent-libs v0.44.0
174+
github.com/elastic/elastic-agent-libs v0.44.1-0.20260701084740-d72ff2012311
175175
github.com/elastic/elastic-agent-system-metrics v0.14.4
176176
github.com/elastic/go-elasticsearch/v8 v8.19.0
177177
github.com/elastic/go-freelru v0.16.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,8 +379,8 @@ github.com/elastic/elastic-agent-autodiscover v0.10.3-0.20260423154939-e990715f9
379379
github.com/elastic/elastic-agent-autodiscover v0.10.3-0.20260423154939-e990715f9426/go.mod h1:HyjdiEVP/A7iMN0jeac2EoUohpHKAZIFRDQsvPDg2Dw=
380380
github.com/elastic/elastic-agent-client/v7 v7.18.1 h1:WnM53JjaukeysrAuiTyrhDPmFxJG07ZAByc2TrkcKcs=
381381
github.com/elastic/elastic-agent-client/v7 v7.18.1/go.mod h1:uDpSGZ+YCKgqgtkwCA0qjwX0gU/wmixDsVbPjY3GkPs=
382-
github.com/elastic/elastic-agent-libs v0.44.0 h1:dONaZsY5G0rVGULP+j5xKyT51rK7nsBNEGywIXcCrg4=
383-
github.com/elastic/elastic-agent-libs v0.44.0/go.mod h1:axkpqDCCzAky6G4D/cklgtZQa3jTNGAMVHVkU0u6YbU=
382+
github.com/elastic/elastic-agent-libs v0.44.1-0.20260701084740-d72ff2012311 h1:p+uPJzJNmuTIgW5fvhQWR8Ur7zVlbOkHcRicGVaZf5Y=
383+
github.com/elastic/elastic-agent-libs v0.44.1-0.20260701084740-d72ff2012311/go.mod h1:axkpqDCCzAky6G4D/cklgtZQa3jTNGAMVHVkU0u6YbU=
384384
github.com/elastic/elastic-agent-system-metrics v0.14.4 h1:XGGepNVOxhtfJmanQsgqCAZESIJtyDIFOKErOaVzFEw=
385385
github.com/elastic/elastic-agent-system-metrics v0.14.4/go.mod h1:NyNMrdqMfznb/Zy8EmIAHlJpX6HuRlNW+bBL9UN7WQY=
386386
github.com/elastic/elastic-transport-go/v8 v8.8.0 h1:7k1Ua+qluFr6p1jfJjGDl97ssJS/P7cHNInzfxgBQAo=

libbeat/esleg/eslegclient/connection_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ ssl:
271271
err = conn.Connect(ctx)
272272

273273
if version.FIPSDistribution {
274-
require.ErrorContains(t, err, "tls: no FIPS compatible certificate chains found")
274+
require.ErrorContains(t, err, "not allowed by FIPS 140-3")
275275
} else {
276276
require.NoError(t, err)
277277
}

0 commit comments

Comments
 (0)