Skip to content

Commit 44643bd

Browse files
authored
doc: maintain only one list of MODP groups
There are two lists of MODP groups, one of which is redundant and does not mark weak groups as deprecated. Remove said list and refer readers to the first list instead. Refs: #43986 Refs: #44588 PR-URL: #44644 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 0928897 commit 44643bd

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

doc/api/crypto.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4132,10 +4132,9 @@ added: v0.7.5
41324132
* Returns: {DiffieHellmanGroup}
41334133

41344134
Creates a predefined `DiffieHellmanGroup` key exchange object. The
4135-
supported groups are: `'modp1'`, `'modp2'`, `'modp5'` (defined in
4136-
[RFC 2412][], but see [Caveats][]) and `'modp14'`, `'modp15'`,
4137-
`'modp16'`, `'modp17'`, `'modp18'` (defined in [RFC 3526][]). The
4138-
returned object mimics the interface of objects created by
4135+
supported groups are listed in the documentation for [`DiffieHellmanGroup`][].
4136+
4137+
The returned object mimics the interface of objects created by
41394138
[`crypto.createDiffieHellman()`][], but will not allow changing
41404139
the keys (with [`diffieHellman.setPublicKey()`][], for example). The
41414140
advantage of using this method is that the parties do not have to
@@ -6131,7 +6130,6 @@ See the [list of SSL OP Flags][] for details.
61316130
[OpenSSL's SPKAC implementation]: https://www.openssl.org/docs/man1.1.0/apps/openssl-spkac.html
61326131
[RFC 1421]: https://www.rfc-editor.org/rfc/rfc1421.txt
61336132
[RFC 2409]: https://www.rfc-editor.org/rfc/rfc2409.txt
6134-
[RFC 2412]: https://www.rfc-editor.org/rfc/rfc2412.txt
61356133
[RFC 2818]: https://www.rfc-editor.org/rfc/rfc2818.txt
61366134
[RFC 3526]: https://www.rfc-editor.org/rfc/rfc3526.txt
61376135
[RFC 3610]: https://www.rfc-editor.org/rfc/rfc3610.txt
@@ -6142,6 +6140,7 @@ See the [list of SSL OP Flags][] for details.
61426140
[Web Crypto API documentation]: webcrypto.md
61436141
[`BN_is_prime_ex`]: https://www.openssl.org/docs/man1.1.1/man3/BN_is_prime_ex.html
61446142
[`Buffer`]: buffer.md
6143+
[`DiffieHellmanGroup`]: #class-diffiehellmangroup
61456144
[`EVP_BytesToKey`]: https://www.openssl.org/docs/man1.1.0/crypto/EVP_BytesToKey.html
61466145
[`KeyObject`]: #class-keyobject
61476146
[`Sign`]: #class-sign

0 commit comments

Comments
 (0)