Handle decryption failures when syncing index

This commit is contained in:
thePR0M3TH3AN committed 2025-07-16 15:19:48 -04:00
1 parent 387bfad220
commit b80abff895
6 files changed
+85 -29

No files matched your search

+1 -1
View File
@@ -63,7 +63,7 @@ def test_index_export_import_round_trip():
},
}
)
vault.decrypt_and_save_index_from_nostr(encrypted)
assert vault.decrypt_and_save_index_from_nostr(encrypted)
loaded = vault.load_index()
assert loaded["entries"] == original["entries"]