From 18188c2f62d1414c26ecb4b5bf9954d0691f3c47 Mon Sep 17 00:00:00 2001 From: sneak Date: Mon, 21 Sep 2026 07:28:59 +0000 Subject: [PATCH] fix: say a second wallet's password is separate when one is chosen (closes #374) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The add-wallet screen offered only "Choose a password" while each wallet keeps its own encrypted secret, so a second wallet silently accepted a password different from the first with nothing marking it as separate. A note now appears on that screen when the profile already holds a wallet, saying each wallet has its own password and this one need not match any already in use. It is shown only then — the first wallet has no other password to differ from — and is decided on screen entry, so it does not move the password fields. It promises no recovery or reset, staying consistent with the no-password-reset design. Model: opus-4-8 --- TODO.md | 12 +++++ src/popup/index.html | 15 +++++++ src/popup/views/addWallet.js | 15 +++++++ tests/addWalletSeparatePassword.test.js | 58 +++++++++++++++++++++++++ 4 files changed, 100 insertions(+) create mode 100644 tests/addWalletSeparatePassword.test.js diff --git a/TODO.md b/TODO.md index 55adffe..63732e6 100644 --- a/TODO.md +++ b/TODO.md @@ -59,6 +59,18 @@ but the review is broader than any of them. broadcasting behind them: each is declined and the dApp still receives its broadcast result. +- 2026-09-21: Adding a second wallet no longer accepts a different password with + nothing saying it is a separate one + ([#374](https://git.eeqj.de/sneak/AutistMask/issues/374)). Each wallet has its + own encrypted secret, so per-wallet passwords are by design; the add-wallet + screen said only "Choose a password". A note now appears on that screen when + the profile already holds a wallet, stating that each wallet has its own + password and this one need not match any already in use. It is shown only + then, since the first wallet has no other password to differ from, and it + stays consistent with the no-reset reality of + [#312](https://git.eeqj.de/sneak/AutistMask/issues/312) by promising no + recovery or reset. + - 2026-08-30: An address no longer wraps, or is shortened to fit, in any of the common views ([#380](https://git.eeqj.de/sneak/AutistMask/issues/380)). The wallet list was the reported case: the address shared one row with the diff --git a/src/popup/index.html b/src/popup/index.html index c1020d9..204ff75 100644 --- a/src/popup/index.html +++ b/src/popup/index.html @@ -152,6 +152,21 @@
+ +