mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
b2148d0eab
This means we will document deprecations and additions, rather than just pretending they've always been that way! Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
42 lines
998 B
Markdown
42 lines
998 B
Markdown
lightning-makesecret -- Command for deriving pseudorandom key from HSM
|
|
=====================================================================
|
|
|
|
SYNOPSIS
|
|
--------
|
|
|
|
**makesecret** [*hex*] [*string*]
|
|
|
|
DESCRIPTION
|
|
-----------
|
|
|
|
The **makesecret** RPC command derives a secret key from the HSM\_secret.
|
|
|
|
One of *hex* or *string* must be specified: *hex* can be any hex data,
|
|
*string* is a UTF-8 string interpreted literally.
|
|
|
|
RETURN VALUE
|
|
------------
|
|
|
|
[comment]: # (GENERATE-FROM-SCHEMA-START)
|
|
On success, an object is returned, containing:
|
|
|
|
- **secret** (secret): the pseudorandom key derived from HSM\_secret (always 64 characters)
|
|
|
|
[comment]: # (GENERATE-FROM-SCHEMA-END)
|
|
|
|
|
|
The following error codes may occur:
|
|
- -1: Catchall nonspecific error.
|
|
|
|
AUTHOR
|
|
------
|
|
|
|
Aditya <<aditya.sharma20111@gmail.com>> is mainly responsible.
|
|
|
|
RESOURCES
|
|
---------
|
|
|
|
Main web site: <https://github.com/ElementsProject/lightning>
|
|
|
|
[comment]: # ( SHA256STAMP:3a09136243f716a657368f4483d4211ac37853eb69f26b8b30f1270ed2c6e993)
|