mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-10-05 19:28:25 +00:00
The Account Backup screen was two walls of markdown with small buttons, and no way to copy the key onto paper. It is now: - A short header, then a "Secret key" card that shows the nsec as three numbered rows of 5-4-4-4-4 groups in UPPERCASE monospace, masked until the user taps to reveal. Copy and QR buttons sit under it. - A "Password-protected copy" card (NIP-49 ncryptsec) with a password field and Copy / QR buttons. scrypt now runs off the main thread. - Three one-line tips in place of the markdown blocks. The device-credential prompt now runs once per visit, not on every button. The key is hidden again and the approval dropped when the app goes to the background. The grid (KeyTranscriptionGrid, commonsUI) and the grouping (Bech32Transcription, quartz) are shared; the desktop backup card uses the same grid for its revealed nsec. Login on Android and Desktop now normalizes hand-typed keys, so a key copied from paper (uppercase, dashes/spaces/newlines between groups) logs in. Before, an uppercase nsec fell through to the hex parser and was rejected. Removed string keys are deleted from every locale in this commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012hhtLQhig6Wmt5U4C3owaP