Skip to content

feat: mask refund and claim secrets with copy feedback to prevent visual leaks - #11

Merged
JaDi03 merged 1 commit into
mainfrom
feature/private-wallet-session
Aug 24, 2026
Merged

JaDi03 merged 1 commit into
mainfrom
feature/private-wallet-session

Conversation

@JaDi03

@JaDi03 JaDi03 commented Aug 24, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Masks the generated claimSecret (in the seller flow) and refundSecret (in the buyer payment modal) by default to protect user privacy against shoulder surfing / physical glance attacks during in-person meetups.
  • Adds an explicit toggle button (Show/Hide) and a one-tap copy button with temporary visual feedback ("Copied!") so users can safely store their backup secrets.

Changes Made

  • src/app/sell/page.tsx: Added masked display state for claimSecret with copy & reveal controls.
  • src/app/components/ghost/PayModal.tsx: Added masked display state for refundSecret with copy & reveal controls.

@JaDi03
JaDi03 merged commit f8f9cc7 into main Aug 24, 2026
1 check passed
@JaDi03
JaDi03 deleted the feature/private-wallet-session branch August 24, 2026 05:59
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.

1 participant