Serinus canary transparency

docs

Key custody

Which keys live on which machine, and what stays after the first canary.

Serinus separates four key roles. Do not put them all on one public host.

RoleMachineStays there?
Root keyoffline / trusted ceremony hostNo. Keep offline; use only for rotation.
Epoch keysigner machineYes, for the epoch lifetime. Avoid the public web host.
Log key + Tessera note keylog/service hostYes. The log needs them continuously.
Mirror keymirror builderYes, for the mirror lifetime.

First setup

  1. Run serinus init on an offline/trusted host. It creates the root and first epoch key.
  2. Move epoch.key, epoch.pub.json, key-cert.json, config.json, and root.pub.json to the signer.
  3. Keep root.key offline.
  4. On the service host, run serinus log keygen. Keep log.key, tessera-note.key, and the note vkey there.
  5. Generate the mirror key where you build the mirror.
  6. Generate trusted_roots.json and browser trust.json from the public keys; copy those to the index/web/mirror.

The first canary changes nothing

The first canary is just the first statement. It does not mean the log keys can be removed. The log key and note key must stay on the log host. Only the root key should be absent from the public host.

Rotation

To rotate an epoch key:

  1. Bring the root key back to the offline ceremony host.
  2. Generate a new epoch key and root-signed certificate.
  3. Move the new epoch key/cert to the signer.
  4. Publish a rotation statement signed by the old epoch key.
  5. Return the root key offline.

Log and mirror keys rotate separately; publish the new public keys in the trust pins and rebuild the index/web/mirror.