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

Browser compatible implementation of Chacha20/Poly1305, X25519 and ED25519 #219

Open
Mischala opened this issue Sep 21, 2018 · 2 comments
Open

Comments

@Mischala
Copy link

I'm currently working on a project that requires Chacha20/Poly1305 & X25519 for JWE, and ED25519 for JWS for all data sent to the backend, from a browser.

Currently it's possible to use all of these on Node, because it's Crypto module contains an implementation of them.

However, I need it in the Browser.
I'm thinking of integrating a pure JavaScript implementation of Chacha20/Poly1305 X25519 and ED25519 into node-jose, for this purpose.
To be compliant with the following RFCs:
RFC7539
RFC8439
RFC8037

My question is, would you be interested in a PR? or is the focus on WebCrypto only?

Thanks,
Mischa

@Mischala Mischala changed the title Browser compatible implementation of Chacha20/Poly1305 Browser compatible implementation of Chacha20/Poly1305, X25519 and ED25519 Sep 21, 2018
@panva
Copy link
Contributor

panva commented Mar 29, 2019

We’d like to see a js implementation contribution, yes. That being said native is always better.

@CMCDragonkai
Copy link

Relevant PRs to node-forge digitalbazaar/forge#851 however node-forge doesn't seem to have very active work as there's lots of PRs being left there.

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

No branches or pull requests

3 participants