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

Add x25519 Support #88

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

TJKoury
Copy link
Contributor

@TJKoury TJKoury commented Jul 22, 2021

Since integration of the ECDH_ES mech is waiting on this issue, and I need x25519 for a project, I integrated a different crypto library for the time being.

Seems to be passing the test suite copied from the ED mech, though I am certain I missed something.

Standing by for feedback.

@rmhrisk rmhrisk requested a review from microshine July 22, 2021 22:55
@microshine
Copy link
Contributor

@TJKoury
Copy link
Contributor Author

TJKoury commented Jul 31, 2021

Great! I need x25519 support as well, for ECDH.

@TJKoury
Copy link
Contributor Author

TJKoury commented Aug 1, 2021

To clarify:

I'm aware that you can actually use Ed25519 for ECDH, but most heavily used libraries follow the separation of using Ed25519 for 'sign' & 'verify', and x25519 for 'deriveBits' & 'deriveKey' for ECDH_ES, including Node.

Seeing as how all the examples are testing using the Node API, and hopefully the WebCrypto browser standards will follow the Node example, implementing x25519 for completeness seems appropriate for an isomorphic library to bring the browser up to Node's capabilities.

@TJKoury
Copy link
Contributor Author

TJKoury commented Aug 19, 2021

So, thoughts?

@rmhrisk
Copy link
Contributor

rmhrisk commented Aug 19, 2021

@microshine

@TJKoury
Copy link
Contributor Author

TJKoury commented Oct 5, 2021

Bump

2 similar comments
@TJKoury
Copy link
Contributor Author

TJKoury commented Mar 8, 2022

Bump

@TJKoury
Copy link
Contributor Author

TJKoury commented Jul 9, 2022

Bump

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

Successfully merging this pull request may close these issues.

3 participants