mirror of
https://github.com/monero-project/monero.git
synced 2025-08-11 15:30:23 -04:00
wallet: wipe seed from memory where appropriate
This commit is contained in:
parent
b780cf4db1
commit
ea37614efe
19 changed files with 653 additions and 144 deletions
|
@ -49,7 +49,7 @@ namespace tools
|
|||
password_container(std::string&& password) noexcept;
|
||||
|
||||
//! \return A password from stdin TTY prompt or `std::cin` pipe.
|
||||
static boost::optional<password_container> prompt(bool verify, const char *mesage = "Password");
|
||||
static boost::optional<password_container> prompt(bool verify, const char *mesage = "Password", bool hide_input = true);
|
||||
static std::atomic<bool> is_prompting;
|
||||
|
||||
password_container(const password_container&) = delete;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue