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

fix: using specification algorithm for ECDSA signatures (IEEE-P1363 format) #162

Merged
merged 1 commit into from
Jan 15, 2024

Conversation

AlexanderTar
Copy link
Contributor

By default, crypto library is using ASN.1/DER encoding for ECDSA signatures. Message signatures draft specifies a simple r || s concatenated encoding (also known as IEEE-P1363) instead

I've changed the library to support specified format and updated test cases to verify signatures from the spec

Copy link
Owner

@dhensby dhensby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks! No wonder I couldn't get the documented examples to pass in testing!

@dhensby dhensby merged commit 89861c0 into dhensby:master Jan 15, 2024
8 checks passed
Copy link

🎉 This PR is included in version 1.0.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@AlexanderTar AlexanderTar deleted the ecdsa-format branch January 15, 2024 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants