Issue
New releases of pnpm and npm signed with the new npm "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U" published to https://registry.npmjs.org/-/npm/v1/keys cannot be installed with the version of Corepack currently distributed with Node.js LTS versions without using workarounds.
For instance,
corepack install -g pnpm@9
executed using Node.js 22.13.1 Active LTS (with bundled corepack@0.30.0) on Ubuntu 24.04.1 LTS results in the error "Cannot find matching keyid":
$ corepack install -g pnpm@9
Installing pnpm@9.15.5...
Internal Error: Cannot find matching keyid: {"signatures":[{"sig":"MEQCIHGqHbvc2zImUPEPFpT4grh6rMYslel+lAjFArx8+RUdAiBfnJA+bgmUvO5Lctfkq+46KKDQdx/8RhLPge3pA+EdHA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"keys":[{"expires":null,"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","keytype":"ecdsa-sha2-nistp256","scheme":"ecdsa-sha2-nistp256","key":"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE1Olb3zMAFFxXKHiIkQO5cJ3Yhl5i6UPp+IhuteBJbuHcA5UogKo0EWtlWwW6KSaKoTNEYL7JlCQiVnkhBktUgg=="}]}
Request
Please clarify if minimum corepack@0.31.0 will be rolled out to Node.js Maintenance and Active LTS status versions 18.x, 20.x and 22.x.
Note: corepack@0.31.0 is already rolled out in the Current Node.js 23.7.0 version.
Related
Workaround
In some situations it is possible to follow the README > Manual Installs section and execute the following to pull in a corrected version of Corepack with updated keys from https://registry.npmjs.org/-/npm/v1/keys:
npm install -g corepack@0.31.0
Status
Issue
New releases of pnpm and npm signed with the new npm
"keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"published to https://registry.npmjs.org/-/npm/v1/keys cannot be installed with the version of Corepack currently distributed with Node.js LTS versions without using workarounds.For instance,
executed using Node.js 22.13.1 Active LTS (with bundled corepack@0.30.0) on Ubuntu
24.04.1LTS results in the error "Cannot find matching keyid":The same problem can be expected to affect any new releases of Yarn Modern aka berry.Yarn v1 Classic is frozen, but could also be affected if security fixes are released.Also older releases of pnpm are currently affected. See Please don't make error of fetching latest version information if packageManager field is specified. #625.
Request
Please clarify if minimum corepack@0.31.0 will be rolled out to Node.js Maintenance and Active LTS status versions
18.x,20.xand22.x.Note: corepack@0.31.0 is already rolled out in the Current Node.js 23.7.0 version.
Related
Workaround
In some situations it is possible to follow the README > Manual Installs section and execute the following to pull in a corrected version of Corepack with updated keys from https://registry.npmjs.org/-/npm/v1/keys:
Status
18.x(Maintenance LTS)20.x(Maintenance LTS)22.x(Active LTS)