Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c7baf7b

Browse filesBrowse files
panvarichardlau
authored andcommitted
doc,crypto: add changelog and note about disabled RSA_PKCS1_PADDING
PR-URL: #51782 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
1 parent 1c1a7ec commit c7baf7b
Copy full SHA for c7baf7b

File tree

Expand file treeCollapse file tree

1 file changed

+9
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+9
-0
lines changed
Open diff view settings
Collapse file

‎doc/api/crypto.md‎

Copy file name to clipboardExpand all lines: doc/api/crypto.md
+9Lines changed: 9 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -4510,6 +4510,12 @@ An array of supported digest functions can be retrieved using
45104510
<!-- YAML
45114511
added: v0.11.14
45124512
changes:
4513+
- version:
4514+
- v21.6.2
4515+
- v20.11.1
4516+
- v18.19.1
4517+
pr-url: https://github.com/nodejs-private/node-private/pull/525
4518+
description: The `RSA_PKCS1_PADDING` padding was disabled.
45134519
- version: v15.0.0
45144520
pr-url: https://github.com/nodejs/node/pull/35093
45154521
description: Added string, ArrayBuffer, and CryptoKey as allowable key
@@ -4551,6 +4557,9 @@ If `privateKey` is not a [`KeyObject`][], this function behaves as if
45514557
object, the `padding` property can be passed. Otherwise, this function uses
45524558
`RSA_PKCS1_OAEP_PADDING`.
45534559

4560+
The `crypto.constants.RSA_PKCS1_PADDING` padding is disabled in
4561+
[`crypto.privateDecrypt()`][] since the February 2024 security releases. <span class="deprecated-inline"></span>
4562+
45544563
### `crypto.privateEncrypt(privateKey, buffer)`
45554564

45564565
<!-- YAML

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.