2022-06-24 07:09:12 +05:30
|
|
|
lightning-makesecret -- Command for deriving pseudorandom key from HSM
|
|
|
|
=====================================================================
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
|
|
|
|
2022-09-29 13:18:53 +09:30
|
|
|
**makesecret** [*hex*] [*string*]
|
2022-06-24 07:09:12 +05:30
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
|
2022-11-10 20:44:56 -05:00
|
|
|
The **makesecret** RPC command derives a secret key from the HSM\_secret.
|
2022-06-24 07:09:12 +05:30
|
|
|
|
2022-09-29 13:18:53 +09:30
|
|
|
One of *hex* or *string* must be specified: *hex* can be any hex data,
|
|
|
|
*string* is a UTF-8 string interpreted literally.
|
2022-06-24 07:09:12 +05:30
|
|
|
|
|
|
|
RETURN VALUE
|
|
|
|
------------
|
|
|
|
|
|
|
|
[comment]: # (GENERATE-FROM-SCHEMA-START)
|
|
|
|
On success, an object is returned, containing:
|
2022-09-06 07:03:09 +09:30
|
|
|
|
2023-01-30 16:54:16 +10:30
|
|
|
- **secret** (secret): the pseudorandom key derived from HSM\_secret
|
2022-06-24 07:09:12 +05:30
|
|
|
|
|
|
|
[comment]: # (GENERATE-FROM-SCHEMA-END)
|
|
|
|
|
|
|
|
|
|
|
|
The following error codes may occur:
|
2023-10-14 10:09:05 +02:00
|
|
|
|
2022-06-24 07:09:12 +05:30
|
|
|
- -1: Catchall nonspecific error.
|
|
|
|
|
|
|
|
AUTHOR
|
|
|
|
------
|
|
|
|
|
|
|
|
Aditya <<aditya.sharma20111@gmail.com>> is mainly responsible.
|
|
|
|
|
|
|
|
RESOURCES
|
|
|
|
---------
|
|
|
|
|
|
|
|
Main web site: <https://github.com/ElementsProject/lightning>
|
|
|
|
|
2024-01-25 10:58:53 +10:30
|
|
|
[comment]: # ( SHA256STAMP:098d2882774cb9f33fb8aa93b7be1bf102d96a4835c550fdda7828ab5812490d)
|