mirror of https://github.com/nodejs/corepack.git
Update tests/_registryServer.mjs
Co-authored-by: Orie Steele <orie@or13.io>
This commit is contained in:
parent
aa1b84939a
commit
fa9bb883cd
|
|
@ -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`,
|
||||
|
|
|
|||
Loading…
Reference in New Issue