damus-io / android

Damus Android
Other
37 stars 4 forks source link

prevent public paste of nsec #87

Open alltheseas opened 2 months ago

alltheseas commented 2 months ago

user story

As a Damus android user, I would like Damus to guardrail me from pasting my nsec (instead of my npub) by accident, so that I don't inadvertently share my keys with everyone on nostr.

acceptance criteria

  1. Damus detects if user pastes nsec123 in their note
  2. If nsec is detected, replace instead with npub