You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should do a better job of explaining why the preferred way of installing yarn is not via NPM or don't mention this at all if we don't have a good reason.
Right now I think the package signature verification aspect is important but I'd like to hear more to come up with a solid explanation.
The text was updated successfully, but these errors were encountered:
Note: Installation of Yarn via npm is generally not recommended. When installing Yarn with Node-based package managers, the package is not signed, and the only integrity check performed is a basic SHA1 hash, which is a security risk when installing system-wide apps.
The only inaccuracy I see here is that newer versions of npm use SHA512 rather than SHA1. We can probably just change the text to say "basic hash" rather than specifying an exact hashing algorithm.
This issue was brought up here: https://twitter.com/maybekatz/status/890320508813586433
We should do a better job of explaining why the preferred way of installing yarn is not via NPM or don't mention this at all if we don't have a good reason.
Right now I think the package signature verification aspect is important but I'd like to hear more to come up with a solid explanation.
The text was updated successfully, but these errors were encountered: