mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-25 13:12:11 +02:00
docs: Add a section in configuring_tor about the --tor.encryptkey flag
This commit is contained in:
@@ -182,3 +182,8 @@ base directory. This will allow `lnd` to recreate the same hidden service upon
|
|||||||
restart. If you wish to generate a new onion service, you can simply delete this
|
restart. If you wish to generate a new onion service, you can simply delete this
|
||||||
file. The path to this private key file can also be modified with the
|
file. The path to this private key file can also be modified with the
|
||||||
`--tor.privatekeypath` argument.
|
`--tor.privatekeypath` argument.
|
||||||
|
|
||||||
|
You can optionally encrypt the Tor private key by using the `--tor.encryptkey`
|
||||||
|
flag. This will still write to the same private key files. However instead of
|
||||||
|
writing the plaintext private key, `lnd` encrypts the private key using the
|
||||||
|
wallet's seed and writes the encrypted blob to the file.
|
@@ -935,6 +935,8 @@ litecoin.node=ltcd
|
|||||||
;The path to the private key of the watchtower onion service being created
|
;The path to the private key of the watchtower onion service being created
|
||||||
; tor.watchtowerkeypath=/other/path/
|
; tor.watchtowerkeypath=/other/path/
|
||||||
|
|
||||||
|
; Instructs lnd to encrypt the private key using the wallet's seed.
|
||||||
|
; tor.encryptkey=true
|
||||||
|
|
||||||
[watchtower]
|
[watchtower]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user