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

Possible issue with signing data. #60

Open
SirRujak opened this issue Feb 21, 2019 · 0 comments
Open

Possible issue with signing data. #60

SirRujak opened this issue Feb 21, 2019 · 0 comments

Comments

@SirRujak
Copy link

Bug Report

Your Environment

Software Version(s)
hypercore Master Branch
Rustc N/A
Operating System N/A

Expected Behavior

If I understand correctly the sign function in hypercore/crypto should be using the secret/private key to sign the data rather than the public key.

Current Behavior

Currently using the public key rather than private key from what I can tell.

Code Sample

https://github.com/datrs/hypercore/blob/master/src/crypto/key_pair.rs#L15-L22

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