2022-06-24 07:09:12 +05:30
|
|
|
lightning-makesecret -- Command for deriving pseudorandom key from HSM
|
|
|
|
=====================================================================
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
|
|
|
|
2022-07-15 13:57:07 +09:30
|
|
|
**makesecret** *hex*
|
2022-06-24 07:09:12 +05:30
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
|
|
|
|
The **makesecret** RPC command derives a secret key from the HSM_secret.
|
|
|
|
|
2022-07-15 13:57:07 +09:30
|
|
|
The *hex* can be any hex data.
|
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
|
|
|
|
2022-06-24 07:09:12 +05:30
|
|
|
- **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.
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
|
|
|
|
|
|
|
lightning-getsharedsecret(7)
|
|
|
|
|
|
|
|
RESOURCES
|
|
|
|
---------
|
|
|
|
|
|
|
|
Main web site: <https://github.com/ElementsProject/lightning>
|
|
|
|
|
2022-09-08 10:38:00 +09:30
|
|
|
[comment]: # ( SHA256STAMP:0ef7c3e2172219fa647d1c447cb82daa7857c6c53a27fd191bff83f59ce6b9f7)
|