Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src: remove SecureContext _external getter #20237

Closed
wants to merge 1 commit into from

Conversation

addaleax
Copy link
Member

This is unused inside Node core, so nothing good can come from keeping it around.

(If somebody wants to label this semver-major, I don’t really care, but it’s really just unused code in an internal API that can’t really be used in a meaningful way.)

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

This is unused inside Node core, so nothing good can
come from keeping it around.
@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. crypto Issues and PRs related to the crypto subsystem. labels Apr 23, 2018
@addaleax
Copy link
Member Author

@mscdex
Copy link
Contributor

mscdex commented Apr 24, 2018

CITGM run?

@BridgeAR BridgeAR added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Apr 24, 2018
@BridgeAR
Copy link
Member

Copy link
Member

@tniessen tniessen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any +1/-60 change involving node_crypto.cc looks good to me.

BridgeAR pushed a commit to BridgeAR/node that referenced this pull request Apr 26, 2018
This is unused inside Node core, so nothing good can
come from keeping it around.

PR-URL: nodejs#20237
Reviewed-By: Daniel Bevenius <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
@BridgeAR
Copy link
Member

Landed in 03e25b6 🎉

@BridgeAR BridgeAR closed this Apr 26, 2018
MylesBorins pushed a commit that referenced this pull request May 4, 2018
This is unused inside Node core, so nothing good can
come from keeping it around.

PR-URL: #20237
Reviewed-By: Daniel Bevenius <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
@MylesBorins MylesBorins mentioned this pull request May 8, 2018
@dyatlov
Copy link
Contributor

dyatlov commented Jul 8, 2018

This broke uWebsockets bindings for nodejs: https://github.com/uNetworking/uWebSockets-bindings/blob/master/nodejs/src/uws.js#L508
Please bring it back.. this library is extremely popular and significantly outperforms other websocket implementations.

@addaleax addaleax deleted the crypto-no-external branch July 8, 2018 19:37
@addaleax
Copy link
Member Author

addaleax commented Jul 8, 2018

@dyatlov That library is messing with Node’s internals in multiple ways that are very sensitive to changes… reverting this might work as a short-term measure (and you can feel free to open a PR if you like), but: Do not expect that library to be usable in a stable way, there are many ways in which it could break unexpectedly.

This is a larger issue that the library authors need to address – this might require opening a few issues here, but it should be worth the effort.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. c++ Issues and PRs that require attention from people who are familiar with C++. crypto Issues and PRs related to the crypto subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.