mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
tls: fix DEP0083 after upgrading to OpenSSL 1.1.0
Setting ecdhCurve to false is already unsupported, so the deprecation should already be EOL. The test was skipped ever since we upgraded to OpenSSL 1.1.0. PR-URL: https://github.com/nodejs/node/pull/22953 Refs: https://github.com/nodejs/node/pull/16130 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
1 parent
2790db5e3d
commit
4da11f2dc5
4 files changed
+11
-82
No files matched your search
@@ -1648,17 +1648,20 @@ the `REPLServer` itself. Do not use this function.
|
||||
### DEP0083: Disabling ECDH by setting ecdhCurve to false
|
||||
<!-- YAML
|
||||
changes:
|
||||
- version: v10.0.0
|
||||
pr-url: https://github.com/nodejs/node/pull/19794
|
||||
description: End-of-Life.
|
||||
- version: v9.2.0
|
||||
pr-url: https://github.com/nodejs/node/pull/16130
|
||||
description: Runtime deprecation.
|
||||
-->
|
||||
|
||||
Type: Runtime
|
||||
Type: End-of-Life.
|
||||
|
||||
The `ecdhCurve` option to `tls.createSecureContext()` and `tls.TLSSocket` could
|
||||
be set to `false` to disable ECDH entirely on the server only. This mode is
|
||||
be set to `false` to disable ECDH entirely on the server only. This mode was
|
||||
deprecated in preparation for migrating to OpenSSL 1.1.0 and consistency with
|
||||
the client. Use the `ciphers` parameter instead.
|
||||
the client and is now unsupported. Use the `ciphers` parameter instead.
|
||||
|
||||
<a id="DEP0084"></a>
|
||||
### DEP0084: requiring bundled internal dependencies
|
||||
|
||||
+5
-1
@@ -1007,6 +1007,10 @@ argument.
|
||||
<!-- YAML
|
||||
added: v0.11.13
|
||||
changes:
|
||||
- version: v10.0.0
|
||||
pr-url: https://github.com/nodejs/node/pull/19794
|
||||
description: The `ecdhCurve` cannot be set to `false` anymore due to a
|
||||
change in OpenSSL.
|
||||
- version: v9.3.0
|
||||
pr-url: https://github.com/nodejs/node/pull/14903
|
||||
description: The `options` parameter can now include `clientCertEngine`.
|
||||
@@ -1062,7 +1066,7 @@ changes:
|
||||
discarded and DHE ciphers will not be available.
|
||||
* `ecdhCurve` {string} A string describing a named curve or a colon separated
|
||||
list of curve NIDs or names, for example `P-521:P-384:P-256`, to use for
|
||||
ECDH key agreement, or `false` to disable ECDH. Set to `auto` to select the
|
||||
ECDH key agreement. Set to `auto` to select the
|
||||
curve automatically. Use [`crypto.getCurves()`][] to obtain a list of
|
||||
available curve names. On recent releases, `openssl ecparam -list_curves`
|
||||
will also display the name and description of each available elliptic curve.
|
||||
|
||||
Reference in new issue
Block a user