# Error: Cannot find matching keyid (Corepack signature verification)

**Code:** `Corepack keyid` · **Category:** npm · **Seen on:** npm

An older Corepack couldn’t verify the signature of a newly published pnpm/yarn release after npm rotated its signing keys.

## Meaning

Corepack versions bundled with older Node 18/20 releases don’t know the new keys (2025 rotation).

## Common causes

- Outdated Corepack bundled with Node
- packageManager pin downloading a new release

## Quick fix

1. Update Corepack: npm install -g corepack@latest
2. Upgrade Node
3. Temporarily set COREPACK_INTEGRITY_KEYS=0

## Detailed fix by platform

### npm

1. `npm install -g corepack@latest && corepack enable`

## How to diagnose

1. **Version** — corepack --version
2. **Recent change** — Did it start after a deploy, upgrade, or configuration change? Compare with the last working version.

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/npm/corepack-cannot-find-matching-keyid)
