Skip to content

Commit fb4b7cf

Browse files
committed
feat: add npm audit signatures
Implemenents [RFC: Improve signature verification](npm/rfcs#550) Adds a new sub-command to `audit`: `npm audit signatures` (following [`npm audit licenses`](#3452)) This command will verify registry signatures stored in the packument against a public key on the registry. Supporting: - Any registry that implements `host/-/npm/v1/keys` endpoint and provides `signatures` in the packument `dist` object - Validates public keys are not expired - Errors when encountering packages with missing signatures when the registry returns keys at `host/-/npm/v1/keys` - Errors when encountering invalid signatures - Output: json/human formats
1 parent 0ce09f1 commit fb4b7cf

File tree

5 files changed

+2077
-9
lines changed

5 files changed

+2077
-9
lines changed

0 commit comments

Comments
 (0)