Repository navigation
release: check attestations by the file's digest - #112
Merged
Merged
Conversation
cosign verify-blob-attestation given a file reads it whole and refuses one over COSIGN_MAX_ATTACHMENT_SIZE (128 MiB). The tarball is 338 MB, so v20261013.01's run failed after signing it: "size of layer (338500782) exceeded the limit (134217728)". --digest/--digestAlg checks the in-toto subject against the file's sha256 without reading the file into cosign; verified locally with cosign v3.0.5 over a 200 MB file (the digest passes, another is refused). docs/releasing.md gives the operator the same command. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
The v20261013.01 release failed at
cosign verify-blob-attestationover the 338 MB tarball:size of layer (338500782) exceeded the limit (134217728). Given a file, cosign reads it whole and refuses anything overCOSIGN_MAX_ATTACHMENT_SIZE(128 MiB). Signing andverify-blobworked.--digest <sha256> --digestAlg sha256: the in-toto subject is held to the file's hash, and cosign never reads the file.Checked locally with cosign v3.0.5 over a 200 MB file: by file it reproduces the error; by digest it verifies, and a wrong digest is refused. The failed run stopped before
Tag the commit, so a rerun gets v20261013.01 again.🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need.