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

secp256k1: Correct edge case in deterministic sign. #1533

Merged

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Nov 23, 2018

This corrects an ultra rare and nearly impossible to hit edge case where the case of r == N in a deterministic signature could lead to an invalid signature being produced versus returning an error as desired.

Credits to @junderw for discovering this in btcsuite/btcd#1347.

This corrects an ultra rare and nearly impossible to hit edge case where
the case of r == N in a deterministic signature could lead to an invalid
signature being produced versus returning an error as desired.
@davecgh davecgh added this to the 1.4.0 milestone Nov 23, 2018
@davecgh davecgh merged commit 9e380c8 into decred:master Nov 23, 2018
@davecgh davecgh deleted the dcrec_correct_determinstic_sign_edge_condition branch November 23, 2018 19:49
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.

2 participants