| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d1a7800 commit 3445c08
4 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5389,12 +5389,17 @@ added: v15.6.0 | |||
| 5389 | 5389 | ||
| 5390 | 5390 | <!-- YAML | |
| 5391 | 5391 | added: v0.11.11 | |
| 5392 | + changes: | ||
| 5393 | + - version: REPLACEME | ||
| 5394 | + pr-url: https://github.com/nodejs/node/pull/53329 | ||
| 5395 | + description: Custom engine support in OpenSSL 3 is deprecated. | ||
| 5392 | 5396 | --> | |
| 5393 | 5397 | ||
| 5394 | 5398 | * `engine` {string} | |
| 5395 | 5399 | * `flags` {crypto.constants} **Default:** `crypto.constants.ENGINE_METHOD_ALL` | |
| 5396 | 5400 | ||
| 5397 | 5401 | Load and set the `engine` for some or all OpenSSL functions (selected by flags). | |
| 5402 | + Support for custom engines in OpenSSL is deprecated from OpenSSL 3. | ||
| 5398 | 5403 | ||
| 5399 | 5404 | `engine` could be either an id or a path to the engine's shared library. | |
| 5400 | 5405 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3526,6 +3526,23 @@ For ciphers in GCM mode, the [`decipher.setAuthTag()`][] function accepts | |||
| 3526 | 3526 | authentication tags of any valid length (see [DEP0090](#DEP0090)). This behavior | |
| 3527 | 3527 | is deprecated to better align with recommendations per [NIST SP 800-38D][]. | |
| 3528 | 3528 | ||
| 3529 | + ### DEP0183: OpenSSL engine-based APIs | ||
| 3530 | + | ||
| 3531 | + <!-- YAML | ||
| 3532 | + changes: | ||
| 3533 | + - version: REPLACEME | ||
| 3534 | + pr-url: https://github.com/nodejs/node/pull/53329 | ||
| 3535 | + description: Documentation-only deprecation. | ||
| 3536 | + --> | ||
| 3537 | + | ||
| 3538 | + Type: Documentation-only | ||
| 3539 | + | ||
| 3540 | + OpenSSL 3 has deprecated support for custom engines with a recommendation to | ||
| 3541 | + switch to its new provider model. The `clientCertEngine` option for | ||
| 3542 | + `https.request()`, [`tls.createSecureContext()`][], and [`tls.createServer()`][]; | ||
| 3543 | + the `privateKeyEngine` and `privateKeyIdentifier` for [`tls.createSecureContext()`][]; | ||
| 3544 | + and [`crypto.setEngine()`][] all depend on this functionality from OpenSSL. | ||
| 3545 | + | ||
| 3529 | 3546 | [NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf | |
| 3530 | 3547 | [RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3 | |
| 3531 | 3548 | [RFC 8247 Section 2.4]: https://www.rfc-editor.org/rfc/rfc8247#section-2.4 | |
@@ -3570,6 +3587,7 @@ is deprecated to better align with recommendations per [NIST SP 800-38D][]. | |||
| 3570 | 3587 | [`crypto.pbkdf2()`]: crypto.md#cryptopbkdf2password-salt-iterations-keylen-digest-callback | |
| 3571 | 3588 | [`crypto.randomBytes()`]: crypto.md#cryptorandombytessize-callback | |
| 3572 | 3589 | [`crypto.scrypt()`]: crypto.md#cryptoscryptpassword-salt-keylen-options-callback | |
| 3590 | + [`crypto.setEngine()`]: crypto.md#cryptosetengineengine-flags | ||
| 3573 | 3591 | [`decipher.final()`]: crypto.md#decipherfinaloutputencoding | |
| 3574 | 3592 | [`decipher.setAuthTag()`]: crypto.md#deciphersetauthtagbuffer-encoding | |
| 3575 | 3593 | [`diagnostics_channel.subscribe(name, onMessage)`]: diagnostics_channel.md#diagnostics_channelsubscribename-onmessage | |
@@ -3648,6 +3666,7 @@ is deprecated to better align with recommendations per [NIST SP 800-38D][]. | |||
| 3648 | 3666 | [`tls.TLSSocket`]: tls.md#class-tlstlssocket | |
| 3649 | 3667 | [`tls.checkServerIdentity()`]: tls.md#tlscheckserveridentityhostname-cert | |
| 3650 | 3668 | [`tls.createSecureContext()`]: tls.md#tlscreatesecurecontextoptions | |
| 3669 | + [`tls.createServer()`]: tls.md#tlscreateserveroptions-secureconnectionlistener | ||
| 3651 | 3670 | [`url.format()`]: url.md#urlformaturlobject | |
| 3652 | 3671 | [`url.parse()`]: url.md#urlparseurlstring-parsequerystring-slashesdenotehost | |
| 3653 | 3672 | [`url.resolve()`]: url.md#urlresolvefrom-to | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -342,6 +342,10 @@ a `timeout` of 5 seconds. | |||
| 342 | 342 | <!-- YAML | |
| 343 | 343 | added: v0.3.6 | |
| 344 | 344 | changes: | |
| 345 | + - version: REPLACEME | ||
| 346 | + pr-url: https://github.com/nodejs/node/pull/53329 | ||
| 347 | + description: The `clientCertEngine` option depends on custom engine | ||
| 348 | + support in OpenSSL which is deprecated in OpenSSL 3. | ||
| 345 | 349 | - version: | |
| 346 | 350 | - v16.7.0 | |
| 347 | 351 | - v14.18.0 | |
@@ -377,7 +381,7 @@ changes: | |||
| 377 | 381 | Makes a request to a secure web server. | |
| 378 | 382 | ||
| 379 | 383 | The following additional `options` from [`tls.connect()`][] are also accepted: | |
| 380 | - `ca`, `cert`, `ciphers`, `clientCertEngine`, `crl`, `dhparam`, `ecdhCurve`, | ||
| 384 | + `ca`, `cert`, `ciphers`, `clientCertEngine` (deprecated), `crl`, `dhparam`, `ecdhCurve`, | ||
| 381 | 385 | `honorCipherOrder`, `key`, `passphrase`, `pfx`, `rejectUnauthorized`, | |
| 382 | 386 | `secureOptions`, `secureProtocol`, `servername`, `sessionIdContext`, | |
| 383 | 387 | `highWaterMark`. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1799,7 +1799,14 @@ argument. | |||
| 1799 | 1799 | <!-- YAML | |
| 1800 | 1800 | added: v0.11.13 | |
| 1801 | 1801 | changes: | |
| 1802 | - - version: v19.8.0 | ||
| 1802 | + - version: REPLACEME | ||
| 1803 | + pr-url: https://github.com/nodejs/node/pull/53329 | ||
| 1804 | + description: The `clientCertEngine`, `privateKeyEngine` and | ||
| 1805 | + `privateKeyIdentifier` options depend on custom engine | ||
| 1806 | + support in OpenSSL which is deprecated in OpenSSL 3. | ||
| 1807 | + - version: | ||
| 1808 | + - v19.8.0 | ||
| 1809 | + - v18.16.0 | ||
| 1803 | 1810 | pr-url: https://github.com/nodejs/node/pull/46978 | |
| 1804 | 1811 | description: The `dhparam` option can now be set to `'auto'` to | |
| 1805 | 1812 | enable DHE with appropriate well-known parameters. | |
@@ -1884,7 +1891,7 @@ changes: | |||
| 1884 | 1891 | ciphers can be obtained via [`tls.getCiphers()`][]. Cipher names must be | |
| 1885 | 1892 | uppercased in order for OpenSSL to accept them. | |
| 1886 | 1893 | * `clientCertEngine` {string} Name of an OpenSSL engine which can provide the | |
| 1887 | - client certificate. | ||
| 1894 | + client certificate. **Deprecated.** | ||
| 1888 | 1895 | * `crl` {string|string\[]|Buffer|Buffer\[]} PEM formatted CRLs (Certificate | |
| 1889 | 1896 | Revocation Lists). | |
| 1890 | 1897 | * `dhparam` {string|Buffer} `'auto'` or custom Diffie-Hellman parameters, | |
@@ -1912,11 +1919,11 @@ changes: | |||
| 1912 | 1919 | decrypted with `object.passphrase` if provided, or `options.passphrase` if | |
| 1913 | 1920 | it is not. | |
| 1914 | 1921 | * `privateKeyEngine` {string} Name of an OpenSSL engine to get private key | |
| 1915 | - from. Should be used together with `privateKeyIdentifier`. | ||
| 1922 | + from. Should be used together with `privateKeyIdentifier`. **Deprecated.** | ||
| 1916 | 1923 | * `privateKeyIdentifier` {string} Identifier of a private key managed by | |
| 1917 | 1924 | an OpenSSL engine. Should be used together with `privateKeyEngine`. | |
| 1918 | 1925 | Should not be set together with `key`, because both options define a | |
| 1919 | - private key in different ways. | ||
| 1926 | + private key in different ways. **Deprecated.** | ||
| 1920 | 1927 | * `maxVersion` {string} Optionally set the maximum TLS version to allow. One | |
| 1921 | 1928 | of `'TLSv1.3'`, `'TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`. Cannot be specified | |
| 1922 | 1929 | along with the `secureProtocol` option; use one or the other. | |
@@ -2053,7 +2060,13 @@ where `secureSocket` has the same API as `pair.cleartext`. | |||
| 2053 | 2060 | <!-- YAML | |
| 2054 | 2061 | added: v0.3.2 | |
| 2055 | 2062 | changes: | |
| 2056 | - - version: v20.4.0 | ||
| 2063 | + - version: REPLACEME | ||
| 2064 | + pr-url: https://github.com/nodejs/node/pull/53329 | ||
| 2065 | + description: The `clientCertEngine` option depends on custom engine | ||
| 2066 | + support in OpenSSL which is deprecated in OpenSSL 3. | ||
| 2067 | + - version: | ||
| 2068 | + - v20.4.0 | ||
| 2069 | + - v18.19.0 | ||
| 2057 | 2070 | pr-url: https://github.com/nodejs/node/pull/45190 | |
| 2058 | 2071 | description: The `options` parameter can now include `ALPNCallback`. | |
| 2059 | 2072 | - version: v19.0.0 | |
@@ -2098,7 +2111,7 @@ changes: | |||
| 2098 | 2111 | protocols, an error will be thrown. This option cannot be used with the | |
| 2099 | 2112 | `ALPNProtocols` option, and setting both options will throw an error. | |
| 2100 | 2113 | * `clientCertEngine` {string} Name of an OpenSSL engine which can provide the | |
| 2101 | - client certificate. | ||
| 2114 | + client certificate. **Deprecated.** | ||
| 2102 | 2115 | * `enableTrace` {boolean} If `true`, [`tls.TLSSocket.enableTrace()`][] will be | |
| 2103 | 2116 | called on new connections. Tracing can be enabled after the secure | |
| 2104 | 2117 | connection is established, but this option must be used to trace the secure | |
| Back | FazBrowse Home | New Git URL |
0 commit comments