You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Within the next day or two I'll have a PR that switches the deps/ncrypto to the one that is in the repo along with integrating it into the update deps. Between now and then, opening PRs against the one in deps/ncrypto is fine and I'll open the corresponding PR ni the ncrypto repo.
Overall, however, I've been thinking we need a nodejs/ncrypto team to manage the longer term changes in ncrypto.
I'm at a loss trying to reconcile with the added hurdle in having to work on different repos, waiting for deps PRs and only then working on node:crypto or node's WebCryptoAPI. I don't see many (if any) benefits for the nodejs project here. I understand the benefits of ncrypto for other runtimes tho, so wouldn't a process where nodejs/ncrypto is capturing snapshots of nodejs/node deps/ncrypto when node is released be more efficient?
Not to mention that any changes made to ncrypto do not get tested with the massive crypto test suite and WPTs of nodejs/node until a deps update PR is opened. There's even no way to test work in progress in CI.
As such I think switching ncrypto to be a full blown dependency is still a long way off. Setting up a process where nodejs/node latest releases get pulled to and tagged in nodejs/ncrypto seems more appropriate to me given current state of affairs.
@jasnell It's exactly because your timeline is the next day or two that I raise my concerns. nodejs/ncrypto related workflows after said switch are not set up for healthy, welcoming, and hurdle-free contributions to the nodejs/node project.
I'm curious why the choice for Bazel here, so far I'm finding it a massive pain to understand and use, and ncrypto is using workspaces which is an already deprecated, scheduled for removal feature, dead on arrival 😞
Could something like CMake+vcpkg or meson be used instead, with better support and more developers with experience to contribute?
Activity
panva commentedon Mar 2, 2025
cc @jasnell @anonrig @codebytere as the currently only contributors in the commit list
jasnell commentedon Mar 2, 2025
Within the next day or two I'll have a PR that switches the
deps/ncryptoto the one that is in the repo along with integrating it into the update deps. Between now and then, opening PRs against the one indeps/ncryptois fine and I'll open the corresponding PR ni thencryptorepo.Overall, however, I've been thinking we need a nodejs/ncrypto team to manage the longer term changes in ncrypto.
panva commentedon Mar 2, 2025
I'm at a loss trying to reconcile with the added hurdle in having to work on different repos, waiting for deps PRs and only then working on node:crypto or node's WebCryptoAPI. I don't see many (if any) benefits for the nodejs project here. I understand the benefits of ncrypto for other runtimes tho, so wouldn't a process where nodejs/ncrypto is capturing snapshots of nodejs/node deps/ncrypto when node is released be more efficient?
panva commentedon Mar 2, 2025
Not to mention that any changes made to ncrypto do not get tested with the massive crypto test suite and WPTs of nodejs/node until a deps update PR is opened. There's even no way to test work in progress in CI.
As such I think switching ncrypto to be a full blown dependency is still a long way off. Setting up a process where nodejs/node latest releases get pulled to and tagged in nodejs/ncrypto seems more appropriate to me given current state of affairs.
jasnell commentedon Mar 2, 2025
As I suggested, making your edits in the
deps/ncryptodirectory under the node repo is appropriate for the time being.panva commentedon Mar 2, 2025
@jasnell It's exactly because your timeline is the next day or two that I raise my concerns. nodejs/ncrypto related workflows after said switch are not set up for healthy, welcoming, and hurdle-free contributions to the nodejs/node project.
anonrig commentedon Mar 2, 2025
@panva I'm working on adding a GitHub workflow to ncrypto to run nodejs test suite on every pr to ncrypto.
mhdawson commentedon Mar 5, 2025
@jasnell, just to confirm, I assume you are planning an updater in https://github.com/nodejs/node/tree/main/tools/dep_updaters like we have for all other dependencies to do the updates ?
jasnell commentedon Mar 5, 2025
Yep
ranisalt commentedon Mar 20, 2025
I'm curious why the choice for Bazel here, so far I'm finding it a massive pain to understand and use, and ncrypto is using workspaces which is an already deprecated, scheduled for removal feature, dead on arrival 😞
Could something like CMake+vcpkg or meson be used instead, with better support and more developers with experience to contribute?
fix: use proper return value check for EVP_CIPHER_CTX_ctrl()
fix: use proper return value check for EVP_CIPHER_CTX_ctrl()
fix: use proper return value check for EVP_CIPHER_CTX_ctrl()