Skip to main content

No Option to Delete Additional DID Passports + Suggestion to Limit Passports to 2

JM โ€œcryptotestnetโ€ Morales
support
did-spacesdiscussionux

image.png

image.png

๐Ÿ›ย Summary

The user hasย 5 DID Passportsย butย cannot delete additional passportsย beyond the primary one. To mitigate malicious activity (e.g., spam, phishing, or account abuse), we suggestย limiting passport creation to 2 per userย and enforcing deletion of unused passports.

๐Ÿ”ย Steps to Reproduce

  1. Open theย DID Walletย (desktop or mobile app).
  2. Navigate toย Account Settingsย orย Passport Management.
  3. Locate the list ofย 5 passports.
  4. Look for aย "Delete"ย option for any passport (excluding the primary one).
  5. Observe thatย no deletion option is availableย for additional passports.

๐Ÿ“‰ย Severity

Mediumย โ€“ Impacts user ability to manage passports and increases risk of malicious activity.

๐Ÿ“ย Additional Notes

  • The user hasย 5 passportsย but cannot delete any beyond the primary one.
  • No error messages are shown, but the deletion option is absent from the UI.
  • Reproducible in [specify device/browser/network if known].

๐Ÿ› ๏ธย Expected Behavior

  • Users should be able toย delete additional passportsย (non-primary) via a visible option in the interface.
  • A confirmation prompt should appear before deletion to prevent accidental removal.

๐Ÿงชย Actual Behavior

  • No deletion optionย is available for additional passports.
  • The interface only allows viewing or editing passports, not removing them.

๐Ÿงฉย Suggested Enhancement: Limit Passports to 2 per User

Rationale

To prevent malicious activity (e.g., spam, phishing, or account abuse), we propose:

  1. Hard Limit: Allow users to createย only 2 passportsย (1 primary + 1 secondary).
  2. Deletion Requirement: To create a new passport, users mustย delete an existing one.
  3. Security Benefits:
  • Reduces the attack surface for phishing or fake account creation.
  • Simplifies user management and reduces accidental misuse.
Implementation Steps
  1. UI/UX Update:
  • Add aย "Delete Passport"ย button for non-primary passports.
  • Show aย warning messageย when the user reaches the 2-passport limit.
  1. Backend Enforcement:
  • Block passport creation if the user already has 2 passports.
  • Require deletion of an existing passport before allowing a new one.
  1. User Education:
  • Add a tooltip or help section explaining the 2-passport limit and deletion process.
Reply