Skip to content

src,crypto: refactoring of crypto_context, SecureContext - #35665

Closed
jasnell wants to merge 1 commit into
nodejs:masterfrom
jasnell:crypto-cleanup-securecontext
Closed

src,crypto: refactoring of crypto_context, SecureContext#35665
jasnell wants to merge 1 commit into
nodejs:masterfrom
jasnell:crypto-cleanup-securecontext

Conversation

@jasnell

Copy link
Copy Markdown
Member

Cleaup and improvement of crypto_context and SecureContext.

This is semver-major primarily because of changes to error messages.

Signed-off-by: James M Snell jasnell@gmail.com

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

@nodejs-github-botnodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. tls Issues and PRs related to the tls subsystem. labels Oct 15, 2020
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/crypto
  • @nodejs/quic

@jasnelljasnell added crypto Issues and PRs related to the crypto subsystem. errors Issues and PRs related to JavaScript errors originated in Node.js core. request-ci Add this label to start a Jenkins CI on a PR. labels Oct 15, 2020
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Oct 16, 2020
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@jasnelljasnell added the request-ci Add this label to start a Jenkins CI on a PR. label Oct 16, 2020
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Oct 16, 2020
@nodejs-github-bot

This comment has been minimized.

Comment threadlib/_tls_common.js Outdated
Comment threadlib/_tls_common.js Outdated
Comment threadlib/_tls_common.js Outdated
Comment threadsrc/crypto/crypto_context.cc Outdated
@nodejs-github-bot

This comment has been minimized.

@TrottTrott added the request-ci Add this label to start a Jenkins CI on a PR. label Oct 18, 2020
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Oct 18, 2020
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@jasnell
jasnellforce-pushed the crypto-cleanup-securecontext branch from 30ac425 to 1f8120cCompareNovember 4, 2020 00:15
@jasnelljasnell added the request-ci Add this label to start a Jenkins CI on a PR. label Nov 4, 2020
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Nov 4, 2020
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@jasnell
jasnellforce-pushed the crypto-cleanup-securecontext branch from 1f8120c to 33e7a62CompareNovember 6, 2020 22:04
@jasnelljasnell added the request-ci Add this label to start a Jenkins CI on a PR. label Nov 6, 2020
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Nov 6, 2020
@nodejs-github-bot

This comment has been minimized.

@jasnelljasnell added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Nov 6, 2020
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@aduh95aduh95 added the commit-queue Add this label to land a pull request using GitHub Actions. label Nov 10, 2020
@github-actionsgithub-actionsBot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Nov 10, 2020
@github-actions

Copy link
Copy Markdown
Contributor
Commit Queue failed
- Loading data for nodejs/node/pull/35665
✔ Done loading data for nodejs/node/pull/35665
----------------------------------- PR info ------------------------------------
Title src,crypto: refactoring of crypto_context, SecureContext (#35665)
Author James M Snell (@jasnell)
Branch jasnell:crypto-cleanup-securecontext -> nodejs:master
Labels C++, author ready, crypto, errors, tls
Commits 1
- src,crypto: refactoring of crypto_context, SecureContext
Committers 1
- James M Snell PR-URL: https://github.com/nodejs/node/pull/35665
Reviewed-By: Alba Mendez Reviewed-By: Tobias Nießen Reviewed-By: Rich Trott Reviewed-By: Franziska Hinkelmann ------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/35665
Reviewed-By: Alba Mendez Reviewed-By: Tobias Nießen Reviewed-By: Rich Trott Reviewed-By: Franziska Hinkelmann --------------------------------------------------------------------------------
⚠ Commits were pushed since the last review:
⚠ - src,crypto: refactoring of crypto_context, SecureContext
✔ Last GitHub Actions successful
ℹ Last Full PR CI on 2020-11-10T09:45:35Z: https://ci.nodejs.org/job/node-test-pull-request/34275/
- Querying data for job/node-test-pull-request/34275/
✔ Build data downloaded
✔ Last Jenkins CI successful
ℹ This PR was created on Thu, 15 Oct 2020 23:54:44 GMT
✔ Approvals: 4
✔ - Alba Mendez (@mildsunrise): https://github.com/nodejs/node/pull/35665#pullrequestreview-510987295
✔ - Tobias Nießen (@tniessen) (TSC): https://github.com/nodejs/node/pull/35665#pullrequestreview-511000285
✔ - Rich Trott (@Trott) (TSC): https://github.com/nodejs/node/pull/35665#pullrequestreview-511141489
✔ - Franziska Hinkelmann (@fhinkel) (TSC): https://github.com/nodejs/node/pull/35665#pullrequestreview-511619185
--------------------------------------------------------------------------------
✔ Aborted `git node land` session in /home/runner/work/node/node/.ncu

Commit Queue action: https://github.com/nodejs/node/actions/runs/356556511

@github-actionsgithub-actionsBot added the commit-queue-failed An error occurred while landing this pull request using GitHub Actions. label Nov 10, 2020
Comment threadlib/_tls_common.js Outdated
Comment threadlib/_tls_common.js Outdated
Comment threadlib/_tls_common.js Outdated
Comment threadlib/_tls_common.js Outdated
@aduh95aduh95 removed author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue-failed An error occurred while landing this pull request using GitHub Actions. labels Nov 10, 2020
Cleaup and improvement of crypto_context and SecureContext.
Signed-off-by: James M Snell <jasnell@gmail.com>
@jasnell
jasnellforce-pushed the crypto-cleanup-securecontext branch from 33e7a62 to 99dde03CompareNovember 11, 2020 20:01
jasnell added a commit that referenced this pull request Nov 11, 2020
Cleaup and improvement of crypto_context and SecureContext.
Signed-off-by: James M Snell <jasnell@gmail.com>
PR-URL: #35665
Reviewed-By: Alba Mendez <me@alba.sh>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
@jasnell

Copy link
Copy Markdown
MemberAuthor

Landed in 35274cb

@jasnelljasnell closed this Nov 11, 2020
codebytere pushed a commit that referenced this pull request Nov 22, 2020
Cleaup and improvement of crypto_context and SecureContext.
Signed-off-by: James M Snell <jasnell@gmail.com>
PR-URL: #35665
Reviewed-By: Alba Mendez <me@alba.sh>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
@codebyterecodebytere mentioned this pull request Nov 22, 2020
@benjamingr

Copy link
Copy Markdown
Member

Hey, this broke socket.io which passes null as the pfx value - it has been fixed since but worth mentioning.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++Issues and PRs that require attention from people who are familiar with C++.cryptoIssues and PRs related to the crypto subsystem.errorsIssues and PRs related to JavaScript errors originated in Node.js core.tlsIssues and PRs related to the tls subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants

@jasnell@nodejs-github-bot@benjamingr@fhinkel@Trott@mildsunrise@tniessen@aduh95@targos