Skip to content
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

Implement WebCrypto API #145

Open
dlongley opened this issue Jul 18, 2014 · 7 comments
Open

Implement WebCrypto API #145

dlongley opened this issue Jul 18, 2014 · 7 comments

Comments

@dlongley
Copy link
Member

Implement the WebCrypto API so forge can act as a polyfill. This issue may be split up into separate parts to implement the API piecemeal. The WebCrypto API is finally being exposed in Chrome 37 so any work on this would be great.

@jduncanator
Copy link
Contributor

@dlongley Currently the WebCrypto API is heavily broken in certain areas. The Chromium dev's are working on it, but I'd hold off until M38 to save a lot of hair pulling! There is nothing worst than debugging crypto...

I'd also consider waiting until the Typed array backed forge buffer is implemented, will make life so much more easier when implementing WebCrypto API!

@dlongley
Copy link
Member Author

dlongley commented Aug 5, 2014

I'd also consider waiting until the Typed array backed forge buffer is implemented, will make life so much more easier when implementing WebCrypto API!

Agreed. Buffer interface and implementation changes are first on the API change/update list for forge.

@YuryStrozhevsky
Copy link

Would be interesting to see such polifill. Meanwhile, you can check PKIjs as an example for Web Cryptography API usage.

@BaurzhanSakhariev
Copy link

I'm sorry, I didn't understant, does forge implement Web Crypto API for now?

@YuryStrozhevsky
Copy link

Of course forge does not implement Web Crypto API.

@mattcollier
Copy link
Contributor

@BaurzhanSakharlev, not yet, but incorporating what is useful from WebCryto is on the road map. See: #203

@dlongley
Copy link
Member Author

Forge does not yet implement the Web Crypto API. It provides many of the same features (and others that Web Crypto does not yet provide), but through a different API. We do plan to also provide these features through the same Web Crypto API so forge can act as a polyfill.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants