Skip to content

crypto: disable non-FIPS WebCrypto paths in FIPS mode #10731

crypto: disable non-FIPS WebCrypto paths in FIPS mode

crypto: disable non-FIPS WebCrypto paths in FIPS mode #10731

Triggered via pull request August 9, 2026 20:51
@panvapanva
ready_for_review #65172
panva:hide-non-fips
Status Failure
Total duration 47m 22s
Artifacts 1

test-shared.yml

on: pull_request
Build slim tarball
1m 10s
Build slim tarball
aarch64-linux: Cache V8 build
21s
aarch64-linux: Cache V8 build
Matrix: build
Matrix: build-openssl
Fit to window
Zoom out
Zoom in

Annotations

2 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-crypto-key-objects-to-crypto-key.js#L147
--- stderr --- node:internal/crypto/util:591 throw lazyDOMException('Invalid key length', 'NotSupportedError'); ^ DOMException [NotSupportedError]: Invalid key length at validateKmacKeyLength (node:internal/crypto/util:591:11) at normalizeKeyLength (node:internal/crypto/mac:65:5) at Object.macImportKey (node:internal/crypto/mac:154:25) at toCryptoKeySecret (node:internal/crypto/keys:758:10) at SecretKeyObject.toCryptoKey (node:internal/crypto/keys:170:18) at macInvalid (/home/runner/work/_temp/node-v27.0.0-nightly2026-08-09e98e57e940-slim/test/parallel/test-crypto-key-objects-to-crypto-key.js:147:8) at invalid.<computed> [as KMAC128] (/home/runner/work/_temp/node-v27.0.0-nightly2026-08-09e98e57e940-slim/test/parallel/test-crypto-key-objects-to-crypto-key.js:360:7) at Object.<anonymous> (/home/runner/work/_temp/node-v27.0.0-nightly2026-08-09e98e57e940-slim/test/parallel/test-crypto-key-objects-to-crypto-key.js:409:18) at Module._compile (node:internal/modules/cjs/loader:1937:14) at Object..js (node:internal/modules/cjs/loader:2077:10) Node.js v27.0.0-pre Command: out/Release/node --expose-internals /home/runner/work/_temp/node-v27.0.0-nightly2026-08-09e98e57e940-slim/test/parallel/test-crypto-key-objects-to-crypto-key.js

Artifacts

Produced during runtime
Name Size Digest
node-v27.0.0-nightly2026-08-09e98e57e940-slim.tar.gz
47.1 MB
sha256:53ec449e36b8f71686aecb8828e1e4214e193d21dc452592289245b1f25b25b9