Skip to content

deps: build releases with Go 1.27.3 and bump x/net in socair-sigstore - #312

Merged
Defilan merged 1 commit into
mainfrom
deps/go-1.27.3
Nov 4, 2026
Merged

Defilan merged 1 commit into
mainfrom
deps/go-1.27.3

Conversation

@Defilan

@Defilan Defilan commented Nov 4, 2026

Copy link
Copy Markdown
Member

Triage of the repository's open security alerts found one fix that the shipped binaries lack, and one module version that OpenSSF Scorecard flags.

Go 1.27.3 for release builds

release.yml pins the release toolchain. It was 1.27.2, which built rc.8 (go version on the rc.8 binaries reads go1.27.2).

GO-2026-6809 is fixed only in 1.27.3. With the fix, crypto/x509 refuses the intermediate certificates that are no longer trusted. Socair calls Certificate.Verify in three places:

  • TLS (airlock pull, registry calls);
  • PKI-certificate OMS bundles (internal/oms);
  • socair-sigstore's keyless verification.

CI already runs tests and govulncheck on the current 1.27 release (go-version-file: go.mod), which is why CI was green while the pinned release toolchain lagged. This changes only what ships. The release dry run on this PR rebuilds with 1.27.3 and checks the build reproduces.

socair-sigstore: golang.org/x/net v0.60.0 → v0.62.0

This clears GO-2026-6860 and GO-2026-6866. Both are in x/net/html, which socair-sigstore doesn't import (it reaches only x/net/idna). Scorecard's Vulnerabilities check flags the module version anyway.

go get also moved x/crypto, x/sync, x/sys, x/term, and x/text to the versions x/net v0.62.0 requires. vendor/ was regenerated with go mod vendor.

Checks (local, Go 1.27.3)

  • govulncheck on the main module: no vulnerabilities found.
  • govulncheck on socair-sigstore: none called. GO-2026-5932 (x/crypto/openpgp) stays: it's required but not imported, and has no tagged fix.
  • socair-sigstore: gofmt, vet, build, and go test -race pass. go mod vendor reproduces the vendor tree. go mod verify passes.

Assisted-by: Claude Code (ran the alert triage and govulncheck, made the change; the maintainer's review is pending)

Release binaries are built with the toolchain release.yml pins. rc.8's
were built with go1.27.2, which lacks GO-2026-6809 (fixed in go1.27.3):
crypto/x509 now refuses the intermediate certificates that are no longer
trusted. Socair reaches Certificate.Verify through TLS (airlock pull,
registry calls) and through PKI-certificate OMS bundles (internal/oms);
socair-sigstore reaches it through its keyless verification. CI already
tests on the current 1.27 release, so this changes only what ships.

socair-sigstore moves golang.org/x/net from v0.60.0 to v0.62.0, clearing
GO-2026-6860 and GO-2026-6866 (x/net/html, which it does not import; the
OpenSSF Scorecard check flags the module version). go get also raised
x/crypto, x/sync, x/sys, x/term, and x/text to the versions x/net v0.62.0
requires; vendor/ is regenerated with go mod vendor.

govulncheck under go1.27.3: the main module finds none; socair-sigstore
finds none called (GO-2026-5932, x/crypto/openpgp, is required but not
imported, and has no tagged fix).

Signed-off-by: Christopher Maher <chris@mahercode.io>
@Defilan
Defilan merged commit d783328 into main Nov 4, 2026
21 checks passed
@Defilan
Defilan deleted the deps/go-1.27.3 branch November 4, 2026 01:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant