Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 941 Bytes

lightning-makesecret.7.md

File metadata and controls

44 lines (27 loc) · 941 Bytes

lightning-makesecret -- Command for deriving pseudorandom key from HSM

SYNOPSIS

makesecret hex

DESCRIPTION

The makesecret RPC command derives a secret key from the HSM_secret.

The hex can be any hex data.

RETURN VALUE

On success, an object is returned, containing:

  • secret (secret): the pseudorandom key derived from HSM_secret (always 64 characters)

The following error codes may occur:

  • -1: Catchall nonspecific error.

AUTHOR

Aditya <[email protected]> is mainly responsible.

SEE ALSO

lightning-getsharedsecret(7)

RESOURCES

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