Skip to content

chore(deps): pin cosign 3.1.4 for signing and verification - #2459

Merged
HuiJun merged 1 commit into
developfrom
chore/cosign-pin
Nov 21, 2026
Merged

HuiJun merged 1 commit into
developfrom
chore/cosign-pin

Conversation

@HuiJun

@HuiJun HuiJun commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

What and why

Part of #2452.

The checksum manifest of every release and nightly is signed and verified with cosign 3.0.3, pinned in three places: .circleci/config.yml (go install …/cosign@v3.0.3), .github/workflows/nightly.yml and .github/workflows/release-pypi.yml (cosign-release). Four upstream advisories name that version, all on verification:

Advisory Summary Fixed in
CVE-2026-22703 Verification accepts any valid Rekor entry under certain conditions 3.0.4
CVE-2026-24122 Signatures valid with certificates that outlive expired CA certificates 3.0.5
CVE-2026-39395 verify-blob-attestation false positive when payload parsing fails 3.0.6
GHSA-fx35-mq7g-6g98 Verification bypass via public key in legacy bundle 3.1.3

All three pins move to 3.1.4, the current release, and TestCosignIsPinnedAtOneVersionEverywhere holds them at one exact version. The installer action is unchanged: sigstore/cosign-installer v4.1.3 already defaults to 3.1.4.

Not changed: CircleCI still builds cosign with go install at the version tag, verified by the Go checksum database, rather than fetching a digest-pinned binary.

How it was verified

With cosign 3.1.4 built locally by the same go install line (Go 1.27.4):

  • cosign verify-blob on the published nightly-20261119-32b562fca6 manifest and bundle, with the nightly workflow's issuer and identity: Verified OK; with another workflow's identity it is refused.
  • cosign verify-blob on the published v0.12.1 manifest and bundle, with its CircleCI issuer and the release's identity pattern: Verified OK; with one line appended to the manifest it is refused.
  • Every flag the three files pass is accepted. --use-signing-config=false on sign-blob and attest-blob still works but now prints a deprecation notice.
  • go test -count=1 ./tests/hygiene -run 'Cosign|Nightly|Release', go vet ./tests/hygiene, gofmt -l, actionlint on the two workflows, scripts/check-doc-ids.py, scripts/changelog.py check pass.

Not verified: keyless signing itself (sign-blob, attest-blob), which needs the CI's OIDC token. The first nightly after merge exercises it on GitHub Actions; the CircleCI path first runs at the next release. The full make test and make lint were not run locally.

Checklist

  • make test and make lint pass locally
  • Tests added or updated for the change
  • Documentation extended where it already covers the surface (see CONTRIBUTING.md)
  • Changelog entry added as changes/unreleased/<slug>.<section>.md, not as an edit to CHANGELOG.md
  • baselines regenerated and make docs-counts run if a gate count moved (compliance rows need nothing: the census is counted at docs build)
  • No internal work-item labels (waves, slices, F4, K5) in the body, docs, or changelog

Quality Assurance opened this PR for Jason
Implemented in session Fix OpenSysML CI, release and supply chain findings
Review with Devin · Open in Devin Desktop


Co-Authored-By: jason.han <hanhuijun@gmail.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@HuiJun
HuiJun added this pull request to the merge queue Nov 21, 2026
Merged via the queue into develop with commit 829202c Nov 21, 2026
61 of 96 checks passed
@HuiJun
HuiJun deleted the chore/cosign-pin branch November 21, 2026 19:13
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