Skip to content

Possible issue with signing data. #60

Description

@SirRujak

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions