-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels