Expand description
Cross-checking com.atproto.server.describeServer against the DID
document.
This is not a second proof of anything – TLS already is the proof, and
the DID document is the first unauthenticated read of “who does this
hostname say it is.” What this adds is a second, independent
unauthenticated read of the same fact, from a different route (an XRPC
query rather than a static well-known document), and a refusal to write
anything if the two disagree. describeServer answers unauthenticated
and unaffected by the server’s own claim state, specifically so this
can be checked before a server is claimed.
Structs§
- Describe
Mismatch - Why the two unauthenticated reads of the server’s identity disagreed.
Functions§
- describes_
same_ server - Whether
describeServer’s answer and the DID document name the same server: the same DID, or a host whose name sits under the server that describes itself. - hosted_
by 🔒 - Whether
subjectis an account on the serverservernames: both aredid:web, and the subject’s hostname sits strictly below the server’s.