Skip to content

Installing pnpm 10.1.0 on windows fails with cannot find matching keyid #9014

@akaltar

Description

@akaltar

Verify latest release

  • I verified that the issue exists in the latest pnpm release

pnpm version

10.1.0

Which area(s) of pnpm are affected? (leave empty if unsure)

Operating System (Windows, MacOS, Linux)

Link to the code that reproduces this issue or a replay of the bug

No response

Reproduction steps

corepack install --global [email protected]
or even pnpm self-update fails

Oddly installing any other pnpm version seems to work, and the error isn't the same as when trying to install a non-existent version

Describe the Bug

Internal Error: Cannot find matching keyid: {"signatures":[{"sig":"MEUCIQDlkgmNyZjT7KUY8AO6jH7Gs3fyiXG8nbTnuLbd8fOS2AIgXyJ6SaYhumMFzUYQAZPJGhsnlaD5N0X2MZsbG+eS/Xo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"keys":[{"expires":null,"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","keytype":"ecdsa-sha2-nistp256","scheme":"ecdsa-sha2-nistp256","key":"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE1Olb3zMAFFxXKHiIkQO5cJ3Yhl5i6UPp+IhuteBJbuHcA5UogKo0EWtlWwW6KSaKoTNEYL7JlCQiVnkhBktUgg=="}]}
    at verifySignature (C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:22688:11)
    at installVersion (C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:23037:7)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Engine.ensurePackageManager (C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:23449:32)
    at async InstallGlobalCommand.installFromDescriptor (C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:23846:5)
    at async InstallGlobalCommand.execute (C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:23828:9)
    at async InstallGlobalCommand.validateAndExecute (C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:20954:22)
    at async _Cli.run (C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:21929:18)
    at async Object.runMain (C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:24227:18)

Expected Behavior

pnpm 10.1.0 gets installed

Which Node.js version are you using?

Node.js v22.1.0

Which operating systems have you used?

  • macOS
  • Windows
  • Linux

If your OS is a Linux based, which one it is? (Include the version if relevant)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions