Comment

Comment by CamouflagedKiwi

I've thought this about Maven Central before (not familiar with Leiningen, but it seems it's trying to do a similar thing).

Maven Central has PGP signatures for all uploaded artifacts - but they are in fact useless, because anyone can create a PGP key that claims to be (say) [email protected] and upload that to a keyserver. There appears to be no mechanism by which a consumer can know whether the signing key should be trusted, so an attacker uploading a malicious artifact can easily upload a malicious signature with it.

I'm not going to argue with any of the criticisms of PGP in the linked article, but they don't seem hugely relevant to the problem here; the fundamental trust problem is much deeper than "GPG has janky code" (and it's not like there aren't any other options at all).

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton