docs: Add a section in configuring_tor about the --tor.encryptkey flag

This commit is contained in:
Graham Krizek
2020-07-11 22:49:24 -05:00
committed by Orbital
parent 073c990c75
commit c284574104
2 changed files with 7 additions and 0 deletions

View File

@@ -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
file. The path to this private key file can also be modified with the
`--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.

View File

@@ -935,6 +935,8 @@ litecoin.node=ltcd
;The path to the private key of the watchtower onion service being created
; tor.watchtowerkeypath=/other/path/
; Instructs lnd to encrypt the private key using the wallet's seed.
; tor.encryptkey=true
[watchtower]