2 ms·
> It works nicely in your theory, in practice no one does this because you always have a chain in which some dep is not trusted. It works fine in practice; I'v
by lmm 3y ago
> It works nicely in your theory, in practice no one does this because you always have a chain in which some dep is not trusted.
It works fine in practice; I've seen at least one big company do it. It doesn't happen in the public ecosystem only because people don't care enough.
> It's a poor ecosystem, dominated by untrustworthy participants. There's no digital identity verification of participants or their packages. anyone can claim to be whoever they want to.
Fixing that isn't hard. The Java/Maven ecosystem already enforces OpenPGP signing of all package uploads; NPM could do the same if they wanted.