mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-11-05 04:12:03 +00:00
Clear entry cache on vault lock
This commit is contained in:
1 parent
4d5f1e5f14
commit
1f460b3aae
1 file changed
+2
@@ -215,6 +215,8 @@ class PasswordManager:
|
||||
|
||||
def lock_vault(self) -> None:
|
||||
"""Clear sensitive information from memory."""
|
||||
if self.entry_manager is not None:
|
||||
self.entry_manager.clear_cache()
|
||||
self.parent_seed = None
|
||||
self.encryption_manager = None
|
||||
self.entry_manager = None
|
||||
|
||||
Reference in new issue
Block a user