Hacker News new | ask | show | jobs
by rtpg 19 days ago
I believe you got that wrong.

Here's some extra context [0]: https://github.com/pypi/warehouse/issues/20927. Loooots of links to click in.

the point here being small service providers are _also_ able to get into this system, but I think there's an expectation of success.

The bar for trusted publishers is very high though. I don't think it's high "on purpose" to leave out certain platforms for being too small, but in effect if (for example) your provider doesn't have a security contact point then that's going to rule them out here.

1 comments

I’d like to see support for trusted publisher signing and manual upload. Think of it as two step auth for artifact publishing. Pipeline generated artifacts and human upload of those verifiable artifacts. The current reality of trusted publishing, is devoid of trust, except it was triggered by a pipeline that pypi trusted. That pypi is now able to call out such trust is great btw, but as a project that currently does this two step generation, it feels like we are penalized for trying to introduce additional steps out of abundance of caution… separately, what mechanism does a client installer have to verify a pkg install was cryptographically attested to wrt to production?

sans client verification of signatures by default, install is still roulette, and I’m glad package managers have introduced package publication date based cool off options now.

Yeah that's not the worst idea, since in theory signing is about tamper prevention.

(Personally I think that we just shouldn't have automated releases via CI, full stop. There should "always" be a person pressing a button to release things. So I'm in a bit of a big tent with manual upload support. At least some second factor for releases!)

I think generally though the idea is that trusted publisher signing + upload is about simplifying .... something. But given how attacks have been happening in the past 24 months I fear that this might not help as much as we want.