Serinus verifiable warrant canaries

guides

Publish your first canary

From key ceremony to a logged statement.

1. Create the organisation identity

export SERINUS_PASSPHRASE='a long passphrase'
serinus init --dir .serinus \
  --org example --name "Example Org" --domain example.org

This creates a root key, an epoch key, a key certificate, and .serinus/config.json. Move the root key offline after the ceremony.

2. Build and sign

serinus statement build --dir .serinus --out statement.json
serinus statement sign --dir .serinus --statement statement.json --out bundle.json
serinus verify --bundle bundle.json \
  --root-pub .serinus/root.pub.json --allow-unlogged

statement build fetches drand and Bitcoin anchors by default. For an offline build, pass --drand-round, --drand-randomness, --drand-signature, --bitcoin-height, and --bitcoin-hash explicitly.

3. Publish identity

serinus identity --dir .serinus \
  --out web/static/.well-known/serinus.json

Serve that file at https://example.org/.well-known/serinus.json.

4. Submit to a log

curl --fail --data-binary @bundle.json \
  -H 'content-type: application/json' \
  https://example.org/v1/statements -o submitted.json

The response contains the receipt and the log public key. Verify it with the pinned log key:

serinus verify --bundle submitted.json \
  --root-pub .serinus/root.pub.json --log-pub log.pub.json

5. Repeat on cadence

Use a systemd timer or cron on the signer machine. Keep the previous statement hash, increment the sequence, and submit. Back up the log and bundle store separately from the keys.