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 3777582

Browse filesBrowse files
tniessenRafaelGSS
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 <info@bnoordhuis.nl> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 7920402 commit 3777582
Copy full SHA for 3777582

File tree

Expand file treeCollapse file tree

1 file changed

+4
-5
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-5
lines changed
Open diff view settings
Collapse file

‎doc/api/crypto.md‎

Copy file name to clipboardExpand all lines: doc/api/crypto.md
+4-5Lines changed: 4 additions & 5 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -4118,10 +4118,9 @@ added: v0.7.5
41184118
* Returns: {DiffieHellmanGroup}
41194119

41204120
Creates a predefined `DiffieHellmanGroup` key exchange object. The
4121-
supported groups are: `'modp1'`, `'modp2'`, `'modp5'` (defined in
4122-
[RFC 2412][], but see [Caveats][]) and `'modp14'`, `'modp15'`,
4123-
`'modp16'`, `'modp17'`, `'modp18'` (defined in [RFC 3526][]). The
4124-
returned object mimics the interface of objects created by
4121+
supported groups are listed in the documentation for [`DiffieHellmanGroup`][].
4122+
4123+
The returned object mimics the interface of objects created by
41254124
[`crypto.createDiffieHellman()`][], but will not allow changing
41264125
the keys (with [`diffieHellman.setPublicKey()`][], for example). The
41274126
advantage of using this method is that the parties do not have to
@@ -6117,7 +6116,6 @@ See the [list of SSL OP Flags][] for details.
61176116
[OpenSSL's SPKAC implementation]: https://www.openssl.org/docs/man1.1.0/apps/openssl-spkac.html
61186117
[RFC 1421]: https://www.rfc-editor.org/rfc/rfc1421.txt
61196118
[RFC 2409]: https://www.rfc-editor.org/rfc/rfc2409.txt
6120-
[RFC 2412]: https://www.rfc-editor.org/rfc/rfc2412.txt
61216119
[RFC 2818]: https://www.rfc-editor.org/rfc/rfc2818.txt
61226120
[RFC 3526]: https://www.rfc-editor.org/rfc/rfc3526.txt
61236121
[RFC 3610]: https://www.rfc-editor.org/rfc/rfc3610.txt
@@ -6128,6 +6126,7 @@ See the [list of SSL OP Flags][] for details.
61286126
[Web Crypto API documentation]: webcrypto.md
61296127
[`BN_is_prime_ex`]: https://www.openssl.org/docs/man1.1.1/man3/BN_is_prime_ex.html
61306128
[`Buffer`]: buffer.md
6129+
[`DiffieHellmanGroup`]: #class-diffiehellmangroup
61316130
[`EVP_BytesToKey`]: https://www.openssl.org/docs/man1.1.0/crypto/EVP_BytesToKey.html
61326131
[`KeyObject`]: #class-keyobject
61336132
[`Sign`]: #class-sign

0 commit comments

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