-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add signing and verification of arbitrary messages #1290
Comments
arajasek
added a commit
that referenced
this issue
Feb 25, 2020
- The command takes an (optional) address and a message (in hex) and prints out a signature of the msg
arajasek
added a commit
that referenced
this issue
Feb 25, 2020
- The command takes an address, message, and signature, and returns true if the sig is valid
arajasek
added a commit
that referenced
this issue
Feb 25, 2020
- The command takes an (optional) address and a message (in hex) and prints out a signature of the msg
arajasek
added a commit
that referenced
this issue
Feb 25, 2020
- The command takes an address, message, and signature, and returns true if the sig is valid
arajasek
added a commit
that referenced
this issue
Feb 26, 2020
- The command takes an address, message, and signature, and returns true if the sig is valid
arajasek
added a commit
that referenced
this issue
Feb 27, 2020
- The command takes an (optional) address and a message (in hex) and prints out a signature of the msg
arajasek
added a commit
that referenced
this issue
Feb 27, 2020
- The command takes an address, message, and signature, and returns true if the sig is valid
arajasek
added a commit
that referenced
this issue
Feb 28, 2020
- The command takes an address and a message (in hex) and prints out a signature of the msg
arajasek
added a commit
that referenced
this issue
Feb 28, 2020
- The command takes an address, message, and signature, and returns true if the sig is valid
magik6k
added a commit
that referenced
this issue
Mar 1, 2020
Re: #1290: Add sign and verify CLI commands
Done in #1292 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To facilitate certain types of off-chain communications, it's useful to be able to verify that a message came from someone who controls a particular address. One way to do this (proposed by @whyrusleeping in response to some questions) is to implement two new commands:
lotus wallet sign --from=<addr> <message>
should produce a valid signature over<message>
signed by<addr>
's private key.lotus wallet verify --from=<addr> --sig=<signature> <message>
should verify whether the provided signature is valid over the given message and address.The text was updated successfully, but these errors were encountered: