Serinus
Roles and machines
Signer, service host, mirror builder, onion host, and reader.
Serinus is easier to operate once you separate the roles. One machine can hold several roles; the key idea is that the keys with different lifetimes belong on the machine that uses them.
The four roles
| Role | Machine | Keys | Files it owns |
|---|---|---|---|
| Root ceremony | offline / trusted laptop | root.key | .serinus/ config + root |
| Signer | separate signer or the offline host after rotation | epoch.key, key-cert.json | config.json, statement bundle |
| Service host | canary.example.org | log.key, tessera-note.key | /srv/serinus/data/{log,bundles,log.key,tessera-note.key} |
| Mirror builder | signer or a third host | mirror.key | web/static/trust.json, mirror/ output |
| Onion host | separate host | none | /srv/serinus-onion/ |
What stays where
offline/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/
(no keys, no database)
What the reader pins
A reader pins the organisation root fingerprint and the log/mirror public keys from an independent channel. Those pins live in the browser’s trust.json and in the CLI’s root.pub.json/log.pub.json.
Where the public data flows
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.