Add key validation utilities and integrate

This commit is contained in:
thePR0M3TH3AN
2025-08-01 10:38:40 -04:00
parent 20896812a4
commit cc8fba9f12
14 changed files with 206 additions and 12 deletions

View File

@@ -22,7 +22,7 @@ def test_nostr_key_determinism():
backup_mgr = BackupManager(tmp_path, cfg_mgr)
entry_mgr = EntryManager(vault, backup_mgr)
idx = entry_mgr.add_nostr_key("main")
idx = entry_mgr.add_nostr_key("main", TEST_SEED)
entry = entry_mgr.retrieve_entry(idx)
assert entry == {
"type": "nostr",