News for hackers. Stuff that matters.
Re:PyPI Was Subpoenaed by lll-o-lll on Thursday May 25, 2023 @03:58AM (#36068143)
Why sign at all? Isn’t the key requirement that the component was not tampered with after upload? All you need is a hash for that…

Tracing back the code to a legal entity seems unnecessary in the majority of cases.

Re:PyPI Was Subpoenaed by brabel on Thursday May 25, 2023 @06:36AM (#36069022)
Signing is basically hashing + proof of who created the hash. You need either both, or a way to find which hash is correct according to someone, usually the owner of the artifact, and signing gives you just that.
Re:PyPI Was Subpoenaed by lll-o-lll on Thursday May 25, 2023 @07:22AM (#36069318)
But a hash provides proof to the actual uploader of subsequent tampering. As you cannot modify the hash without the originator being aware, I think it is enough.
Re:PyPI Was Subpoenaed by woodruffw on Thursday May 25, 2023 @11:31AM (#36072041)
Signing is only proof of identity if you (1) know the underlying identity, and (2) actually trust that identity for intelligible reasons (i.e., you can produce a formal description of the trust relationship).

Without those two conditions, a signature is a digest produced by an untrusted party. For PyPI, that means that PGP signatures are no better than (and in some senses, worse) than PyPI's own digests, since PyPI at least is a currently trusted party.

Re:PyPI Was Subpoenaed by Groxx on Thursday May 25, 2023 @11:43AM (#36072195)
A centralized host can't ever be the only reasonable option for trust. They can be manipulated, technically or socially, and that makes everything vulnerable at once.

Both are useful.

Re:PyPI Was Subpoenaed by woodruffw on Thursday May 25, 2023 @12:20PM (#36072704)
The Web PKI is built around centralized roots of trust, and survives because of concerted efforts to make those roots resilient, trustworthy (in terms of underlying ownership), and publicly auditable (with mechanisms like CT).

To the best of my knowledge, there has never been a successful decentralized PKI. Even the most successful uses of PGP are not decentralized; they're essentially private PKIs maintained by a small set of presumed trustworthy maintainers.

Re:PyPI Was Subpoenaed by Groxx on Thursday May 25, 2023 @05:24PM (#36076417)
PGP absolutely is decentralized - I can trust or distrust key X without communicating at all with any external PKI.

I agree that's not all that useful on a global scale - it essentially degrades to the current PKI setup then, because validating everything is expensive and doesn't need to be done by everyone every time to get nearly all of the benefit. But it is a significant difference for individuals making individual decisions.

Re:PyPI Was Subpoenaed by brabel on Thursday May 25, 2023 @01:16PM (#36073396)
Did you not read the parent comments? You're just repeating what was already said.