core-lightning/doc/lightning-signmessage.7.md
Rusty Russell ad48814746 doc: man pages for checkmessage and signmessage.
They're a little subtle, so let's spell out exactly what checkmessage
means.  In particular, we avoid discussing key derivation from a
signature, as it tends to get people (like me!) into trouble: we
describe it instead as iterating through every known node.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-10-14 18:58:44 -05:00

1.0 KiB

lightning-signmessage -- Command to create a signature from this node

SYNOPSIS

signmessage message

DESCRIPTION

The signmessage RPC command creates a digital signature of message using this node's secret key. A receiver who knows your node's id and the message can be sure that the resulting signature could only be created by something with access to this node's secret key.

message must be less that 65536 characters.

RETURN VALUE

An object with attributes signature, recid and zbase is returned. zbase is the result of signature and recid encoded in a style compatible with lnd's SignMessageRequest.

AUTHOR

Rusty Russell <rusty@rustcorp.com.au> is mainly responsible.

SEE ALSO

lightning-checkmessage(7)

RESOURCES

Main web site: https://github.com/ElementsProject/lightning