Skip to content

Restore Go 1.27 baseline - #301

Merged
jhrozek merged 1 commit into
mainfrom
investigate/sigstore-v1.10.9-go-baseline
Sep 21, 2026
Merged

jhrozek merged 1 commit into
mainfrom
investigate/sigstore-v1.10.9-go-baseline

Conversation

@jhrozek

@jhrozek jhrozek commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Downgrades github.com/sigstore/sigstore from v1.10.10 to v1.10.9 and restores the root module and workspace go directives to 1.27 (matching every other module in the repo, e.g. redisconn/*).
  • v1.10.10 raised sigstore's minimum Go version to 1.27.0 for ML-DSA support, which is not used here (core relies on ECDSA P-256, not sigstore's Azure KMS implementation or its new retry transport).

Security assessment

  • v1.10.9 already includes the legacy TUF path-traversal fix (landed in v1.10.4).
  • This downgrade forgoes v1.10.10's malformed-Ed25519 verifier-length hardening. That change has no published advisory, and reachability through core's PEM public-key input path was not demonstrated.
  • The Azure KMS ECDSA verification fix in v1.10.10 is not relevant to core's current call graph.
  • sigstore-go remains pinned at v1.3.0, which itself only requires [email protected] — so this downgrade doesn't conflict with anything else in the dependency graph (verified via go mod graph / go list -m all).

Test plan

  • go build ./... passes
  • go mod why -m github.com/sigstore/sigstore confirms it's a direct, deliberate dependency (via container/signer → sigstore/pkg/cryptoutils)
  • go mod graph / go list -m all confirm no other path pulls sigstore back to v1.10.10
  • CI (lint + test) passes

Downgrade github.com/sigstore/sigstore from v1.10.10 to v1.10.9 and restore the root module and workspace directives to Go 1.27.

v1.10.10 raised Sigstore's minimum Go version to 1.27.0 for ML-DSA support. toolhive-core uses ECDSA P-256 and does not consume ML-DSA, Sigstore's Azure KMS implementation, or its new retry transport. The sigstore-go dependency remains at v1.3.0.

Security assessment: v1.10.9 already includes the legacy TUF path-traversal fix (fixed in v1.10.4). This downgrade forgoes v1.10.10's malformed-Ed25519 verifier-length hardening; that change has no published advisory, and reachability through core's PEM public-key input path was not demonstrated. The Azure KMS ECDSA verification fix in v1.10.10 is not relevant to core's current call graph.
@jhrozek
jhrozek merged commit a1e57d3 into main Sep 21, 2026
6 checks passed
@jhrozek
jhrozek deleted the investigate/sigstore-v1.10.9-go-baseline branch September 21, 2026 11:24
jhrozek added a commit to stacklok/mecatl that referenced this pull request Sep 21, 2026
….0 pin

v0.0.47-v0.0.49 patch-pinned toolhive-core's own go directive to
`go 1.27.0`, which forces every consumer's go.mod to a patch directive too
(the exact hygiene issue mecatl fixed for itself in #130). v0.0.50 restores
the minor `go 1.27` baseline upstream (stacklok/toolhive-core#301), so this
commit moves the previous commit's target from v0.0.47 to v0.0.50 and
reverts every go.mod/go.work directive this repo picked up back to `go 1.27`.

Updates the ADR-0330 dependency-floor guard's pinned toolhive-core version
alongside the bump.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
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