Skip to content

Comments

feat: Add change passphrase to web clients (#114)#115

Merged
macterra merged 2 commits intomainfrom
114-add-change-passphrase
Feb 22, 2026
Merged

feat: Add change passphrase to web clients (#114)#115
macterra merged 2 commits intomainfrom
114-add-change-passphrase

Conversation

@macterra
Copy link
Collaborator

No description provided.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@macterra macterra linked an issue Feb 22, 2026 that may be closed by this pull request
@macterra macterra requested a review from Copilot February 22, 2026 23:08
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds “Change Passphrase” functionality to the various web-based wallet/keymaster UIs so users can re-encrypt their wallet mnemonic under a new passphrase from the client.

Changes:

  • Add a changePassphrase() action + UI button to the legacy KeymasterUI.js clients (keymaster + gatekeeper).
  • Add a “Change Passphrase” button and passphrase-entry modal wiring to the React Wallet app.
  • Add a “Change Passphrase” button and passphrase-entry modal wiring to the Chrome Extension wallet.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 7 comments.

File Description
services/keymaster/client/src/KeymasterUI.js Adds a prompt-driven passphrase change flow and a “Change Passphrase…” button in the wallet tab.
services/gatekeeper/client/src/KeymasterUI.js Mirrors the same prompt-driven passphrase change flow and UI button.
apps/react-wallet/src/components/WalletTab.tsx Adds PassphraseModal-based change-passphrase UX and updates session passphrase on success.
apps/chrome-extension/src/components/WalletTab.tsx Adds PassphraseModal-based change-passphrase UX and stores updated passphrase via extension messaging.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- Fix import formatting (spaces inside braces)
- Rename confirm to confirmPassphrase to avoid shadowing window.confirm
- Use showError instead of window.alert for consistency with snackbar UX

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@macterra macterra merged commit c72d4c6 into main Feb 22, 2026
13 checks passed
@macterra macterra deleted the 114-add-change-passphrase branch February 22, 2026 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add change passphrase to web clients

1 participant