Skip to content

Commit d038746

Browse files
committed
test: fix X.509 generation with OpenSSL 4.1 FIPS
Use a passphrase that meets the FIPS provider's minimum for PBKDF2. Signed-off-by: Filip Skokan <panva.ip@gmail.com>
1 parent f15ec18 commit d038746

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/parallel/test-crypto-x509-generate.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ for (const [type, options] of [
389389

390390
{
391391
const keys = generateKeyPairSync('ec', { namedCurve: 'P-256' });
392-
const passphrase = 'secret';
392+
const passphrase = 'top secret';
393393
const encryptedPrivateKey = keys.privateKey.export({
394394
type: 'pkcs8',
395395
format: 'pem',

0 commit comments

Comments
 (0)