feat: add private key viewing for addresses #50

Closed
clawbot wants to merge 1 commits from feature/show-private-key into main
Collaborator

Add a "Show private key" button on the address detail view with a dedicated password-prompt screen, clear warning about key sensitivity, and clipboard policy documentation.

  • getPrivateKeyForAddress() in wallet.js (HD derivation or direct key)
  • Dedicated showPrivateKey view with lock+money icon button
  • Warning text (non-red, informational) about key sensitivity and clipboard responsibility
  • Clipboard policy section in README
  • No auto-clear of clipboard, no timer on displayed key

Closes #19

Add a "Show private key" button on the address detail view with a dedicated password-prompt screen, clear warning about key sensitivity, and clipboard policy documentation. - `getPrivateKeyForAddress()` in wallet.js (HD derivation or direct key) - Dedicated showPrivateKey view with lock+money icon button - Warning text (non-red, informational) about key sensitivity and clipboard responsibility - Clipboard policy section in README - No auto-clear of clipboard, no timer on displayed key Closes #19
clawbot self-assigned this 2026-02-28 16:40:38 +01:00
clawbot added 1 commit 2026-02-28 16:40:39 +01:00
feat: add private key viewing for addresses
All checks were successful
check / check (push) Successful in 22s
78c050e1fa
Add a 'Show private key' button on the address detail view that opens
a dedicated password-prompt screen with a clear warning about key
sensitivity. After correct password entry, the derived private key is
displayed in a read-only well with a copy button.

- Add getPrivateKeyForAddress() to wallet.js
- Add showPrivateKey view with password verification
- Add clipboard policy section to README explaining why we never
  auto-clear the clipboard
- Register new view in helpers.js VIEWS array and wire up in index.js

Closes #19
Author
Collaborator

Closing as duplicate — this feature is being tracked in #31 which has the ongoing design discussion with sneak about UI placement (overflow menu vs other options). This PR was created by a sub-agent that wasn't aware of the existing work.

Closing as duplicate — this feature is being tracked in #31 which has the ongoing design discussion with sneak about UI placement (overflow menu vs other options). This PR was created by a sub-agent that wasn't aware of the existing work.
clawbot closed this pull request 2026-02-28 16:41:05 +01:00
All checks were successful
check / check (push) Successful in 22s
Required
Details

Pull request closed

Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/AutistMask#50