Skip to content

[CI] : Bump Go toolchain to 1.26.10 for eMudhra CA compromise - #689

Merged
rr3khan merged 1 commit into
1Password:mainfrom
rr3khan:fix/ci-go-emudhra
Oct 21, 2026
Merged

rr3khan merged 1 commit into
1Password:mainfrom
rr3khan:fix/ci-go-emudhra

Conversation

@rr3khan

@rr3khan rr3khan commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Overview

On 2026-10-20 the private keys of eight eMudhra intermediate CA certificates were disclosed. Go's fix is in 1.26.10 and 1.27.3, with no backport to 1.24 or 1.25.

This follows the same approach as 1Password/terraform-provider-onepassword#407:

  • go.mod: adds toolchain go1.26.10. The go 1.24 minimum is unchanged, so downstream consumers (including op) aren't forced to raise their Go version. Go ignores the toolchain line when this module is a dependency.
  • CI: both jobs now use go-version-file: go.mod, and setup-go installs the version from the toolchain line. Before this, the Lint job was pinned to 1.24, which will never get the fix, and the Test job used ^1.18, which could pick an older, unpatched Go cached on the runner.

Not changed

  • Nix dev shell (flake.nix / flake.lock): the Go 1.26.10 bump in nixpkgs (NixOS/nixpkgs#576200) is still on staging and hasn't reached nixpkgs-unstable. The weekly flake-update bot will pick it up once it lands. Until then the shell keeps working, because only the go 1.24 line is required.

Testing

On Go 1.26.10:

  • make test and make validate: pass
  • golangci-lint v2.12.2: 0 issues
  • go mod tidy: no changes

Type of change

  • Created a new plugin
  • Improved an existing plugin
  • Fixed a bug in an existing plugin
  • Improved contributor utilities or experience

Related Issue(s)

None

How To Test

On Go 1.26.10:

  • make test and make validate: pass
  • golangci-lint v2.12.2: 0 issues
  • go mod tidy: no changes

Changelog

Bump Go toolchain to 1.26.10 for eMudhra CA compromise

The eMudhra intermediate CA keys disclosed on 2026-10-20 are only
handled in Go 1.26.10 and 1.27.3; there is no backport to 1.24 or 1.25.
- go.mod: add `toolchain go1.26.10`. The `go 1.24` minimum is
  unchanged, so consumers aren't forced to upgrade.
- CI: both jobs now read the Go version from go.mod
  (go-version-file), so the toolchain line is the single place
  to bump. Previously Test used ^1.18 (whatever Go was cached
  on the runner) and Lint was pinned to 1.24.
@rr3khan
rr3khan requested a review from a team October 21, 2026 20:09
@rr3khan
rr3khan merged commit 93ebf31 into 1Password:main Oct 21, 2026
3 checks passed
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.

3 participants