Appendix H
Glossary
The terms and acronyms used in this book, in alphabetical order. Where a chapter explains a term in depth, its entry says which.
- AppView#
A service that collects atproto data from many accounts and builds what an app shows, such as feeds and threads. An AppView that keeps a copy of a space is that space’s syncer.
- AT URI#
The address of a record or a space. Public records use
at://, and spaces and the records in them useat:space/. See Chapter 3.- atproto#
The AT Protocol, an open protocol for social apps in which each account’s data lives in repos the account controls.
- BLAKE3#
A fast hash function. LtHash uses it to turn each record into 2048 bytes.
- blob#
A file, such as an image, stored by an account’s PDS and referenced from records by its CID.
- CBOR#
Concise Binary Object Representation, a binary data format much like JSON.
- CID#
Content identifier, a short string computed from a hash of some data, so the data can be found and checked by its content. Spaces use DASL CIDs.
- client#
The app a person uses, on the web or a phone, which reads and writes on their behalf.
- client attestation#
A token an app signs with its own key to show which app is asking for a credential. See Chapter 6.
- commit#
The five-field summary of a space repo at one revision. See Chapter 4.
- DASL#
Data-Addressed Structures & Links, a small set of specifications for CIDs and DRISL that atproto uses.
- delegation token#
A 60-second token from a user’s PDS that names the user and a space, so an app can ask for a credential on the user’s behalf. See Chapter 6.
- deniability#
The property that a response convinces the requester who received it, and no one else. See Chapter 5.
- DID#
Decentralized identifier, the permanent identifier of an account or service, such as
did:plc:ejjl2znzqp3ci25dqaslpkk2.- DID document#
The JSON document a DID resolves to. It lists the identity’s handle, public keys, and services. See Chapter 2.
- DPoP#
Demonstrating Proof of Possession, an OAuth addition in which every request is signed with a key tied to the access token.
- DRISL#
DASL’s strict form of CBOR. A record has exactly one DRISL encoding, so everyone computes the same CID for it.
- ECDSA#
Elliptic Curve Digital Signature Algorithm, the kind of signature atproto keys make.
- firehose#
The stream of every public repo change that a relay publishes. Spaces have no firehose.
- handle#
A readable name for an account, such as
elena.example.com, that resolves to its DID.- HMAC#
A MAC built from a hash function. Spaces use HMAC-SHA256.
- HPKE#
Hybrid Public Key Encryption, RFC 9180. Spaces use only its secret export, to agree a secret for one request. See Chapter 5.
- HTTP Message Signature#
A signature over parts of an HTTP request or response, carried in headers and defined by RFC 9421.
- hyperspace#
The set of spaces an application treats as one whole under a single space authority: a primary space, the spaces in syzygy with it, and any inner spaces beneath it. See Chapter 3.
- inner space#
A space beneath another space in the same hyperspace, with the same space authority and its own space key. See Chapter 3.
- JWKS#
JSON Web Key Set, a list of public keys in JSON. An OAuth client publishes one so servers can check what it signs.
- JWT#
JSON Web Token, a compact signed token made of a header, a set of claims, and a signature.
- K-256#
An elliptic curve that atproto signing keys can use, also called secp256k1.
- KEM#
Key encapsulation mechanism, the part of HPKE that lets two parties derive a shared secret from a public key. It gives
#atproto_kemits name.- key dimension#
The direction in a hyperspace that changes the space key, which is where inner spaces live. See Chapter 3.
- lexicon#
A schema that defines a record type or an API method in atproto, named by an NSID.
- LtHash#
The set hash that summarizes which records a space repo holds. See Chapter 5.
- MAC#
Message authentication code, a short tag computed from a message and a secret. Only someone who holds the secret can make one or check one.
- MST#
Merkle Search Tree, the signed tree that holds a public atproto repo. Space repos don’t use one.
- NSID#
Namespaced identifier, the reverse-domain name of a lexicon, such as com
.atproto ..space .getSpace - OAuth#
The protocol an app uses to get a user’s permission to act for them at their PDS. See Chapter 9.
- op log#
A repo host’s list of recent changes to a space repo, read with
listRepoOps. See Chapter 7.- P-256#
An elliptic curve that atproto keys can use, and the one spaces use for
#atproto_kemand credential keys.- PDS#
Personal Data Server, the server that hosts an account with its repos and blobs. In spaces it is usually the account’s repo host.
- primary space#
The space in a hyperspace that holds the main content or community, and that the other spaces are organized around. See Chapter 3.
- record#
One piece of data in a repo, such as an RSVP, typed by a lexicon.
- relay#
A service that collects changes from every public repo and publishes them as a firehose.
- repo#
A collection of one account’s records. Public atproto has one per account. Spaces add one per account per space.
- repo host#
The service that stores an account’s space repos and answers sync requests for them. See Chapter 1.
- rev#
A repo’s revision, a TID that grows with every commit.
- rkey#
Record key, the last segment of a record’s URI, unique within its collection.
- skey#
Space key, the segment that tells apart spaces of the same type under one authority, such as
our-family. See Chapter 3.- space#
A named boundary that decides who can read a set of records. See Chapter 1.
The DID at the root of a space. Its
#atprotokey signs the space’s credentials. See Chapter 1.- space credential#
A short-lived token from the space host that lets an app read every repo in a space. See Chapter 6.
- space host#
The service that authorizes syncers, tracks the writer set, and sends update notifications for a space. See Chapter 1.
- space type#
The lexicon that says what kind of space it is, such as
com. See Chapter 3..example .familyUpdates - STAR#
The archive format
getReporeturns, with the commit in a DRISL header followed by each record. See Chapter 7.- syncer#
An app that keeps its own copy of a space and serves views from it. See Chapter 1.
- syzygy#
The alignment of two or more spaces that share a space authority and a space key but have different space types. Each is the other’s syzygy space. Pronounced "SIZ-ih-jee". See Chapter 3.
- TID#
Timestamp identifier, a 13-character identifier built from the time, which sorts in time order.
- type dimension#
The direction in a hyperspace that keeps the space key and changes the space type, which is where syzygy lives. See Chapter 3.
- writer set#
The accounts that have written at least one record into a space. See Chapter 7.
- XRPC#
atproto’s HTTP API convention. Each method is a lexicon, called at
/xrpc/{nsid}.
Token fields#
The tokens in this book are JWTs, and their fields have short names:
iss#issuer, who made the token.
sub#subject, who the token is about.
aud#audience, the service the token is meant for. Any other service must reject it.
exp#when the token expires.
iat#when the token was issued.
jti#a unique ID for the token, so a server can refuse to accept it twice.
cnf#confirmation, the key the token is bound to.
kid#key ID, in the token’s header, naming the key that signed it.
lxm#in service auth, the XRPC method the token may call.
htmandhtu#in a DPoP proof, the HTTP method and URL of the request.
ath#in a DPoP proof, a hash of the access token it goes with.
nonce#in a DPoP proof, a value the server handed out, which keeps old proofs from being reused.
No methods match. Clear the filter or pick another host.
Appendix H · AT Protocol Spaces: A Field Guide