To increase confidence in the npm public registry, we add our PGP signature to package metadata and publicize our public PGP key on Keybase. Our Keybase account is "npmregistry" and our public PGP key can be found at https://keybase.io/npmregistry/pgp_keys.asc
You can use the package PGP signature and our public PGP key to verify that the same entity who published the key (npm) also signed the package you downloaded from the npm public registry. For more information, see "Verifying the PGP signature of a package from the npm public registry".
We use Keybase to publicize our PGP key and give you confidence that the npm registry you install from is the same registry that signs packages.
Keybase offers two advantages over the core OpenPGP experience that move us to recommend it to you:
We’ve established proofs on Keybase that we control @npmjs on Twitter, the domain npmjs.com, and the domain npmjs.org. Verifying these proofs won’t tell you who owns those domains, but it does establish that the same entity controls them and the PGP key advertised on Keybase.
If you install Keybase and create an account, you can follow npmregistry yourself and obtain a local copy of the registry’s public key. For more information, and to verify the PGP signature of a specific package version from the npm public registry, see "Verifying the PGP signature for a package from the npm public registry".
© npm, Inc. and Contributors
Licensed under the npm License.
npm is a trademark of npm, Inc.