Commit 4ad1b0a 1 parent 2d92610 commit 4ad1b0a Copy full SHA for 4ad1b0a
File tree 3 files changed +29
-4
lines changed
3 files changed +29
-4
lines changed Original file line number Diff line number Diff line change @@ -1185,15 +1185,20 @@ const dh = createDiffieHellmanGroup('modp16');
1185
1185
1186
1186
The following groups are supported:
1187
1187
1188
- * ` 'modp1' ` (768 bits, [ RFC 2409] [ ] Section 6.1)
1189
- * ` 'modp2' ` (1024 bits, [ RFC 2409] [ ] Section 6.2)
1190
- * ` 'modp5' ` (1536 bits, [ RFC 3526] [ ] Section 2)
1191
1188
* ` 'modp14' ` (2048 bits, [ RFC 3526] [ ] Section 3)
1192
1189
* ` 'modp15' ` (3072 bits, [ RFC 3526] [ ] Section 4)
1193
1190
* ` 'modp16' ` (4096 bits, [ RFC 3526] [ ] Section 5)
1194
1191
* ` 'modp17' ` (6144 bits, [ RFC 3526] [ ] Section 6)
1195
1192
* ` 'modp18' ` (8192 bits, [ RFC 3526] [ ] Section 7)
1196
1193
1194
+ The following groups are still supported but deprecated (see [ Caveats] [ ] ):
1195
+
1196
+ * ` 'modp1' ` (768 bits, [ RFC 2409] [ ] Section 6.1) <span class =" deprecated-inline " ></span >
1197
+ * ` 'modp2' ` (1024 bits, [ RFC 2409] [ ] Section 6.2) <span class =" deprecated-inline " ></span >
1198
+ * ` 'modp5' ` (1536 bits, [ RFC 3526] [ ] Section 2) <span class =" deprecated-inline " ></span >
1199
+
1200
+ These deprecated groups might be removed in future versions of Node.js.
1201
+
1197
1202
## Class: ` ECDH `
1198
1203
1199
1204
<!-- YAML
Original file line number Diff line number Diff line change @@ -3199,9 +3199,28 @@ Package imports and exports targets mapping into paths including a double slash
3199
3199
error in a future release. This same deprecation also applies to pattern matches
3200
3200
starting or ending in a slash.
3201
3201
3202
+ ### DEP0167: Weak ` DiffieHellmanGroup ` instances (` modp1 ` , ` modp2 ` , ` modp5 ` )
3203
+
3204
+ <!-- YAML
3205
+ changes:
3206
+ - version: REPLACEME
3207
+ pr-url: https://github.com/nodejs/node/pull/44588
3208
+ description: Documentation-only deprecation.
3209
+ -->
3210
+
3211
+ Type: Documentation-only
3212
+
3213
+ The well-known MODP groups ` modp1 ` , ` modp2 ` , and ` modp5 ` are deprecated because
3214
+ they are not secure against practical attacks. See [ RFC 8247 Section 2.4] [ ] for
3215
+ details.
3216
+
3217
+ These groups might be removed in future versions of Node.js. Applications that
3218
+ rely on these groups should evaluate using stronger MODP groups instead.
3219
+
3202
3220
[ Legacy URL API ] : url.md#legacy-url-api
3203
3221
[ NIST SP 800-38D ] : https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
3204
3222
[ RFC 6066 ] : https://tools.ietf.org/html/rfc6066#section-3
3223
+ [ RFC 8247 Section 2.4 ] : https://www.rfc-editor.org/rfc/rfc8247#section-2.4
3205
3224
[ WHATWG URL API ] : url.md#the-whatwg-url-api
3206
3225
[ `"exports"` or `"main"` entry ] : packages.md#main-entry-point-export
3207
3226
[ `--pending-deprecation` ] : cli.md#--pending-deprecation
Original file line number Diff line number Diff line change 598
598
padding-left : 5rem ;
599
599
}
600
600
601
- # toc .stability_0 ::after {
601
+ # toc .stability_0 ::after ,
602
+ .deprecated-inline ::after {
602
603
background-color : var (--red2 );
603
604
color : var (--white );
604
605
content : "deprecated" ;
You can’t perform that action at this time.
0 commit comments