Fix legacy decryption iterations

This commit is contained in:
thePR0M3TH3AN committed 2025-08-03 17:53:42 -04:00
1 parent 2f95944318
commit 6fa9f0839e
3 files changed
+23 -15

No files matched your search

+3 -1
View File
@@ -138,7 +138,9 @@ class EncryptionManager:
password = prompt_existing_password(
"Enter your master password for legacy decryption: "
)
legacy_key = _derive_legacy_key_from_password(password)
legacy_key = _derive_legacy_key_from_password(
password, iterations=50_000
)
legacy_mgr = EncryptionManager(legacy_key, self.fingerprint_dir)
result = legacy_mgr.decrypt_data(encrypted_data)
logger.warning(