←back to thread

218 points miketheman | 3 comments | | HN request time: 0.641s | source
Show context
cpburns2009 ◴[] No.42137278[source]
Great, now how do you use attestations with Twine when publishing packages on PyPI outside of the Github ecosystem?
replies(2): >>42138625 #>>42140707 #
guappa ◴[] No.42140707[source]
You don't. The whole point is that you can no longer sign anything. Microsoft signs for you.

And of course the signature means "this user can push to github" and nothing more.

replies(1): >>42142395 #
remram ◴[] No.42142395[source]
Hopefully the attestation is bound to a specific commit, so you can know the binaries came from the source?

Otherwise I don't get it.

replies(2): >>42144587 #>>42147256 #
1. guappa ◴[] No.42144587[source]
It doesn't seem to be from what I can see. Only states that the upload came from a gh runner.
replies(1): >>42147267 #
2. woodruffw ◴[] No.42147267[source]
See adjacent comment above.
replies(1): >>42183201 #
3. guappa ◴[] No.42183201[source]
Ok that's at least something.

But my CI can download and run code from everywhere, so that doesn't mean that I can know what is being uploaded just looking at the git repository alone.