wizard: try harder to have temporarily stored pw erased from memory
This commit is contained in:
@@ -582,6 +582,7 @@ class BaseWizard(Logger):
|
||||
if not self.pw_args:
|
||||
return
|
||||
password, encrypt_storage, storage_enc_version = self.pw_args
|
||||
self.pw_args = None # clean-up so that it can get GC-ed
|
||||
storage = WalletStorage(path)
|
||||
storage.set_keystore_encryption(bool(password))
|
||||
if encrypt_storage:
|
||||
|
||||
Reference in New Issue
Block a user