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

Test and fix conversion of EdDSA keys with leading zero #1693

Closed
wants to merge 2 commits into from

Conversation

vanitasvitae
Copy link
Contributor

@vanitasvitae vanitasvitae commented Jun 2, 2024

This PR contains a test and a patch for conversion of Ed25519, Ed448 keys which have a leading 0 in their encoding.
Fixes #1690

@vanitasvitae vanitasvitae force-pushed the ed_leading_zero branch 2 times, most recently from 47ca97b to f169c1f Compare June 2, 2024 13:08
@vanitasvitae vanitasvitae mentioned this pull request Jun 2, 2024
@vanitasvitae
Copy link
Contributor Author

I added a test for an Ed25519 key with a leading 0 as well.

@vanitasvitae vanitasvitae changed the title Test and fix conversion of Ed448 key with leading zero Test and fix conversion of EdDSA keys with leading zero Jun 2, 2024
@dghgit
Copy link
Contributor

dghgit commented Jun 3, 2024

This makes sense. Merged! Thanks.

@dghgit dghgit closed this Jun 3, 2024
@dghgit dghgit self-assigned this Jun 3, 2024
@vanitasvitae vanitasvitae deleted the ed_leading_zero branch June 3, 2024 10:55
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.

Converting Ed25519, Ed448 keys fails if encoding has leading 0
2 participants