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 ecrecover and verify methods #500

Merged
merged 7 commits into from
Jun 16, 2020
Merged

Fix ecrecover and verify methods #500

merged 7 commits into from
Jun 16, 2020

Conversation

flodesi
Copy link
Contributor

@flodesi flodesi commented Jun 15, 2020

Summary of changes
Changes introduced in this pull request:

  • Fix ecrecover method to properly return the required address
  • Update wallet signing for secp256 to return the proper signature including required recovery byte
  • Move bls_verify method to wallet to take advantage of wallet signing
  • Add secp_verify test to test secp verification as well

Reference issue to close (if applicable)

Closes
#498

crypto/src/signature.rs Show resolved Hide resolved
key_management/src/wallet.rs Outdated Show resolved Hide resolved
key_management/src/wallet_helpers.rs Outdated Show resolved Hide resolved
@flodesi flodesi requested review from ec2 and austinabell June 16, 2020 14:36
key_management/src/wallet.rs Outdated Show resolved Hide resolved
key_management/src/wallet.rs Outdated Show resolved Hide resolved
@flodesi flodesi requested a review from austinabell June 16, 2020 15:03
@flodesi flodesi merged commit dd396b9 into master Jun 16, 2020
@flodesi flodesi deleted the jaden/ecrecover branch June 16, 2020 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants