mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
store secret keys encrypted where possible
The secret spend key is kept encrypted in memory, and decrypted on the fly when needed. Both spend and view secret keys are kept encrypted in a JSON field in the keys file. This avoids leaving the keys in memory due to being manipulated by the JSON I/O API.
This commit is contained in:
parent
ea37614efe
commit
e9ffa91257
16 changed files with 661 additions and 160 deletions
|
@ -138,7 +138,7 @@ bool transactions_flow_test(std::string& working_folder,
|
|||
return false;
|
||||
}
|
||||
|
||||
w1.init(daemon_addr_a);
|
||||
w1.init(true, daemon_addr_a);
|
||||
|
||||
uint64_t blocks_fetched = 0;
|
||||
bool received_money;
|
||||
|
@ -149,7 +149,7 @@ bool transactions_flow_test(std::string& working_folder,
|
|||
return false;
|
||||
}
|
||||
|
||||
w2.init(daemon_addr_b);
|
||||
w2.init(true, daemon_addr_b);
|
||||
|
||||
MGINFO_GREEN("Using wallets: " << ENDL
|
||||
<< "Source: " << w1.get_account().get_public_address_str(MAINNET) << ENDL << "Path: " << working_folder + "/" + path_source_wallet << ENDL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue