vincenzopalazzo / lampo.rs

lampo (lightning in Italian) is a experimental implementation of a tiny lightning node
http://lampo.devcrew.cc
BSD 3-Clause "New" or "Revised" License
37 stars 14 forks source link

cli: ask as an input the bip 39 #223

Closed vincenzopalazzo closed 4 months ago

vincenzopalazzo commented 4 months ago

Before this commit the mnemonic was passed by command line option and it was a privacy leak because the information was stored inside the terminal history.

With this commit, we ask the seeds as input each time that lampo is run with --restore-wallet option.

In the future, this option will be required only the first time of initialization of the wallet.

Fixes: https://github.com/vincenzopalazzo/lampo.rs/issues/211

oversees https://github.com/vincenzopalazzo/lampo.rs/pull/213