mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-01-19 05:45:21 +01:00
073c990c75
It's possible that a user might not want the Tor private key to sit on the disk in plaintext (it is a private key after all). So this commit adds a new flag to encrypt the Tor private key on disk using the wallet's seed. When the --tor.encryptkey flag is used, LND will still write the Tor key to the same file, however it will now be encrypted intead of plaintext. This essentially uses the same method to encrypt the Tor private key as is used to encrypt the Static Channel Backup file. |
||
---|---|---|
.. | ||
blob | ||
lookout | ||
wtclient | ||
wtdb | ||
wtmock | ||
wtpolicy | ||
wtserver | ||
wtwire | ||
conf.go | ||
config.go | ||
errors.go | ||
interface.go | ||
log.go | ||
standalone.go | ||
tlv_bench_test.go |