Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Publishing DeDi files

Adopt DeDi by publishing signed files on a domain you control β€” no server required

The DeDi protocol now defines a second, server-optional way to adopt it: a publisher serves its directories as self-contained, signed JSON files on a domain it controls, instead of operating a DeDi API.

Adopting DeDi does not require running a server. A publisher signs one file per directory, plus a manifest at /.well-known/dedi.index.json that declares its signing key. DeDi servers β€” dedi.global among them β€” then crawl, verify, index, and serve those files, relaying the publisher's original signature, so a relying party gets the same guarantee whether it queries a server or fetches the file straight from the origin.

Authority is each publisher's own signed well-known, in the manner of did:web. No central registry sits in the trust path.

This is additive. The information model is unchanged β€” Namespace β†’ Registry (Directory) β†’ Record β€” and so are /dedi/lookup and /dedi/query. A publisher already using dedi.global, or already serving the DeDi API itself, remains conformant and need do nothing.

Two roles

Publishing and serving are separate roles. Only the first is required to adopt DeDi.

Publisher
DeDi server

Produces

DeDi files and a signed manifest

an index and the DeDi APIs

Endpoints exposed

none β€” static files

/dedi/lookup, /dedi/query

Signs data

required

relays the publisher's signature

Operates infrastructure

no

yes

A DeDi server is optional infrastructure, operated by any party that wants to serve published files at scale. It adds what static files cannot provide on their own β€” cross-directory search, version history, conditional fetch, availability. It is a cache and an index, never an authority.

The three artifacts

Artifact
Where
Job

DeDi file

anywhere the publisher controls

one signed registry (directory) + its records

Manifest β€” /.well-known/dedi.index.json

the publisher's domain, at a fixed path

declares the current signing key(s); lists the files

Discovery list β€” domains.txt

a public list, e.g. the LFDT protocol repo

names publisher domains so servers find them

The trust model depends only on the first two, both of which are signed. The discovery list sits outside the verification path and asserts nothing about the domains it names.

End to end

Where to host

A publisher may host its files anywhere it controls β€” its own web server, a source repository, a public file-sharing service β€” or deposit them with a DeDi server that hosts them on its behalf. The choice of host does not affect verification: a verifier checks the publisher's signature against the key declared at the publisher's well-known, whoever serves the bytes. Hosting is a deployment concern and carries no weight in the trust model.

Tooling

dedi-cli generates an Ed25519 keypair, signs a manifest or DeDi file, and verifies signatures locally β€” the whole publisher workflow from a shell, with no network access except an optional schema fetch during sign. Pre-built binaries for macOS, Linux, and Windows are on its releases page.

The private key never leaves the machine that runs keygen; treat key.json as a secret.

The DeDi file and the manifestVerification and lifecycleDiscoverydedi.global and origin-published files

The normative specification is docs/publishing-dedi-files.md in the DeDi protocol repository, with working examples and JSON Schemas. Where these pages and the specification differ, the specification governs.

Last updated