question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cd: re-enable release signing

See original GitHub issue

Description 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:

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
jkucommented, Sep 30, 2022

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?

2reactions
lukpuehcommented, Jun 15, 2022

Thanks for posting this summary!

IMO there are two things that make the hand-crafted in-toto solution so hard to understand/verify:

  1. 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.

  2. 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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found