Serinus canary transparency

docs

Protocol

Statement format, keys, receipts, cadence, and status model.

This is a practical summary. The normative draft is in the repository at spec/serinus-1.md.

Statement

A statement is RFC 8785 canonical JSON. It is signed as bytes, not as a web page.

{
  "schema": "serinus/statement/1",
  "hash_algorithm": "sha-256",
  "org": {"id": "example.org", "name": "Example", "domain": "example.org",
          "jurisdiction": "DE", "root_fp": "sha256:…"},
  "key": {"id": "sha256:…", "role": "epoch", "epoch": 7},
  "sequence": 48,
  "previous": "sha256:…",
  "issued_at": "2026-09-09T06:09:30.000Z",
  "cadence": {"period_seconds": 2592000,
              "deadline": "2026-10-09T06:09:30.000Z",
              "grace_seconds": 259200},
  "state": "normal",
  "assertions": {"no_secret_order": true, "no_key_disclosure": true, "no_backdoor": true},
  "notes": "Optional human-readable text.",
  "freshness": {
    "drand": {"chain": "quicknet", "round": 123, "randomness": "…", "signature": "…"},
    "bitcoin": [{"height": 0, "hash": "…", "source": "…"}],
    "challenge": "…"
  },
  "coercion": {"policy_hash": "sha256:…", "duress_key": "sha256:…",
               "trustees": [], "sos": []},
  "ui": {"webcat_manifest_hash": "sha256:…", "webcat_version": "1.2.3",
         "webcat_enrollment_hash": "sha256:…", "dist_hash": "sha256:…"}
}

Rules that matter:

Keys

A key is hybrid:

{ role, epoch, ed25519_pub, ml_dsa_pub, ml_dsa_params }
key_id = "sha256:" + SHA-256(JCS(key))

The root is offline and ML-DSA-87. Epoch keys are ML-DSA-65 and are certified by the root with not_before/not_after. Both Ed25519 and ML-DSA signatures must verify. The log checkpoint uses ML-DSA-44.

Receipt and log

Tessera POSIX is the default log. Receipts carry an RFC 6962 inclusion proof and a C2SP checkpoint note. Serinus adds a hybrid-signed checkpoint envelope over the Tessera root and note hash. A verifier checks:

Freshness

challenge = hex(SHA-256("serinus/v1/challenge\0" || previous ||
                        drand.randomness || bitcoin[0].hash || issued_at))

Drand is required by the spec. Bitcoin is optional and is currently labelled attested, not SPV.

Status

valid, due_soon, overdue, degraded, duress, chain_broken, fork, key_anomaly, log_anomaly, anchor_anomaly, policy_change, domain_unverified, mirror_stale.