-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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: refine ncrypto more #57300
base: main
Are you sure you want to change the base?
src: refine ncrypto more #57300
Conversation
Review requested:
|
This comment was marked as outdated.
This comment was marked as outdated.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #57300 +/- ##
=======================================
Coverage 90.24% 90.24%
=======================================
Files 630 630
Lines 184920 184884 -36
Branches 36188 36187 -1
=======================================
- Hits 166876 166848 -28
+ Misses 11064 11056 -8
Partials 6980 6980
|
0c51603
to
c5839c9
Compare
This comment was marked as outdated.
This comment was marked as outdated.
An eventual goal for ncrypto is to completely abstract away details of working directly with openssl in order to make it easier to work with multiple different openssl/boringssl versions. As part of that we want to move away from direct reliance on specific openssl APIs in the runtime and instead go through the ncrypto abstractions. Not only does this help other runtimes trying to be compatible with Node.js, but it helps Node.js also by reducing the complexity of the crypto code in Node.js itself.
c5839c9
to
ec43618
Compare
ec43618
to
d111ff9
Compare
This comment was marked as outdated.
This comment was marked as outdated.
@nodejs/build ... getting a weird error with the
|
The linter in Jenkins is currently running on Node.js 20.18.2. I'm guessing something has landed recently on main or eslint that needs require(esm) which hasn't been backported to Node.js 20 yet. |
@richardlau ... thank you. @nodejs/tsc ... asking for permission to land this (when it is ready) without node-test-linter passing in CI assuming it is not fixed by then. linting is passing locally. |
This comment was marked as outdated.
This comment was marked as outdated.
FWIW I think I figured out why the eslint is failing #57314 - there is a breaking dependabot upgrade. |
An eventual goal for ncrypto is to completely abstract away
details of working directly with openssl in order to make it
easier to work with multiple different openssl/boringssl versions.
As part of that we want to move away from direct reliance on
specific openssl APIs in the runtime and instead go through
the ncrypto abstractions. Not only does this help other
runtimes trying to be compatible with Node.js, but it helps
Node.js also by reducing the complexity of the crypto code
in Node.js itself.