logoalt Hacker News

eesmith • today at 6:20 PM • 2 replies • view on HN

So I, as someone who does my builds locally, can never have attested builds?

Will PyPI be presenting warnings or statements of caution which might cause users to be concerned about using my distributions? Or imply that my build practices are somehow inferior to depending on a third-party build system?


Replies

guipsp • today at 6:24 PM

Yes, that is right - that's the purpose of attesting builds.

Do you see any other alternative?

➕ show 1 reply
woodruffw • today at 6:27 PM

There's a discussion thread for email attestations here[1]. Those would support local builds.

But to take a step back: if you want attested builds because you think attestation is itself a gold star, then you're working from the wrong priors. Attestations do not imply that a package is secure any more than a hash does; what they are is a cryptographic signature over a set of claims, which allows for authenticated auditing of a project's state over time.

I think PyPI's documentation does a good job of conveying this nuance[2], and that much of the opprobrium of attestations comes from people either not understanding that nuance or imputing conspiracies into it.

[1]: https://github.com/pypi/warehouse/issues/18007

[2]: https://docs.pypi.org/attestations/security-model/#trustwort...

➕ show 1 reply