mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-20 13:54:36 +01:00
Document hsm_secret encryption
This commit is contained in:
parent
1c27545f9e
commit
fac5faacc0
2 changed files with 5 additions and 1 deletions
|
@ -21,6 +21,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
- Protocol: no longer ask for `initial_routing_sync` (only affects ancient peers).
|
||||
- Protocol: nodes now announce features in `node_announcement` broadcasts.
|
||||
|
||||
- Wallet: we now support the encryption of the BIP32 master seed (a.k.a. `hsm_secret`).
|
||||
|
||||
### Changed
|
||||
|
||||
- JSON API: `txprepare` now uses `outputs` as parameter other than `destination` and `satoshi`
|
||||
|
|
|
@ -77,7 +77,7 @@ You can start `lightningd` with the following command:
|
|||
lightningd --network=bitcoin --log-level=debug
|
||||
```
|
||||
|
||||
This creates a `.lightning/` subdirectory in your home directory: see `man -l doc/lightningd.8`.
|
||||
This creates a `.lightning/` subdirectory in your home directory: see `man -l doc/lightningd.8` (or https://lightning.readthedocs.io/) for more runtime options.
|
||||
|
||||
### Using The JSON-RPC Interface
|
||||
|
||||
|
@ -102,6 +102,8 @@ Once you've started for the first time, there's a script called
|
|||
`contrib/bootstrap-node.sh` which will connect you to other nodes on
|
||||
the lightning network.
|
||||
|
||||
You can encrypt the BIP32 root seed (what is stored in `hsm_secret`) by passing the `--encrypted-hsm` startup argument. You can start `lightningd` with `--encrypted-hsm` on an already existing `lightning-dir` (with a not encrypted `hsm_secret`). If you pass that option, you __will not__ be able to start `lightningd` (with the same wallet) again without the password, so please beware with your password management. Also beware of not feeling too safe with an encrypted `hsm_secret`: unlike for `bitcoind` where the wallet encryption can restrict the usage of some RPC command, `lightningd` always need to access keys from the wallet which is thus __not locked__ (yet), even with an encrypted BIP32 master seed.
|
||||
|
||||
There are also numerous plugins available for c-lightning which add
|
||||
capabilities: in particular there's a collection at:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue