cd: re-enable release signing
See original GitHub issueDescription of issue or feature request: https://github.com/theupdateframework/python-tuf/pull/1946 adds a CD workflow to release build artifacts on PyPI and GH upon successful completion of the CI workflow for a pushed release tag.
The PR also removes instructions from RELEASE.md to gpg sign release artifacts and add them to the GitHub release assets as part of the previously manual release process. However, the installation docs still mention release signatures.
Current behavior: No instructions / release process integration to sign release artifacts
Expected behavior: Add instructions to sign release artifacts and integrate with release process
Ideas:
- quick-fix 1: sign in GitHub CD action
- quick-fix 2: sign locally and upload signatures to release assets manually (bonus: integrate signing/uploading with
verify_release
script) - long-term fix: e.g. in-toto (https://github.com/theupdateframework/python-tuf/issues/529)
Issue Analytics
- State:
- Created a year ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
The CD drive or the DVD drive does not work as expected on ...
Symptoms. The CD drive or DVD drive on your computer no longer works as expected when the computer restarts after you complete one...
Read more >How to reset the CD changer to resolve disc playback problems.
Follow this procedure to reset the CD changer to resolve disc playback problems. Turn off the CD player. Press the ALL CLEAR or...
Read more >Reset Windows 10 Password With CD or Software [Tutorial]
Method 2: Login with Other Sign -in Option If you can still log into Windows ... Boot your computer with DaRT Recovery CD...
Read more >Code Signing Tasks - Apple Developer
Explains how to use command-line tools to sign your code.
Read more >Push rules - GitLab Docs
This push rule requires a Signed-off-by: trailer in every commit message, and rejects any commits that lack it. Validate branch names. To validate...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Maybe time to discuss this one again? sigstore-python now does attestations with slsa-github-generator (this is the generic “provenance only” generator): https://github.com/sigstore/sigstore-python/blob/main/.github/workflows/release.yml#L82
I understand that that does not cover all the bases this PR does (as explained in previous comment)… but their approach seems more approachable and easier to integrate. python-tuf project obviously has the expertise to do whatever intoto magic we want but… I would like to be able to show python-tuf as an example for others who won’t have that expertise: in this regard the slsa-github-generator approach seems nice.
I think I would benefit from an interactive session where we go through the various attestations we need (and the ones we want); what is provided by the slsa-github-generator approach, what isn’t; what is the verification story for these different attestations, and how they affect the maintainer workflows
Maybe we can catch up on slack next week and choose a time to discuss?
Thanks for posting this summary!
IMO there are two things that make the hand-crafted in-toto solution so hard to understand/verify:
Key management and metadata distribution (issue summary here) – This is arguably easier with a sigstore-based approach with their ephemeral keys, OIDC-providers, identity/signature logs, etc.
Signed Policy (i.e. attestation requirements, artifact interrelation, individual signer authentication, thresholds; see example policy document here ) – This is simply not considered by the other approaches, which of course makes their verification comparably easier.
Wrt (1) in-toto could learn from the other approaches, about (2) it should probably inspire them.