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: PVE-001 Signature Malleability #40

Merged
merged 2 commits into from
Oct 20, 2022
Merged

Fix: PVE-001 Signature Malleability #40

merged 2 commits into from
Oct 20, 2022

Conversation

x64x48
Copy link
Collaborator

@x64x48 x64x48 commented Oct 19, 2022

If we allow any values for recover params v, we allow two different signatures both resulting in a same valid recovery.

In this PR, I remove tryRecove() when signature is only 64 bytes.

More information, please see: OpenZeppelin/openzeppelin-contracts#1622

@WesleyLiu0717 WesleyLiu0717 merged commit 3c2f0d1 into main Oct 20, 2022
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.

4 participants