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 #167

Open
1000i100 opened this issue Apr 2, 2021 · 1 comment
Open

ed25519 decode / decompress #167

1000i100 opened this issue Apr 2, 2021 · 1 comment

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 ?

@jedisct1
Copy link
Contributor

jedisct1 commented Apr 2, 2021

This is unconditionally and automatically done every time you use them.

In the public APIs, keys are always compressed as a single coordinate + the sign of the other one. So, recovering the second coordinate is necessary. Applications don't have to do anything.

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

2 participants