File tree 1 file changed +9
-0
lines changed
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -4508,6 +4508,12 @@ An array of supported digest functions can be retrieved using
4508
4508
<!-- YAML
4509
4509
added: v0.11.14
4510
4510
changes:
4511
+ - version:
4512
+ - v21.6.2
4513
+ - v20.11.1
4514
+ - v18.19.1
4515
+ pr-url: https://github.com/nodejs-private/node-private/pull/525
4516
+ description: The `RSA_PKCS1_PADDING` padding was disabled.
4511
4517
- version: v15.0.0
4512
4518
pr-url: https://github.com/nodejs/node/pull/35093
4513
4519
description: Added string, ArrayBuffer, and CryptoKey as allowable key
@@ -4549,6 +4555,9 @@ If `privateKey` is not a [`KeyObject`][], this function behaves as if
4549
4555
object, the ` padding ` property can be passed. Otherwise, this function uses
4550
4556
` RSA_PKCS1_OAEP_PADDING ` .
4551
4557
4558
+ The ` crypto.constants.RSA_PKCS1_PADDING ` padding is disabled in
4559
+ [ ` crypto.privateDecrypt() ` ] [ ] since the February 2024 security releases. <span class =" deprecated-inline " ></span >
4560
+
4552
4561
### ` crypto.privateEncrypt(privateKey, buffer) `
4553
4562
4554
4563
<!-- YAML
You can’t perform that action at this time.
0 commit comments