File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -4388,6 +4388,12 @@ An array of supported digest functions can be retrieved using
4388
4388
<!-- YAML
4389
4389
added: v0.11.14
4390
4390
changes:
4391
+ - version:
4392
+ - v21.6.2
4393
+ - v20.11.1
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.
4391
4397
- version: v15.0.0
4392
4398
pr-url: https://github.com/nodejs/node/pull/35093
4393
4399
description: Added string, ArrayBuffer, and CryptoKey as allowable key
@@ -4429,6 +4435,9 @@ If `privateKey` is not a [`KeyObject`][], this function behaves as if
4429
4435
object, the ` padding ` property can be passed. Otherwise, this function uses
4430
4436
` RSA_PKCS1_OAEP_PADDING ` .
4431
4437
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 >
4440
+
4432
4441
### ` crypto.privateEncrypt(privateKey, buffer) `
4433
4442
4434
4443
<!-- YAML
You can’t perform that action at this time.
0 commit comments