-
Notifications
You must be signed in to change notification settings - Fork 359
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
SubtleCrypto #184
Comments
edit) I found |
https://www.npmjs.com/package/jose will be out of the box compatible as soon as SubtleCrypto is implemented as well. |
Hi @richarddavison do we have any ETAs on the crypto implementation? |
Hi @ShivamJoker! Thanks for your patience. We are working on it so should be weeks rather than months. It's not a super complex API, but you'd have to hang on for a bit longer 🙂 |
@richarddavison I was looking into this as well as we'd like to provide a Web Crypto API for our customers. If there's anything I can help with, let me know! I can allocate some time to contribute. It may also be helpful to use the WebCryptoAPI web-platform-tests once we merge #447 which adds the WPT test harness. |
@stephencroberts that would be fantastic. We appreciate all the help we could get 👌 Here is a reference implementation (not using the same JS engine, but contains all the algorithms we need so we can take a lot a inspiration from there) |
@richarddavison Is there a work-in-progress somewhere or would I start with what's in |
Please start of main and create a draft PR as soon as you have something even if it’s far from complete so we can “tag along” 🙂 |
FYI @richarddavison, this is on the back burner for now for us, so someone else is free to pick this up. If/when it becomes a priority again for us, I can revisit it. |
Also looking to implement an auth use case - the methods that would help would be I've looked at contributing but unfortunately I'm too out of my depth with Rust atm. |
I'm attempting to use jose to mint/verify JWT tokens and I'm seeing this error: |
Yeah, there's no crypto implementation in llrt, that's what this issue is about. |
@panva @perpil @stephencroberts thanks for your patience, we understand this its frustrating to don't have a crypto API. Crypto support will be added. There are a few differences between Node.js crypto libraries and WinterCG subtle crypto. Ideally we would support both, but Subtile will have priority. |
https://w3c.github.io/webcrypto/#dfn-SubtleCrypto
https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto?retiredLocale=sv-SE
Related issues
The text was updated successfully, but these errors were encountered: