Foundation and titles
A machine needs no one else to run: it proves itself, keeps its own log, and its answers verify offline from its public record. A foundation adds one thing on top, a title that a known party certifies.
The foundation
A foundation is two machines whose keys are kept apart:
- the root, which signs titles, the revocation feed and the file lineage;
- the cosigner, which witnesses every one of them.
Every feed and lineage record needs both signatures, so one stolen seed signs nothing. Make them offline, never on a public server:
tools/zeq_foundation.htmlis one file opened from the disk on a computer with no network. Its own policy forbids every request, and the ceremony runs in two sittings, one per key, each equation shown once and sealed in its capsule under a PIN.tools/zeq_admin.py foundationdoes the same from a terminal.
Titles
| Self-titled | Foundation-titled | |
|---|---|---|
| Who signs | the machine itself, at its birth | the foundation's root, witnessed by its cosigner |
| Serial | the Zeqond of its birth | the universal Zeqond it was minted at, one title per Zeqond |
| Record | — | the mint row in the foundation's own log, written first |
| Requires | nothing | a machine whose record is anchored to that foundation's root at birth |
python3 tools/zeq_admin.py genesis FOUNDATION_ZID # a machine anchored to the foundation
python3 tools/zeq_admin.py mint ZID PUBLIC_KEY BORN_NS # its title, minted into the foundation's log
Copy the title beside the machine's record as machine.title.json, with the foundation's machine.lineage.json beside it. The title is verified from the lineage. GET /title then answers with standing foundation.
Revocation
The root signs a revocation feed and the cosigner witnesses it. The feed is a list of revoked ZIDs, a sequence that only rises, and the Zeqond it was signed at. It is live for a day of Zeqonds, so sign it again at least daily:
python3 tools/zeq_admin.py revoke [ZID] [HOST_URL]
New files: carry and lineage
A machine is bound to the file of its genesis, and moves to a newer one only by a step that is signed:
- A self-hosted machine carries itself to its publisher's newer file: replace the files, then run
python3 zeq.py --carryin its folder. A file from another publisher is refused. - A foundation's machine moves when the foundation signs a lineage record from the current file to the new one (
zeq_admin.py lineage NEW_FILE_ZID).
Trust
- Every file is signed. The last line of
zeq.py, of each module and tool, of the spectrum and of each document is an Ed25519 envelope over every byte before it.python3 zeq.py --identityshows the file's own;tools/zeq_seal.py verify FILE... --issuer ZIDchecks any of them. - Pin the publisher. Take its ZID from a channel other than the files and set
ZEQ_ISSUER_ZID. A copy re-signed by anyone else then refuses to boot. - **
ZEQ_PRODUCTION=1** refuses to boot on the published stand-in signer, without a pinned issuer, or on a package not as its signed manifest lists it. It exits with status 2 and names each reason.