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 @@ -4508,6 +4508,12 @@ An array of supported digest functions can be retrieved using
45084508<!-- YAML
45094509added: v0.11.14
45104510changes:
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.
45114517 - version: v15.0.0
45124518 pr-url: https://github.com/nodejs/node/pull/35093
45134519 description: Added string, ArrayBuffer, and CryptoKey as allowable key
@@ -4549,6 +4555,9 @@ If `privateKey` is not a [`KeyObject`][], this function behaves as if
45494555object, the ` padding ` property can be passed. Otherwise, this function uses
45504556` RSA_PKCS1_OAEP_PADDING ` .
45514557
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+
45524561### ` crypto.privateEncrypt(privateKey, buffer) `
45534562
45544563<!-- YAML
You can’t perform that action at this time.
0 commit comments