-
Notifications
You must be signed in to change notification settings - Fork 310
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
Feature Request — Runtime APIs - Incorrect reporting of available crypto modules #3009
Comments
@jasnell Could those calls be routed to subtle crypto or are those fundamentally different? |
They are different. I have been in the process of extracting Node.js' implementation of key generation into a dependency library that we can pull into workerd to ensure that we are compatible with their approach. It is a very slow process given Node.js' requirements around code review, etc, and just the sheer size of the task. tl;dr is this is a work in progress. Eventually we will have a full implementation of the |
Changing this to a feature request. |
Please do. |
@jasnell Thanks for the feedback, I have sent PRs to workerd and docs to clarify this. @BjornTheProgrammer I hope this helps, you should look at the Web crypto APIs to generate crypto keys for now. Thanks! |
@vicb Thank you for the response! I was actually concerned about this because I was attempting to implement the If so I might be interested in potentially contributing. |
@BjornTheProgrammer James is indeed working on bringing in the whole
This is a long because it requires refactoring Node.js sources:
James will be able to tell you more about if/how you can help with that |
The following methods: generateKey, generateKeySync, generateKeyPair, and generateKeyPairSync are all methods that are not implemented. Despite that, cloudflare's docs suggest that all of these methods are supported.
Upon looking at the code base, this is what all of the functions state
Should the docs be updated to reflect this reality?
The text was updated successfully, but these errors were encountered: