Wallet file encryption:
- a keypair is derived from the wallet password - only the public key is retained in memory - wallets must opened and closed explicitly with the daemon
This commit is contained in:
@@ -331,8 +331,8 @@ class BaseWizard(object):
|
||||
else:
|
||||
self.on_password(None)
|
||||
|
||||
def on_password(self, password):
|
||||
self.storage.put('use_encryption', bool(password))
|
||||
def on_password(self, password, encrypt):
|
||||
self.storage.set_password(password, encrypt)
|
||||
for k in self.keystores:
|
||||
if k.may_have_password():
|
||||
k.update_password(None, password)
|
||||
|
||||
Reference in New Issue
Block a user