forked from ElementsProject/lightning
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lightningd: have
makesecret
take hex
or string
(just like `data…
…store`) Changelog-Added: JSON-RPC: `makesecret` can take a string argument instead of hex. Signed-off-by: Rusty Russell <[email protected]>
- Loading branch information
1 parent
6adb1e0
commit 49fe1c8
Showing
4 changed files
with
29 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,14 +4,15 @@ lightning-makesecret -- Command for deriving pseudorandom key from HSM | |
SYNOPSIS | ||
-------- | ||
|
||
**makesecret** *hex* | ||
**makesecret** [*hex*] [*string*] | ||
|
||
DESCRIPTION | ||
----------- | ||
|
||
The **makesecret** RPC command derives a secret key from the HSM_secret. | ||
|
||
The *hex* can be any hex data. | ||
One of *hex* or *string* must be specified: *hex* can be any hex data, | ||
*string* is a UTF-8 string interpreted literally. | ||
|
||
RETURN VALUE | ||
------------ | ||
|
@@ -32,11 +33,6 @@ AUTHOR | |
|
||
Aditya <<[email protected]>> is mainly responsible. | ||
|
||
SEE ALSO | ||
-------- | ||
|
||
lightning-getsharedsecret(7) | ||
|
||
RESOURCES | ||
--------- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters