Skip to content

Bug: Duplicate usernames shown in registry browser #9

@cyberstorm-nisto

Description

@cyberstorm-nisto

Problem

Same username can appear multiple times in the registry if multiple attestations exist for the same identity.

Root Cause

The Identity schema does not enforce uniqueness at attestation time. A user can create multiple attestations for the same username.

Example: allenday has two attestations:

  • 0x432d3257... (time: 1761247746)
  • 0x84793dd7... (time: 1761244842)

Same wallet, same signature, different gist URLs.

Current Fix

Frontend dedupe in RegistryBrowser.tsx (commit 84df411) - keeps only the latest attestation per username.

Proper Fix Options

  1. Revocation - Revoke older duplicate attestations
  2. On-chain uniqueness - Add check in attestation flow to prevent duplicates
  3. Resolver enforcement - UsernameUniqueResolver could reject duplicate attestations

Status

  • Frontend workaround deployed (84df411)
  • Decide on proper fix approach
  • Implement proper fix

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions