Skip to content

fix(deps): build on go1.26.10 and sign with cosign v3.1.4 - #5543

Merged
jimmykarily merged 2 commits into
masterfrom
fix/deps-go1.26.10
Oct 21, 2026
Merged

jimmykarily merged 2 commits into
masterfrom
fix/deps-go1.26.10

Conversation

@jimmykarily

Copy link
Copy Markdown
Contributor

Part of #5351

Summary

The v4.4.0-rc1 release run failed at scan shipped bundle (run) on one advisory, GO-2026-6809 (crypto/x509 trusts compromised intermediate certificates), in stdlib@1.26.9. It was published on 2026-10-21 at 00:27 UTC, a few hours before the tag, and hits every binary we build: kairos, kairos-installer and provider-kairos, FIPS variants included. It is fixed in Go 1.26.10.

This bumps the go directive to 1.26.10 in go.mod and tests/go.mod. The build, unit test and release scan jobs all take their Go version from go-version-file: go.mod.

It also takes the open Renovate bump of cosign to v3.1.4 (#5540), a patch release built with Go 1.27.3. Of its behaviour changes, the relevant one restricts bundle signing to one artifact per call; every cosign sign and cosign sign-blob here already signs a single artifact. Nothing here uses --use-signing-config or attached signature files.

Not included

#5539 (tpm-helpers to 2cc4ae1) does not build, by design: tpm-helpers now requires a nonce in GeneratePCRQuote and VerifyPCRQuote, which is the library half of #4828. The kcrypt wiring (three call sites) and the version skew it introduces between old nodes and a new challenger need their own change.

Verification

On Go 1.26.10:

  • make test passes, go vet ./... is clean in tests/, and go mod tidy -diff reports nothing in either module.
  • govulncheck -mode binary on a freshly built kairos-agent no longer reports GO-2026-6809. The only remaining finding is GO-2026-5298, already ignored in osv-scanner.toml until 2026-11-10.

The cosign bump is only exercised by release and factory runs with signing enabled, so it is not covered by the checks on this pull request.

AI disclosure

Investigation, changes and this description were produced with Claude Code. A maintainer pushed the branch; the diff is four one-line version changes.

Closes #5540

πŸ€– Generated with Claude Code

jimmykarily and others added 2 commits October 21, 2026 12:46
GO-2026-6809 (crypto/x509 trusting compromised intermediates) affects
stdlib 1.26.9 and failed the release scan of v4.4.0-rc1. Every shipped
binary is built from the go directive, so bump it in both modules.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
Patch release built with Go 1.27.3. None of its behaviour changes touch
the single-artifact sign and sign-blob calls used here.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
@jimmykarily
jimmykarily requested a review from a team as a code owner October 21, 2026 09:46
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.

2 participants