test: align legacy migration handling

This commit is contained in:
thePR0M3TH3AN
2025-08-11 19:35:03 -04:00
parent 294eef9725
commit 28f552313f
10 changed files with 36 additions and 33 deletions

View File

@@ -129,6 +129,7 @@ def import_backup(
)
key = _derive_export_key(seed)
enc_mgr = EncryptionManager(key, vault.fingerprint_dir)
enc_mgr._legacy_migrate_flag = False
index_bytes = enc_mgr.decrypt_data(payload, context="backup payload")
index = json.loads(index_bytes.decode("utf-8"))