Skip to content

Support Bitcoin secp256k1 signature verification #754

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

Closed
ethanfrey opened this issue Jan 27, 2021 · 1 comment
Closed

Support Bitcoin secp256k1 signature verification #754

ethanfrey opened this issue Jan 27, 2021 · 1 comment

Comments

@ethanfrey
Copy link
Member

ethanfrey commented Jan 27, 2021

Part of #751
Requires #780
Follow same steps as #752

Add a method that verifies a public key and signature in the format used by ethereum (compressed pubkey, RLP encoded signature). This can either be a separate verify_secp256k1_btc() method or provide a function to convert this into the same format used by cosmos and then verify it.

Here is a starting place to look at how Bitcoin signatures are DER encoded: https://bitcoin.stackexchange.com/questions/12554/why-the-signature-is-always-65-13232-bytes-long

@webmaster128 webmaster128 changed the title Implement MockApi verification for Bitcoin signatures (secp256k1) Support Bitcoin secp256k1 signature verification Feb 9, 2021
@webmaster128 webmaster128 added this to the 0.14.0 milestone Feb 9, 2021
@webmaster128
Copy link
Member

Closing in favour of #798

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants