Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: error when passing signature without keys #176

Merged
merged 1 commit into from Jun 1, 2022

Commits on Jun 1, 2022

  1. fix: error when passing signature without keys

    Raise an error when the package has a signature, `verifySignatures` is true and there are no registry keys configured.
    
    Updated the error message and fixed the undefined name@version in the error message to match the test cases here:
    npm/cli#4827
    
    Possible anti-pattern: I've attached a bunch of error attributes if the signature is invalid so we can present this in the json output to ease debugging.
    feelepxyz committed Jun 1, 2022
    Configuration menu
    Copy the full SHA
    23017ba View commit details
    Browse the repository at this point in the history