Skip to content

parallel/test-webcrypto-encrypt-decrypt.js regression #31631

@bartlomieju

Description

@bartlomieju

Test update to Node.js 24.12.0 in #31628 causes parallel/test-webcrypto-encrypt-decrypt.js regression:

error: AssertionError: Test "parallel/test-webcrypto-encrypt-decrypt.js" failed: error: Uncaught (in promise) NotSupportedError: Unrecognized algorithm name
    const { publicKey, privateKey } = await subtle.generateKey({
                                                   ^
    at normalizeAlgorithm (ext:deno_crypto/00_crypto.js:269:11)
    at normalizeAlgorithm (ext:deno_crypto/00_crypto.js:241:12)
    at normalizeAlgorithm (ext:deno_crypto/00_crypto.js:302:37)
    at SubtleCrypto.generateKey (ext:deno_crypto/00_crypto.js:1647:33)
    at test (file:///home/admin/actions-runner/_work/deno/deno/tests/node_compat/runner/suite/test/parallel/test-webcrypto-encrypt-decrypt.js:66:52)
    at file:///home/admin/actions-runner/_work/deno/deno/tests/node_compat/runner/suite/test/parallel/test-webcrypto-encrypt-decrypt.js:102:3
    at Object.<anonymous> (file:///home/admin/actions-runner/_work/deno/deno/tests/node_compat/runner/suite/test/parallel/test-webcrypto-encrypt-decrypt.js:215:3)
    at Module._compile (node:module:1043:34)
    at loadMaybeCjs (node:module:1083:10)
    at Object.Module._extensions..js (node:module:1066:12)

    throw new AssertionError(msg);
          ^
    at assert (file:///home/admin/actions-runner/_work/deno/deno/tests/util/std/assert/assert.ts:21:11)
    at run (file:///home/admin/actions-runner/_work/deno/deno/tests/node_compat/test.ts:42:3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions