crypto: add crypto.parsePKCS12() #11859
Triggered via pull request
August 29, 2026 13:31
Status
Failure
Total duration
3h 16m 22s
Artifacts
2
test-shared.yml
on: pull_request
Annotations
4 errors
|
aarch64-linux: with shared boringssl-0.20260803.0 / build
Process completed with exit code 2.
|
|
aarch64-linux: with shared boringssl-0.20260803.0 / build:
test/parallel/test-crypto-pkcs12.js#L62
--- stderr ---
node:assert:456
throw err;
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
Comparison {
+ code: 'ERR_OSSL_INCORRECT_PASSWORD'
- code: 'ERR_OSSL_PKCS12_MAC_VERIFY_FAILURE'
}
at Object.<anonymous> (/home/runner/work/_temp/node-v27.0.0-nightly2026-08-296d35491073-slim/test/parallel/test-crypto-pkcs12.js:62:10)
at Module._compile (node:internal/modules/cjs/loader:1924:14)
at Object..js (node:internal/modules/cjs/loader:2064:10)
at Module.load (node:internal/modules/cjs/loader:1646:32)
at Module._load (node:internal/modules/cjs/loader:1438:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:261:19)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
at node:internal/main/run_main_module:33:47 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: Error: error:1300006c:PKCS8 routines:OPENSSL_internal:INCORRECT_PASSWORD
at Object.parsePKCS12 (node:internal/crypto/keys:801:7)
at assert.throws.code (/home/runner/work/_temp/node-v27.0.0-nightly2026-08-296d35491073-slim/test/parallel/test-crypto-pkcs12.js:63:18)
at getActual (node:assert:580:5)
at assert.throws (node:assert:728:24)
at Object.<anonymous> (/home/runner/work/_temp/node-v27.0.0-nightly2026-08-296d35491073-slim/test/parallel/test-crypto-pkcs12.js:62:10)
at Module._compile (node:internal/modules/cjs/loader:1924:14)
at Object..js (node:internal/modules/cjs/loader:2064:10)
at Module.load (node:internal/modules/cjs/loader:1646:32)
at Module._load (node:internal/modules/cjs/loader:1438:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:261:19) {
library: 'PKCS8 routines',
function: 'OPENSSL_internal',
reason: 'INCORRECT_PASSWORD',
code: 'ERR_OSSL_INCORRECT_PASSWORD'
},
expected: { code: 'ERR_OSSL_PKCS12_MAC_VERIFY_FAILURE' },
operator: 'throws',
diff: 'simple'
}
Node.js v27.0.0-pre
Command: out/Release/node /home/runner/work/_temp/node-v27.0.0-nightly2026-08-296d35491073-slim/test/parallel/test-crypto-pkcs12.js
|
|
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-pkcs12.js#L13
--- stderr ---
node:internal/crypto/keys:801
} = _parsePKCS12(bundleBuf, passBuf);
^
Error: PKCS#12 bundle uses an unsupported algorithm; it may require the OpenSSL legacy provider
at Object.parsePKCS12 (node:internal/crypto/keys:801:7)
at Object.<anonymous> (/home/runner/work/_temp/node-v27.0.0-nightly2026-08-296d35491073-slim/test/parallel/test-crypto-pkcs12.js:13:36)
at Module._compile (node:internal/modules/cjs/loader:1924:14)
at Object..js (node:internal/modules/cjs/loader:2064:10)
at Module.load (node:internal/modules/cjs/loader:1646:32)
at Module._load (node:internal/modules/cjs/loader:1438:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:261:19)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
at node:internal/main/run_main_module:33:47 {
code: 'ERR_CRYPTO_UNSUPPORTED_OPERATION'
}
Node.js v27.0.0-pre
Command: out/Release/node /home/runner/work/_temp/node-v27.0.0-nightly2026-08-296d35491073-slim/test/parallel/test-crypto-pkcs12.js
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
libv8-aarch64-linux.nar
|
32.6 MB |
sha256:492428f46b5c1ebe29df6015726139679ccdf02fecbcbf5ee2d9fa1bab19bbe2
|
|
|
node-v27.0.0-nightly2026-08-296d35491073-slim.tar.gz
|
47.9 MB |
sha256:3c960d4910337312b69b6f3413f106c84ba5737778531b6ab452e18c21614c14
|
|