crypto: improve SubtleCrypto.supports() accuracy #10848
test-shared.yml
on: pull_request
Annotations
6 errors
|
aarch64-linux: with shared openssl-fips-3.5.7 / build
Process completed with exit code 2.
|
|
aarch64-linux: with shared openssl-fips-3.5.7 / build:
test/parallel/test-webcrypto-sign-verify-rsa.js#L293
--- stderr ---
(node:78983) ExperimentalWarning: The SHA3-256 Web Crypto API algorithm is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
(node:78983) ExperimentalWarning: The SHA3-384 Web Crypto API algorithm is an experimental feature and might change at any time
(node:78983) ExperimentalWarning: The SHA3-512 Web Crypto API algorithm is an experimental feature and might change at any time
node:internal/process/promises:324
triggerUncaughtException(err, true /* fromPromise */);
^
AssertionError [ERR_ASSERTION]: The validation function is expected to return "true". Received false
Caught error:
OperationError: algorithm.modulusLength must be at least 2048
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Promise.all (index 42)
at async /home/runner/work/_temp/node-v27.0.0-nightly2026-08-11ffbf847b9f-slim/test/parallel/test-webcrypto-sign-verify-rsa.js:292:3 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: DOMException [OperationError]: algorithm.modulusLength must be at least 2048
at Object.validator (node:internal/crypto/webidl:160:15)
at Object.RsaHashedKeyGenParams (node:internal/webidl:779:29)
at normalizeAlgorithm (node:internal/crypto/util:678:61)
at SubtleCrypto.generateKeyImpl (node:internal/crypto/webcrypto:188:31)
at callSubtleCryptoMethod (node:internal/crypto/webcrypto:97:20)
at SubtleCrypto.generateKey (node:internal/crypto/webcrypto:173:10)
at /home/runner/work/_temp/node-v27.0.0-nightly2026-08-11ffbf847b9f-slim/test/parallel/test-webcrypto-sign-verify-rsa.js:264:14
at Object.<anonymous> (/home/runner/work/_temp/node-v27.0.0-nightly2026-08-11ffbf847b9f-slim/test/parallel/test-webcrypto-sign-verify-rsa.js:293:3)
at Module._compile (node:internal/modules/cjs/loader:1937:14)
at Object..js (node:internal/modules/cjs/loader:2077:10),
expected: [Function (anonymous)],
operator: 'rejects',
diff: 'simple'
}
Node.js v27.0.0-pre
Command: out/Release/node /home/runner/work/_temp/node-v27.0.0-nightly2026-08-11ffbf847b9f-slim/test/parallel/test-webcrypto-sign-verify-rsa.js
|
|
Test Shared libraries
Canceling since a higher priority waiting request for Test Shared libraries-better-supports-again exists
|
|
Test Shared libraries
Canceling since a higher priority waiting request for Test Shared libraries-better-supports-again exists
|
|
x86_64-darwin: with shared libraries / build
Canceling since a higher priority waiting request for Test Shared libraries-better-supports-again exists
|
|
x86_64-darwin: with shared libraries / build
The operation was canceled.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
node-v27.0.0-nightly2026-08-11ffbf847b9f-slim.tar.gz
|
47 MB |
sha256:8901be8c25da7c60187efe76a2b8fcceda7b7aeddfa788a563754eeb1bdf7f8d
|
|