GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||
GeezerVison is showing github.com — tls: docs-deprecate TLS renegotiation, add allowRenegotiation opt-in by pimterry · Pull Request #67532 · nodejs/node Conversation
|
|
Review requested:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
The
notable-change
Please suggest a text for the release notes if you'd like to include a more detailed summary, then proceed to update the PR description with the text or a link to the notable change suggested text comment. Otherwise, the commit will be placed in the Other Notable Changes section. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
For now this changes very little, but offers an option to directly control whether this is supported. In future, this will default to 'false' (disabling by default) and eventually be mostly removed, except opt-in client support for accepting renegotiation requests from servers. Signed-off-by: Tim Perry <[email protected]>
56d9f29 to
118c40f
Compare
There was an error while loading. Please reload this page.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@ ## main #67532 +/- ## ========================================== + Coverage 90.66% 90.68% +0.01% ========================================== Files 799 800 +1 Lines 280252 280555 +303 Branches 54121 54191 +70 ========================================== + Hits 254088 254416 +328 + Misses 16285 16233 -52 - Partials 9879 9906 +27
🚀 New features to boost your workflow:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I'm actually ok in disabling it by default and/or removing it entirely even in previous releases (will require a tsc approval).
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
CI: https://ci.nodejs.org/job/node-test-pull-request/79212/ 💚 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Looks like people are on board 😄
I would love to kill all this even sooner, but I'm not sure we can easily, since there are real apps using this for specific niche cases (like Kibana) so this would mean at least some production breakage for end users in a minor bump. There's a good security argument, but it would make a mess. If we really do want to, we could try to coordinate with existing users but we'll struggle to find them since I expect it's mostly legacy application code (not OSS libs). There are other middle grounds though. We could backport just an update to the security model (exclude renegotiation from it) plus a runtime warning for anybody who uses it, like: "You are using TLS renegotiation, be aware that this has security risks, and usage is outside the scope of the Node.js security model". That'd simplify our vulnerability handling but limit breakage to just a warning. (Might be worth considering more generally actually. Could we exclude issues in all runtime-deprecated features from being treated as vulnerabilities? We do the same for experimental features, you use them at your own risk) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Landed in b7df44b |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
For now this changes very little, but offers an option to directly control whether this is supported. In future, this will default to 'false' (disabling by default) and eventually be mostly removed, except opt-in client support for accepting renegotiation requests from servers. Signed-off-by: Tim Perry <[email protected]> PR-URL: #67532 Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Gürgün Dayıoğlu <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
Notable changes: doc: * swap `util.TextDecoder` and `util.TextEncoder` with globals (LiviaMedeiros) #67461 * use global `TextDecoder` and `TextEncoder` instead of `util` (LiviaMedeiros) #67461 * deprecate `util.TextDecoder` and `util.TextEncoder` (LiviaMedeiros) #67461 http2: * (SEMVER-MINOR) add missing setHeaders (jakecastelli) #67597 * (SEMVER-MINOR) add callback to informational header methods (Yuya Inoue) #67470 lib: * (SEMVER-MINOR) graduate the --process-timeout option (James M Snell) #67506 module: * remove async module customization hooks (Geoffrey Booth) #67090 os: * (SEMVER-MINOR) expose `guessFileDescriptorType` (Vlad Frangu) #58060 sqlite: * mark as stable (Christian Aurich Zanettini Martins) #67654 src: * (SEMVER-MINOR) restore tty state on exit only if changed (Matteo Collina) #66753 test: * update Intl tests for CLDR 49 (Renegade334) #66992 * remove unnecessary imports for `TextDecoder` and `TextEncoder` (LiviaMedeiros) #67461 tls: * (SEMVER-MINOR) docs-deprecate TLS renegotiation, add allowRenegotiation opt-in (Tim Perry) #67532 PR-URL: #67757
Notable changes: doc: * deprecate `util.TextDecoder` and `util.TextEncoder` (LiviaMedeiros) #67461 http2: * (SEMVER-MINOR) add missing setHeaders (jakecastelli) #67597 * (SEMVER-MINOR) add callback to informational header methods (Yuya Inoue) #67470 lib: * (SEMVER-MINOR) graduate the `--process-timeout` option (James M Snell) #67506 module: * remove async module customization hooks (Geoffrey Booth) #67090 os: * (SEMVER-MINOR) expose `guessFileDescriptorType` (Vlad Frangu) #58060 sqlite: * mark as stable (Christian Aurich Zanettini Martins) #67654 src: * (SEMVER-MINOR) restore tty state on exit only if changed (Matteo Collina) #66753 tls: * (SEMVER-MINOR) docs-deprecate TLS renegotiation, add allowRenegotiation opt-in (Tim Perry) #67532 PR-URL: #67757
Notable changes: doc: * deprecate `util.TextDecoder` and `util.TextEncoder` (LiviaMedeiros) #67461 http2: * (SEMVER-MINOR) add writeProcessing to compat response (Yuya Inoue) #67728 * (SEMVER-MINOR) add missing setHeaders (jakecastelli) #67597 * (SEMVER-MINOR) add callback to informational header methods (Yuya Inoue) #67470 lib: * (SEMVER-MINOR) graduate the --process-timeout option (James M Snell) #67506 os: * (SEMVER-MINOR) expose `guessFileDescriptorType` (Vlad Frangu) #58060 sqlite: * (SEMVER-MINOR) throw ERR_NO_SQLITE without SQLite support (Christian Aurich Zanettini Martins) #67727 * (SEMVER-MINOR) add statement.columnCount getter (Guilherme Araújo) #67658 * mark as stable (Christian Aurich Zanettini Martins) #67654 src: * (SEMVER-MINOR) expand --process-timeout output to include workers (James M Snell) #67712 * (SEMVER-MINOR) restore tty state on exit only if changed (Matteo Collina) #66753 tls: * (SEMVER-MINOR) docs-deprecate TLS renegotiation, add allowRenegotiation opt-in (Tim Perry) #67532 PR-URL: #67757
Notable changes: doc: * deprecate `util.TextDecoder` and `util.TextEncoder` (LiviaMedeiros) #67461 http2: * (SEMVER-MINOR) add writeProcessing to compat response (Yuya Inoue) #67728 * (SEMVER-MINOR) add missing setHeaders (jakecastelli) #67597 * (SEMVER-MINOR) add callback to informational header methods (Yuya Inoue) #67470 lib: * (SEMVER-MINOR) graduate the --process-timeout option (James M Snell) #67506 os: * (SEMVER-MINOR) expose `guessFileDescriptorType` (Vlad Frangu) #58060 sqlite: * (SEMVER-MINOR) throw ERR_NO_SQLITE without SQLite support (Christian Aurich Zanettini Martins) #67727 * (SEMVER-MINOR) add statement.columnCount getter (Guilherme Araújo) #67658 * mark as stable (Christian Aurich Zanettini Martins) #67654 src: * (SEMVER-MINOR) expand --process-timeout output to include workers (James M Snell) #67712 * (SEMVER-MINOR) restore tty state on exit only if changed (Matteo Collina) #66753 tls: * (SEMVER-MINOR) docs-deprecate TLS renegotiation, add allowRenegotiation opt-in (Tim Perry) #67532 PR-URL: #67757
For now this changes very little, but offers an option to directly control whether this is supported. In future, this will default to 'false' (disabling by default) and eventually be mostly removed, except opt-in client support for accepting renegotiation requests from servers. Signed-off-by: Tim Perry <[email protected]> PR-URL: nodejs#67532 Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Gürgün Dayıoğlu <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
Notable changes: doc: * deprecate `util.TextDecoder` and `util.TextEncoder` (LiviaMedeiros) nodejs#67461 http2: * (SEMVER-MINOR) add writeProcessing to compat response (Yuya Inoue) nodejs#67728 * (SEMVER-MINOR) add missing setHeaders (jakecastelli) nodejs#67597 * (SEMVER-MINOR) add callback to informational header methods (Yuya Inoue) nodejs#67470 lib: * (SEMVER-MINOR) graduate the --process-timeout option (James M Snell) nodejs#67506 os: * (SEMVER-MINOR) expose `guessFileDescriptorType` (Vlad Frangu) nodejs#58060 sqlite: * (SEMVER-MINOR) throw ERR_NO_SQLITE without SQLite support (Christian Aurich Zanettini Martins) nodejs#67727 * (SEMVER-MINOR) add statement.columnCount getter (Guilherme Araújo) nodejs#67658 * mark as stable (Christian Aurich Zanettini Martins) nodejs#67654 src: * (SEMVER-MINOR) expand --process-timeout output to include workers (James M Snell) nodejs#67712 * (SEMVER-MINOR) restore tty state on exit only if changed (Matteo Collina) nodejs#66753 tls: * (SEMVER-MINOR) docs-deprecate TLS renegotiation, add allowRenegotiation opt-in (Tim Perry) nodejs#67532 PR-URL: nodejs#67757
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.