TrueID

Protocol spec · DNS CNAME + HTTPS · did:web

01 — Anchor

A principal is the hostname that serves it.

TrueID is a cross-origin entity anchor. The name is published in DNS, possession is proved by HTTPS, and the attested record lives at /.well-known/trueid.json. A relying party fetches that URL on the hostname it wants to trust. There is no shared account directory in the request path.

02 — Resolution

  1. Publish the name. A CNAME can point the hostname at this service, or the hostname can be attached to the deployment directly.
  2. Serve TLS for that name. The certificate is the possession proof for the host.
  3. Read the attestation. GET /.well-known/trueid.json returns the principal selected from the request host.
  4. Read the DID. GET /.well-known/did.json returns a did:web document whose TrueIDAttestation service points back at the attestation URL.

Host selection

  1. ?host= query parameter
  2. x-forwarded-host
  3. host

The port is stripped before lookup. On localhost the Host header is not a registered principal, so the sandbox and the curl examples pass ?host=.

Public keys in this deployment are demo placeholders in the form <algorithm>:<material>. The DID document keeps algorithm beside publicKey so a later curve uses the same shape.

03 — Registry

Registered principals

HostKindPrincipalCapabilities
tank.trueid.dev Tank Juicemerchanttank.monipay.nzztag_order · mqtt_sync · jiaga_preferences
0001.tank.trueid.dev owner tank.trueid.devscreentank.monipay.nz/screen/0001display · mqtt_sync · ztag_presence

04 — Sandbox

Resolve a host from this page

2 registered · 0 verified

tank.trueid.dev

Idle. Resolve to fetch both documents.

trueid.json —

—

did.json —

—

0001.tank.trueid.dev

Idle. Resolve to fetch both documents.

trueid.json —

—

did.json —

—

unknown.trueid.dev is the unregistered control.

05 — Endpoints

What an agent fetches

  • GET /.well-known/trueid.json Principal record for the selected host.
  • GET /.well-known/did.json did:web document with a TrueIDAttestation service.
  • GET /llms.txt Plain-text protocol notes for agents. Open llms.txt

trueid.dev · attestation follows the hostname