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

Support for Web Cryptography API #41

Open
xcthulhu opened this issue Aug 6, 2015 · 3 comments
Open

Support for Web Cryptography API #41

xcthulhu opened this issue Aug 6, 2015 · 3 comments

Comments

@xcthulhu
Copy link
Contributor

xcthulhu commented Aug 6, 2015

This is on the horizon: http://www.w3.org/TR/WebCryptoAPI/

It would be great if bitauth was ready and supporting this as soon as implementations start to emerge in browsers.

@martindale
Copy link
Contributor

+1, great idea. I'll be pursuing this shortly.

@braydonf
Copy link
Contributor

The secp256k1 curve unfortunately isn't supported. Also, with browser crypto.subtle support, I don't think there would be a need for this library, as it would be provided by the browser.

@xcthulhu
Copy link
Contributor Author

You can just specify the secp256k1 as ECDSA parameters: http://www.w3.org/TR/WebCryptoAPI/#dfn-EcdsaParams

Just perusing this document, this API is similar to BouncyCastle's.

I can't help but notice that crypto.subtle doesn't support ECDH shared secrets, but neither does WebCryptoAPI, so maybe I can sweet talk you guys into going the extra mile?

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

No branches or pull requests

3 participants