mirror of
https://github.com/PR0M3TH3AN/VoxVera.git
synced 2026-10-27 09:40:40 +00:00
NIP-46 now supports both connect directions on the editor and the board: - bunker:// (existing): paste a link the signer app generated. - nostrconnect:// (new): the client generates the link, renders it as a QR (+ a copyable link for one-device use), listens on a rendezvous relay (relay.nsec.app), and the signer app scans it and connects back — proven by echoing the client's random secret. The discovered signer pubkey then drives the durable connection (shared adopt path). Both paths stay session-only with an ephemeral local key; the QR uses the same hand-rolled NIP-44 client (NIP-04 decrypt fallback). qrcode- generator is now loaded on the board too. 3 new localized strings (scan / waiting / copy-link) across all 14 languages in NOSTR_UI and BOARD_UI; i18n parity passes. Also per feedback: the board's "Safety & privacy" link moves out of the topbar (where it ran together with "Back to VoxVera") into a centered footer link matching the home page, and both pages now link /safety.html (works on the static host and Vercel alike). Tests: editor and board each connect via a fake signer that "scans" the nostrconnect QR (reads the on-screen URI, echoes the secret) — all 6 engines. Full suite 372 passing. Co-Authored-By: Claude Opus 4.8 <[email protected]>