Update tests/_registryServer.mjs

Co-authored-by: Orie Steele <orie@or13.io>
This commit is contained in:
Thomas Scholtes 2025-04-04 20:02:03 +02:00 committed by GitHub
parent aa1b84939a
commit fa9bb883cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ let privateKey, keyid;
switch (process.env.TEST_INTEGRITY) {
case `invalid_npm_signature`: {
// Claim to use a known NPM signing key but provide an invalid signature
// Claim to use a known NPM signing key but provide a signature from a different key
keyid = `SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U`;
({privateKey} = generateKeyPairSync(`ec`, {
namedCurve: `sect239k1`,