Skip to content

Commit 6c7ff35

Browse files
panvaaduh95
authored andcommitted
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> PR-URL: #67409 Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day> Reviewed-By: Christian Aurich Zanettini Martins <christian.aurichzm@gmail.com> Reviewed-By: Jason Zhang <xzha4350@gmail.com>
1 parent 524341e commit 6c7ff35

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)