Repository navigation
chore(deps): pin cosign 3.1.4 for signing and verification - #2459
Merged
Merged
Conversation
Co-Authored-By: jason.han <hanhuijun@gmail.com>
Contributor
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.ymland.github/workflows/release-pypi.yml(cosign-release). Four upstream advisories name that version, all on verification:verify-blob-attestationfalse positive when payload parsing failsAll three pins move to 3.1.4, the current release, and
TestCosignIsPinnedAtOneVersionEverywhereholds them at one exact version. The installer action is unchanged:sigstore/cosign-installerv4.1.3 already defaults to 3.1.4.Not changed: CircleCI still builds cosign with
go installat 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 installline (Go 1.27.4):cosign verify-blobon the publishednightly-20261119-32b562fca6manifest and bundle, with the nightly workflow's issuer and identity:Verified OK; with another workflow's identity it is refused.cosign verify-blobon the publishedv0.12.1manifest and bundle, with its CircleCI issuer and the release's identity pattern:Verified OK; with one line appended to the manifest it is refused.--use-signing-config=falseonsign-blobandattest-blobstill works but now prints a deprecation notice.go test -count=1 ./tests/hygiene -run 'Cosign|Nightly|Release',go vet ./tests/hygiene,gofmt -l,actionlinton the two workflows,scripts/check-doc-ids.py,scripts/changelog.py checkpass.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 fullmake testandmake lintwere not run locally.Checklist
make testandmake lintpass locallychanges/unreleased/<slug>.<section>.md, not as an edit toCHANGELOG.mdmake docs-countsrun if a gate count moved (compliance rows need nothing: the census is counted at docs build)F4,K5) in the body, docs, or changelogImplemented in session Fix OpenSysML CI, release and supply chain findings
Review with Devin · Open in Devin Desktop