docs
Architecture
Roles, machines, files, and the flow of a canary.
Serinus separates four operational roles. Each role keeps only the keys it uses.
| Role | Machine | Keys it owns | Files it owns |
|---|---|---|---|
| Root ceremony | offline / trusted laptop | root.key | .serinus/ root/config |
| Signer | separate signer or the same offline host after rotation | epoch.key, key-cert.json | config.json, statement bundle |
| Service host | public log + index + web | log.key, tessera-note.key | /srv/serinus/data/{log,bundles,log.key,tessera-note.key} |
| Mirror builder | signer or third host | mirror.key | mirror/ output, web/static/trust.json |
| Onion host | separate host | none | /srv/serinus-onion/ |
Trust anchors
A reader pins:
- the organisation root fingerprint;
- the log public key;
- the mirror public key.
Those pins live in trusted_roots.json for the CLI/indexer and in the browser’s trust.json.
Data flow
signer ── bundle ──> service log ──> index/web ──> nginx ──> readers
│ │
└── mirror build ────┘
│
└──> onion host
The service host receives bundles and serves them. The mirror builder reads bundles from the service host and signs a mirror manifest. The onion host serves a static snapshot of that mirror.
File destinations
signer
.serinus/root.key
.serinus/epoch.key
.serinus/key-cert.json
.serinus/config.json
.serinus/root.pub.json
data/mirror.key
data/mirror.pub.json
service host
/srv/serinus/data/log.key
/srv/serinus/data/tessera-note.key
/srv/serinus/data/tessera-note.key.vkey
/srv/serinus/data/log/
/srv/serinus/data/bundles/
/srv/serinus/data/trusted_roots.json
/srv/serinus/app/web/static/trust.json
/srv/serinus/app/web/static/.well-known/serinus.json
onion host
/srv/serinus-onion/
What stays where
- The root key is for rotation only; keep it offline.
- The epoch key signs statements; keep it on the signer.
- The log keys stay on the service host because the log uses them on every restart and checkpoint.
- The mirror key stays with the mirror builder.
- The onion host holds only the mirror output.