Merge pull request #480 from PR0M3TH3AN/codex/update-lock_vault-to-clear-cache

Clear entry cache on vault lock
This commit is contained in:
thePR0M3TH3AN
2025-07-12 13:58:25 -04:00
committed by GitHub

View File

@@ -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