[BUG] Third party registry returns E400 on /-/npm/v1/keys for npm audit signatures
#5479
Closed
2 tasks done
Labels
Bug
thing that needs fixing
Needs Triage
needs review for next steps
Release 8.x
work is associated with a specific npm 8 release
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
npm audit signatures
skips audit on dependencies when registry does not return signing keys.The method used to determine if the repository supports signing keys is to look for a E404, but some third-party registries return E400 instead.
Expected Behavior
In addition to expecting E404 also check for E400 to indicate that the third-party registry does not return signing keys.
Steps To Reproduce
Environment
The text was updated successfully, but these errors were encountered: