Skip to main content
ArcBlock Community

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