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

No option to recover public key from signature. #38

Open
pibara opened this issue Sep 25, 2022 · 0 comments
Open

No option to recover public key from signature. #38

pibara opened this issue Sep 25, 2022 · 0 comments

Comments

@pibara
Copy link
Contributor

pibara commented Sep 25, 2022

While the recovery info can be encoded in the signatures and parsing of signatures with recovery info is supported, it currently isn't actually possible to verify a signature with recovery info without still suplying a public key first.

Either the verify function should work without an explicit public key, or the signature should allow the public key to be extracted from it so that public key could be handed to the ecdsa verify.

(This issue is related to #37 in that the functionality I need to implement in this project has recovery info in signatures AND a public key that is compressed. If either of these issues were solved validation would be possible.)

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

No branches or pull requests

1 participant