Repository navigation
Conversation
PyPI attestations cover the PyPI copy only, so files downloaded from a GitHub Release had nothing to verify against and Scorecard's Signed-Releases check scored 0. create-release now signs each distribution and the SBOM keylessly and uploads the .sigstore.json bundles next to them. Mirrors stateful-y/python-package-copier#478.
Documentation build overview
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
Description
create-releasenow signs each distribution and the SBOM with Sigstore (keyless,uvx sigstore==4.5.0 sign) and uploads the<file>.sigstore.jsonbundles to the GitHub Release next to the files they sign.id-token: writeis granted tocreate-releaseonly, not tobuild. The security page explains how to verify a downloaded file.Type of Change
Motivation and Context
PyPI attestations cover the PyPI copy only, so Scorecard's Signed-Releases check scores 0 and shows up as a code-scanning alert. Scorecard counts
.sigstore.jsonrelease assets as signatures; the score rises as new releases are published. Same change as stateful-y/python-package-copier#478, applied as the rendered diff so the nextcopier updatehas nothing left to change.Checklist
just fixto format my codejust lintto verify linting and type annotationsAdditional Notes
The signing step only runs in Actions, so this release workflow's next run is the end-to-end check.