Choose what this site may use

This site uses strictly necessary cookies to work and to remember your privacy choices. With your permission it would also load content hosted by other services, such as videos, maps and fonts, which then receive your network address and device data. We do not sell or share your personal information and we run no advertising. Choose Accept all, Reject all or Customise. You can change your mind at any time through Privacy choices at the foot of every page.

  • Always on

    Needed for the site to work and to remember your privacy choices. Always on.

  • Remembers settings you choose, such as the light or dark display, in your browser.

  • Loads videos, maps and other content hosted by other services. Those services receive your address and device data.

Menu Close
In this section: Build
Start
Reference code
Tools
API reference
Public services
Agents
Bindings and crosswalks

Transparency log (reference service)

Source services/public-services/README-log.md

On this page
  1. Witnesses (reference-log feature)
  2. Reference snapshot
  3. Entries in the snapshot
  4. Consistency proofs
  5. Witnesses
  6. API

A standalone append-only log of digests, usable by releases, plans, proofs, conformance reports and registry records, status lists and authority documents. An entry records a statement about a digest (kind, digest, optional subject, mediaType and short attributes); the log never holds the document itself.

Reference log, not SCITT. It does not implement the SCITT signed-statement and receipt shapes of the OIP-0028 binding, and it has no gossip. Witnesses can cosign its tree heads (below). Code: obsp_public/translog.py (store) and obsp_public/log_service.py (HTTP). API: obsp-transparency-log.openapi.yaml.

What How
Storage JSON lines; each entry names the previous line’s entryHash in prev; the file is checked on load and a broken chain stops the service
Tree RFC 9162 section 2.1.1; leaf hash SHA-256(0x00 ‖ JCS(entry)), the conformance runner’s rule and code
Inclusion proof RFC 9162 section 2.1.3 audit path at any tree size (GET /v1/proofs/inclusion?index=&treeSize=)
Consistency proof RFC 9162 section 2.1.4 (GET /v1/proofs/consistency?first=&second=), generation and verification in merkle.py
Signed tree head {log, logName, treeSize, rootHash, timestamp, signature}; signature is the draft OIP-0008 envelope (COSE_Sign1, ed25519, JCS payload of the head without signature)
Append POST /v1/entries, operator token required; answers the inclusion receipt and the new signed tree head
Witness cosignatures POST /v1/tree-head/cosignatures {treeHead, cosignature} and GET /v1/tree-head/witnessed[?treeSize=], with --witnesses POLICY; see below

A client that keeps a signed tree head checks every later head with a consistency proof, and every receipt with translog.check_inclusion. Two clients who want to detect a split view must compare heads obtained by independent paths: the log alone cannot prove it shows everyone the same tree. Threat note: docs/security/service-transparency-log.md.

Witnesses (reference-log feature)

No draft specifies witnesses, cosignatures, witness thresholds or split-view detection; what follows is reference code for the two reference logs (this one and the conformance runner’s log), and the format may change. The open questions are in reference/rust/obsp-verify/WITNESS.md.

  • Witness (obsp_public/witness.py): holds an Ed25519 key and, per log (log name and log key id), the last head it cosigned, in a JSON state file. It cosigns a new head only when the log’s signature verifies, the tree size does not go down, the timestamp does not go backwards, and the head is consistent with the remembered one (same root at the same size, or a verifying consistency proof). Two signed heads that cannot be reconciled are kept as an evidence object (evidenceType obsp-reference-log-split-view/v0, both heads, the proof) and the head is refused.
  • Cosignature: the draft OIP-0008 envelope (as for the log’s own signature, signerRole witness) over the JCS bytes of {"cosignatureType": "obsp-reference-log-cosignature/v0", "logKeyId": <kid of the log's envelope>, "treeHead": <head without signature and cosignatures>}, carried in a cosignatures array on the head, outside the log’s signed payload.
  • Policy: {"threshold": k, "keys": [JWK, ...]}; check_witnessed counts distinct trusted witnesses (by key thumbprint) whose cosignatures verify. Unknown keys, repeats, the log’s own key and failing cosignatures do not count.
  • Split view: compare_heads reports CONSISTENT, SPLIT_VIEW (same size and different roots, a failing consistency proof, or no proof obtainable), PROOF_NEEDED or INVALID.
  • Service: posting a cosignature needs no operator token. The service accepts only a cosignature that verifies under a key of the operator’s witness policy, over a head this log signed whose root is the log’s root at that size; cosignatures are kept in log.cosignatures.json beside the log. GET /v1/tree-head/witnessed serves the newest head that meets the threshold.
  • Offline verification: obsp-verify has the same checks in Rust (obsp_verify::witness); both sides run the vectors in reference/rust/obsp-verify/tests/vectors/witness/, written by tools/gen_witness_vectors.py (--check compares).

Reference snapshot

Snapshot of the public reference services run locally with published TEST keys. It shows the shapes the services answer with; it is not the record of any deployed service.

Example records only: no implementation is listed in IMPLEMENTATIONS.md, and a level shown here is a test value, not a level reached.

Check an inclusion receipt in your browser (RFC 9162).

Entries in the snapshot

IndexKindSubjectLogged
0conformance-reportuni:implementation:example-node-agent2026-11-21T09:03:22Z
1plan2026-11-21T09:03:22Z
2release2026-11-21T09:03:22Z
3status-list2026-11-21T09:03:22Z
4authority-documentalpha.example.org2026-11-21T09:03:22Z

Consistency proofs

Each proof shows that the smaller tree is a prefix of the larger one (RFC 9162 section 2.1.4): the log only appends.

From sizeTo sizeFrom rootTo rootProof hashes
15b37b7cc6bb74…a9f696473e9a…3
25270dd7eff28a…a9f696473e9a…2
35e0b2772cf28f…a9f696473e9a…4
455ef156f8d1ea…a9f696473e9a…1

Witnesses

The reference snapshot carries no witness cosignature; a deployed log publishes the cosignatures of the witnesses it names.

API

The API document: every operation and object of this service.