All recipes

Mastodon Verification

How keytrace verifies Mastodon identity claims

Claim URI Format

https://mastodon.social/@alice

Pattern: ^https:\/\/([^/]+)\/@([^/]+)\/?$

Create Your Proof

  1. 1Go to your Mastodon instance and open Edit profile
  2. 2Add your DID to your bio or create a new profile metadata field
  3. 3For metadata fields, set the label to keytrace and paste your DID as the value
  4. 4Save your profile changes
  5. 5Paste your full profile URL below (e.g., https://mastodon.social/@username)

Proof Text

You need to include this text in your Mastodon proof location:

did:plc:example123456789012345678

Where to put it: Add to your profile bio or a profile metadata field

Verification Steps

  1. 1

    Fetch proof data

    Using the activitypub fetcher

    https://mastodon.social/@alice
  2. 2

    Search for DID in response

    The runner checks the following locations for your DID:

    • summarycontains

      Check if summary contains the DID

    • attachment.*.valuecontains

      Check if attachment → * → value contains the DID

  3. 3

    Attestation

    If the DID is found, keytrace signs an attestation linking your identity to your ATProto DID and stores it in your repo.

Try Verification

Test verification with your own claim URI and DID: