Skip to content

Commit 5ee0127

Browse files
tniessenjuanarbol
authored andcommitted
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 aae8ff6 commit 5ee0127

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

doc/api/crypto.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -4080,10 +4080,9 @@ added: v0.7.5
40804080
* Returns: {DiffieHellmanGroup}
40814081

40824082
Creates a predefined `DiffieHellmanGroup` key exchange object. The
4083-
supported groups are: `'modp1'`, `'modp2'`, `'modp5'` (defined in
4084-
[RFC 2412][], but see [Caveats][]) and `'modp14'`, `'modp15'`,
4085-
`'modp16'`, `'modp17'`, `'modp18'` (defined in [RFC 3526][]). The
4086-
returned object mimics the interface of objects created by
4083+
supported groups are listed in the documentation for [`DiffieHellmanGroup`][].
4084+
4085+
The returned object mimics the interface of objects created by
40874086
[`crypto.createDiffieHellman()`][], but will not allow changing
40884087
the keys (with [`diffieHellman.setPublicKey()`][], for example). The
40894088
advantage of using this method is that the parties do not have to
@@ -6001,7 +6000,6 @@ See the [list of SSL OP Flags][] for details.
60016000
[OpenSSL's SPKAC implementation]: https://www.openssl.org/docs/man1.1.0/apps/openssl-spkac.html
60026001
[RFC 1421]: https://www.rfc-editor.org/rfc/rfc1421.txt
60036002
[RFC 2409]: https://www.rfc-editor.org/rfc/rfc2409.txt
6004-
[RFC 2412]: https://www.rfc-editor.org/rfc/rfc2412.txt
60056003
[RFC 2818]: https://www.rfc-editor.org/rfc/rfc2818.txt
60066004
[RFC 3526]: https://www.rfc-editor.org/rfc/rfc3526.txt
60076005
[RFC 3610]: https://www.rfc-editor.org/rfc/rfc3610.txt
@@ -6012,6 +6010,7 @@ See the [list of SSL OP Flags][] for details.
60126010
[Web Crypto API documentation]: webcrypto.md
60136011
[`BN_is_prime_ex`]: https://www.openssl.org/docs/man1.1.1/man3/BN_is_prime_ex.html
60146012
[`Buffer`]: buffer.md
6013+
[`DiffieHellmanGroup`]: #class-diffiehellmangroup
60156014
[`EVP_BytesToKey`]: https://www.openssl.org/docs/man1.1.0/crypto/EVP_BytesToKey.html
60166015
[`KeyObject`]: #class-keyobject
60176016
[`Sign`]: #class-sign

0 commit comments

Comments
 (0)