| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 515dd24 commit df47627
4 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5270,12 +5270,17 @@ added: v15.6.0 | |||
| 5270 | 5270 | ||
| 5271 | 5271 | <!-- YAML | |
| 5272 | 5272 | added: v0.11.11 | |
| 5273 | + changes: | ||
| 5274 | + - version: REPLACEME | ||
| 5275 | + pr-url: https://github.com/nodejs/node/pull/53329 | ||
| 5276 | + description: Custom engine support in OpenSSL 3 is deprecated. | ||
| 5273 | 5277 | --> | |
| 5274 | 5278 | ||
| 5275 | 5279 | * `engine` {string} | |
| 5276 | 5280 | * `flags` {crypto.constants} **Default:** `crypto.constants.ENGINE_METHOD_ALL` | |
| 5277 | 5281 | ||
| 5278 | 5282 | Load and set the `engine` for some or all OpenSSL functions (selected by flags). | |
| 5283 | + Support for custom engines in OpenSSL is deprecated from OpenSSL 3. | ||
| 5279 | 5284 | ||
| 5280 | 5285 | `engine` could be either an id or a path to the engine's shared library. | |
| 5281 | 5286 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3638,6 +3638,23 @@ For ciphers in GCM mode, the [`decipher.setAuthTag()`][] function accepts | |||
| 3638 | 3638 | authentication tags of any valid length (see [DEP0090](#DEP0090)). This behavior | |
| 3639 | 3639 | is deprecated to better align with recommendations per [NIST SP 800-38D][]. | |
| 3640 | 3640 | ||
| 3641 | + ### DEP0183: OpenSSL engine-based APIs | ||
| 3642 | + | ||
| 3643 | + <!-- YAML | ||
| 3644 | + changes: | ||
| 3645 | + - version: REPLACEME | ||
| 3646 | + pr-url: https://github.com/nodejs/node/pull/53329 | ||
| 3647 | + description: Documentation-only deprecation. | ||
| 3648 | + --> | ||
| 3649 | + | ||
| 3650 | + Type: Documentation-only | ||
| 3651 | + | ||
| 3652 | + OpenSSL 3 has deprecated support for custom engines with a recommendation to | ||
| 3653 | + switch to its new provider model. The `clientCertEngine` option for | ||
| 3654 | + `https.request()`, [`tls.createSecureContext()`][], and [`tls.createServer()`][]; | ||
| 3655 | + the `privateKeyEngine` and `privateKeyIdentifier` for [`tls.createSecureContext()`][]; | ||
| 3656 | + and [`crypto.setEngine()`][] all depend on this functionality from OpenSSL. | ||
| 3657 | + | ||
| 3641 | 3658 | [NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf | |
| 3642 | 3659 | [RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3 | |
| 3643 | 3660 | [RFC 8247 Section 2.4]: https://www.rfc-editor.org/rfc/rfc8247#section-2.4 | |
@@ -3680,6 +3697,7 @@ is deprecated to better align with recommendations per [NIST SP 800-38D][]. | |||
| 3680 | 3697 | [`crypto.pbkdf2()`]: crypto.md#cryptopbkdf2password-salt-iterations-keylen-digest-callback | |
| 3681 | 3698 | [`crypto.randomBytes()`]: crypto.md#cryptorandombytessize-callback | |
| 3682 | 3699 | [`crypto.scrypt()`]: crypto.md#cryptoscryptpassword-salt-keylen-options-callback | |
| 3700 | + [`crypto.setEngine()`]: crypto.md#cryptosetengineengine-flags | ||
| 3683 | 3701 | [`decipher.final()`]: crypto.md#decipherfinaloutputencoding | |
| 3684 | 3702 | [`decipher.setAuthTag()`]: crypto.md#deciphersetauthtagbuffer-encoding | |
| 3685 | 3703 | [`diagnostics_channel.subscribe(name, onMessage)`]: diagnostics_channel.md#diagnostics_channelsubscribename-onmessage | |
@@ -3758,6 +3776,7 @@ is deprecated to better align with recommendations per [NIST SP 800-38D][]. | |||
| 3758 | 3776 | [`tls.TLSSocket`]: tls.md#class-tlstlssocket | |
| 3759 | 3777 | [`tls.checkServerIdentity()`]: tls.md#tlscheckserveridentityhostname-cert | |
| 3760 | 3778 | [`tls.createSecureContext()`]: tls.md#tlscreatesecurecontextoptions | |
| 3779 | + [`tls.createServer()`]: tls.md#tlscreateserveroptions-secureconnectionlistener | ||
| 3761 | 3780 | [`url.format()`]: url.md#urlformaturlobject | |
| 3762 | 3781 | [`url.parse()`]: url.md#urlparseurlstring-parsequerystring-slashesdenotehost | |
| 3763 | 3782 | [`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,6 +1799,11 @@ argument. | |||
| 1799 | 1799 | <!-- YAML | |
| 1800 | 1800 | added: v0.11.13 | |
| 1801 | 1801 | changes: | |
| 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. | ||
| 1802 | 1807 | - version: | |
| 1803 | 1808 | - v19.8.0 | |
| 1804 | 1809 | - v18.16.0 | |
@@ -1886,7 +1891,7 @@ changes: | |||
| 1886 | 1891 | ciphers can be obtained via [`tls.getCiphers()`][]. Cipher names must be | |
| 1887 | 1892 | uppercased in order for OpenSSL to accept them. | |
| 1888 | 1893 | * `clientCertEngine` {string} Name of an OpenSSL engine which can provide the | |
| 1889 | - client certificate. | ||
| 1894 | + client certificate. **Deprecated.** | ||
| 1890 | 1895 | * `crl` {string|string\[]|Buffer|Buffer\[]} PEM formatted CRLs (Certificate | |
| 1891 | 1896 | Revocation Lists). | |
| 1892 | 1897 | * `dhparam` {string|Buffer} `'auto'` or custom Diffie-Hellman parameters, | |
@@ -1914,11 +1919,11 @@ changes: | |||
| 1914 | 1919 | decrypted with `object.passphrase` if provided, or `options.passphrase` if | |
| 1915 | 1920 | it is not. | |
| 1916 | 1921 | * `privateKeyEngine` {string} Name of an OpenSSL engine to get private key | |
| 1917 | - from. Should be used together with `privateKeyIdentifier`. | ||
| 1922 | + from. Should be used together with `privateKeyIdentifier`. **Deprecated.** | ||
| 1918 | 1923 | * `privateKeyIdentifier` {string} Identifier of a private key managed by | |
| 1919 | 1924 | an OpenSSL engine. Should be used together with `privateKeyEngine`. | |
| 1920 | 1925 | Should not be set together with `key`, because both options define a | |
| 1921 | - private key in different ways. | ||
| 1926 | + private key in different ways. **Deprecated.** | ||
| 1922 | 1927 | * `maxVersion` {string} Optionally set the maximum TLS version to allow. One | |
| 1923 | 1928 | of `'TLSv1.3'`, `'TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`. Cannot be specified | |
| 1924 | 1929 | along with the `secureProtocol` option; use one or the other. | |
@@ -2055,6 +2060,10 @@ where `secureSocket` has the same API as `pair.cleartext`. | |||
| 2055 | 2060 | <!-- YAML | |
| 2056 | 2061 | added: v0.3.2 | |
| 2057 | 2062 | changes: | |
| 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. | ||
| 2058 | 2067 | - version: | |
| 2059 | 2068 | - v20.4.0 | |
| 2060 | 2069 | - v18.19.0 | |
@@ -2102,7 +2111,7 @@ changes: | |||
| 2102 | 2111 | protocols, an error will be thrown. This option cannot be used with the | |
| 2103 | 2112 | `ALPNProtocols` option, and setting both options will throw an error. | |
| 2104 | 2113 | * `clientCertEngine` {string} Name of an OpenSSL engine which can provide the | |
| 2105 | - client certificate. | ||
| 2114 | + client certificate. **Deprecated.** | ||
| 2106 | 2115 | * `enableTrace` {boolean} If `true`, [`tls.TLSSocket.enableTrace()`][] will be | |
| 2107 | 2116 | called on new connections. Tracing can be enabled after the secure | |
| 2108 | 2117 | connection is established, but this option must be used to trace the secure | |
| Back | FazBrowse Home | New Git URL |
0 commit comments