Files
amethyst/commonsUI
Claude 33ea20effc feat: confirm-then-encrypt flow for the password-protected backup
The ncryptsec section was one blind password field feeding two buttons that
each re-ran scrypt and produced a different ciphertext. A single typo made the
backup permanently useless, and nothing showed what had been produced.

- The card is collapsed by default, so the paper backup stays the focus.
- The password must be typed twice. A mismatch is flagged inline and a
  check mark shows when the two match; IME Done encrypts.
- One "Encrypt key" button shows progress while scrypt runs off the main
  thread. It then shows the ncryptsec with Copy / QR buttons that reuse the
  same value, plus "Use a different password" to start over.
- The result and its QR are dropped when the app goes to the background.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012hhtLQhig6Wmt5U4C3owaP
2026-09-26 20:22:26 +00:00
..