File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -4392,8 +4392,9 @@ changes:
4392
4392
- v21.6.2
4393
4393
- v20.11.1
4394
4394
- v18.19.1
4395
- pr-url: https://github.com/nodejs-private/node-private/pull/525
4396
- description: The `RSA_PKCS1_PADDING` padding was disabled.
4395
+ pr-url: https://github.com/nodejs-private/node-private/pull/515
4396
+ description: The `RSA_PKCS1_PADDING` padding was disabled unless the
4397
+ OpenSSL build supports implicit rejection.
4397
4398
- version: v15.0.0
4398
4399
pr-url: https://github.com/nodejs/node/pull/35093
4399
4400
description: Added string, ArrayBuffer, and CryptoKey as allowable key
@@ -4435,8 +4436,10 @@ If `privateKey` is not a [`KeyObject`][], this function behaves as if
4435
4436
object, the ` padding ` property can be passed. Otherwise, this function uses
4436
4437
` RSA_PKCS1_OAEP_PADDING ` .
4437
4438
4438
- The ` crypto.constants.RSA_PKCS1_PADDING ` padding is disabled in
4439
- [ ` crypto.privateDecrypt() ` ] [ ] since the February 2024 security releases. <span class =" deprecated-inline " ></span >
4439
+ Using ` crypto.constants.RSA_PKCS1_PADDING ` in [ ` crypto.privateDecrypt() ` ] [ ]
4440
+ requires OpenSSL to support implicit rejection (` rsa_pkcs1_implicit_rejection ` ).
4441
+ If the version of OpenSSL used by Node.js does not support this feature,
4442
+ attempting to use ` RSA_PKCS1_PADDING ` will fail.
4440
4443
4441
4444
### ` crypto.privateEncrypt(privateKey, buffer) `
4442
4445
You can’t perform that action at this time.
0 commit comments