mirror of
https://code.gri.mw/GUI/grim.git
synced 2026-07-15 11:18:55 +00:00
9e97d532e7
- No "Primary" (or any placeholder) label: label_for now yields the claimed name's local part or EMPTY, never a placeholder word. The UI derives its display from the name or a truncated npub, so an unnamed identity is shown by its npub, never "Primary". - Add Wallet::verify_nostr_password so the identity password modal can reject a wrong password up front (in-memory NIP-49 unlock of the active identity), matching the wallet-open modal, before spawning an add/switch worker. - Regression test: importing a bare nsec adds it as a held identity via the same NIP-49 encrypted store, keyed by its own pubkey, openable under the wallet password, with the active pointer unchanged (add never switches).