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

ed25519 decode / decompress #1

Open
1000i100 opened this issue Apr 2, 2021 · 3 comments
Open

ed25519 decode / decompress #1

1000i100 opened this issue Apr 2, 2021 · 3 comments

Comments

@1000i100
Copy link

1000i100 commented Apr 2, 2021

I have ed25519 pubkeys.
I would like to check there validity.
The RFC say how to do that by decoding/decompressing to an x,y point : https://tools.ietf.org/html/rfc8032#page-11

Do y plan to add this to this lib ?

@nazar-pc
Copy link
Owner

nazar-pc commented Apr 2, 2021

No such plans. In fact I'm working with Rust whenever possible lately so updates to this library are unlikely any time soon.
If you manage to create a PR I will consider merging it and releasing a new version.

@1000i100
Copy link
Author

1000i100 commented Apr 2, 2021

does the wasm is from rust binding ? if yes, there is a rust crate to decode/decompress ed25519 : curve25519_dalek
https://doc.dalek.rs/curve25519_dalek/edwards/struct.CompressedEdwardsY.html#method.decompress

@nazar-pc
Copy link
Owner

nazar-pc commented Apr 2, 2021

Readme has a link to the library this WASM was compiled from. And no, it is not in Rust.

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

2 participants