Skip to content

How Certificate Transparency and Sigstore Keep a Log Honest - Checkpoints, Proofs and Witnesses

A transparency log is a public, append-only list of records: the TLS certificates that certificate authorities issued, in Certificate Transparency, or the signed metadata of software releases, in Sigstore’s Rekor. The operator of the log is not trusted to be honest. The design only asks that dishonesty be detected: anyone can check that an entry is in the log, that the log never rewrote its past, and that two people looking at the log see the same one.

Three mechanisms carry that guarantee. A Merkle tree over the entries gives short inclusion proofs and consistency proofs; a signed checkpoint commits the operator to one tree at one size; independent witnesses compare checkpoints, so a log that shows different trees to different clients produces signed evidence against itself; and monitors read the entries themselves. This article goes through each mechanism with a worked example on a seven-entry tree, then shows how current logs serve proofs as static tiles.

This article has been made with the help of Claude Code and several custom skills

What you need to know first

The article assumes hash functions, digital signatures and the general idea of a certificate authority. It relies on the following without deriving them:

  • Merkle tree. Data items are hashed, then hashed in pairs up to a single root; changing any item changes the root. The Merkle DAG article covers the general structure.
  • Domain separation. Prefixing the input of a hash with a fixed byte per role, so that a value hashed as a leaf can never equal a value hashed as an inner node.
  • Ed25519. An elliptic-curve signature scheme with deterministic signatures: signing the same message with the same key always gives the same bytes. Checkpoints in this article are signed with it.
  • Certificate misissuance. A certificate authority (CA) can issue a valid certificate for a domain to someone who does not control it, by error or under compromise. The certificate is accepted by every browser that trusts the CA, so the domain owner needs a way to see it.
  • Software supply-chain signing. A release or a container image is signed so that users can check who produced it; the question a log answers is whether a given signature was published, and when.

The parties around a log

Five roles appear in the rest of the article:

  • a submitter, such as a certificate authority or a developer signing a release, sends an entry to the log, which adds it to its tree and publishes signed checkpoints;
  • witnesses check each new checkpoint against the last one they saw and cosign it;
  • clients, such as a browser or a signature verifier, fetch a checkpoint and proofs for the entries they rely on;
  • monitors read every entry and alert the people concerned.

Not every deployment uses every role; a later section compares them.

flowchart LR
    S["Submitter<br/>(CA, release signer)"] -->|"1 entry"| L["Log"]
    L -->|"2 SCT (in CT)"| S
    L -->|"3 new checkpoint + consistency proof"| W["Witnesses"]
    W -->|"4 cosignature"| L
    C["Client<br/>(browser, verifier)"] -->|"5 checkpoint + inclusion proof"| L
    M["Monitors"] -->|"6 read every entry"| L
    M -->|"7 alert"| O["Domain owner<br/>or maintainer"]

The tree behind a log

Hashing entries and nodes

RFC 9162, Certificate Transparency version 2.0, published in December 2021, obsoletes RFC 6962. It defines the tree that Certificate Transparency and the C2SP log specifications use. The hash function is a per-log parameter chosen from an IANA registry whose only entry is SHA-256, and each hash carries a one-byte prefix per role:

leaf hash  = SHA-256(0x00 || entry)
node hash  = SHA-256(0x01 || left || right)

The two prefixes keep leaves and inner nodes apart: a leaf hash is computed over a string that starts with 0x00 and an inner node over one that starts with 0x01, so an inner node cannot be passed off as an entry. A list of n entries is split at the largest power of two smaller than n; the left part is a perfect tree and the right part is built the same way. A tree of 7 entries is therefore a tree of 4 on the left and a tree of 3 on the right, and its last entry hangs one level higher than the others.

flowchart TB
    root["root (size 7)"] --- k["k"]
    root --- l["l"]
    k --- g["g"]
    k --- h["h"]
    l --- i["i"]
    l --- j["j (leaf hash of d6)"]
    g --- a["a (leaf hash of d0)"]
    g --- b["b (leaf hash of d1)"]
    h --- c["c (leaf hash of d2)"]
    h --- d["d (leaf hash of d3)"]
    i --- e["e (leaf hash of d4)"]
    i --- f["f (leaf hash of d5)"]
    classDef walk fill:#F3EEFB,stroke:#7A5BB5,stroke-width:2px
    classDef given fill:#FFF4D6,stroke:#B58A1E,stroke-width:2px
    class d,h,k,root walk
    class c,g,l given

The labels are those of RFC 9162’s own example (section 2.1.5):

  • d0 to d6 are the seven entries; in the worked example they are the ASCII strings entry 0 to entry 6, without a newline;
  • a to f and j are their leaf hashes; the other letters are inner nodes.

The two highlighted sets belong to the inclusion proof below: purple nodes are computed by the verifier, yellow nodes are supplied in the proof. Every hash in this article was computed with a Python implementation of the RFC 9162 algorithms, linked at the end of the next section.

Inclusion proof

An inclusion proof shows that one entry is in the tree of a given size: it lists the sibling hashes on the path from the entry’s leaf to the root. For d3 in the tree of size 7, the RFC gives the proof [c, g, l]. The verifier computes four hashes in order:

  1. the leaf hash d = H(0x00 || d3);
  2. h = H(0x01 || c || d);
  3. k = H(0x01 || g || h);
  4. the root H(0x01 || k || l).

It then compares the result with the root it trusts, which comes from a signed checkpoint (next section).

The index of the entry and the tree size decide on which side each sibling goes. Index 3 is 011 in binary. Its last bit is 1, so c goes on the left; the next bit is 1, so g goes on the left; the next is 0, so l goes on the right. The tree size matters at the right edge, where a node without a sibling moves up a level, as j does. RFC 9162 section 2.1.3.2 gives the complete algorithm.

Step Value SHA-256 (hex, first 16 characters)
1 d, leaf hash of d3 61ca1139f6815841…
2 proof item c, leaf hash of d2 57c79f4f31ae029c…
2 h = H(0x01 ‖ c ‖ d) ddbde80fccdeb319…
3 proof item g 5a47662fd8a317d9…
3 k = H(0x01 ‖ g ‖ h) 9799f307517ef517…
4 proof item l 94afb8a2ca051c05…
4 root of size 7 98c97f0ba3175cd0…

The proof has three items for a tree of seven entries, and about log₂(n) items in general: a log of a billion entries answers with about 30 hashes.

Consistency proof

A consistency proof shows that the tree of size m is a prefix of the tree of size n: the larger tree contains the same first m entries, in the same order, unchanged. It is what makes a log append-only in a checkable way. The proof lists the hashes needed to rebuild both roots from shared parts.

RFC 9162 gives two examples on the tree above:

  • From size 4 to size 7, the proof is the single hash l. The tree of size 4 is exactly the left subtree k of the tree of size 7, so a verifier who holds the old root k computes H(0x01 || k || l) and compares it with the new root.
  • From size 3 to size 7, the proof is [c, d, g, l]. The tree of size 3 is not a subtree of the larger one: its root is H(0x01 || g || c), a hash that appears nowhere in the tree of size 7. The verifier uses the proof hashes for both roots:
    • old root = H(0x01 || g || c), compared with the size-3 root it holds;
    • new root = H(0x01 || H(0x01 || g || H(0x01 || c || d)) || l), compared with the size-7 root.

    Both comparisons must succeed. g and c tie the two trees together, and d and l cover the entries added after size 3.

flowchart TB
    subgraph old ["Tree of size 3"]
        r3["old root = H(g, c)"] --- g3["g"]
        r3 --- c3["c"]
    end
    subgraph new ["Tree of size 7"]
        r7["new root = H(k, l)"] --- k7["k = H(g, h)"]
        r7 --- l7["l (proof)"]
        k7 --- g7["g (proof)"]
        k7 --- h7["h = H(c, d)"]
        h7 --- c7["c (proof)"]
        h7 --- d7["d (proof)"]
    end
    g3 -. "same hash" .- g7
    c3 -. "same hash" .- c7
Head Root (first 16 hex characters) Consistency proof to size 7
size 3 94fbd0dd836f5030… [c, d, g, l], 4 hashes
size 4 9799f307517ef517… [l], 1 hash
size 7 98c97f0ba3175cd0…  

If the log rewrites an old entry, the first m entries no longer hash to the old root it already published, so no consistency proof can connect that old head to any new one. That is the property every other mechanism in this article builds on.

Implementation: the verification directory holds rfc9162.py, with 22 self-tests, and worked_example.py, with 14 checks; the full hashes are in worked_example_output.txt.

Checkpoints: the operator’s signed commitment

A root hash on its own commits nobody. The log signs it together with the tree size and publishes the result as a signed tree head. In Certificate Transparency the signed tree head (STH) covers a timestamp, the tree size and the root, and the log is identified outside the signed data. The C2SP format, called a checkpoint, signs the log’s name, the size and the root instead, and has no timestamp of its own.

C2SP is a collection of cryptography specifications published on GitHub; they are not IETF documents, and this article cites editor’s copies. Their tlog-checkpoint specification writes a checkpoint as a signed note: at least three lines of text, a blank line, and one or more signature lines. Lines after the third are extensions. The first three lines are the origin (the log’s name), the tree size, and the root in base64, here the root 98c97f0b… of the table above. The checkpoint of the example tree, signed with an Ed25519 test key:

example.org/article-log
7
mMl/C6MXXNCLAx3QhLncTmSbZNGijm6mlGRlAxc6tYc=

— example.org/article-log 2fHXKGlFRQ83JsWRKVXSdoN0z4tB+n1E4dCn/IOoiksecc///p9MqofpsVVAsPYS9Tq62N/NXUQCy1SCcsU5/xmjDQI=

A signature line starts with an em dash (U+2014) and a space, as the signed-note format requires, then the key name and, in base64, a four-byte key identifier followed by the 64-byte signature. The identifier is the start of SHA-256(name || 0x0A || 0x01 || public key), where 0x0A is a newline and 0x01 the signature-type byte for Ed25519, so a verifier holding several keys knows which one to try. Ed25519 is deterministic, so the verification scripts reproduce this signature line byte for byte.

The specification then states the rule that makes a checkpoint evidence:

A log or cosigner MUST NOT sign any checkpoint which is inconsistent with any checkpoint it previously signed. Two checkpoints are inconsistent if they are for the same log, and a consistency proof can’t be constructed from one to the other.

Two signed checkpoints of the same log with no consistency proof between them are therefore proof, signed by the log’s own key, that the operator broke the rule.

Split views and how they are caught

What a split view is

A log that wants to hide one entry from most of the world can keep two trees. It shows one view to the victim, with a malicious certificate or a backdoored release in it, and another view to everyone else, without that entry. Each view is internally consistent: every inclusion and consistency proof a client asks for, inside its own view, verifies. Crosby and Wallach call this forking in their 2009 tamper-evident logging paper; RFC 9162 lists “presenting different, conflicting views of the Merkle Tree at different times and/or to different parties” among the ways a log can misbehave.

The worked example builds such a pair. View A is the seven honest entries; view B replaces entry 5 for one victim. Both views extend the same head of size 4, so a client that only checks consistency from size 4 accepts either one. When the log later grows each view to size 8, a witness that stored A’s head of size 7 cannot be given a valid proof for B’s head of size 8; the witness subsection below returns to this.

flowchart LR
    H4["Head of size 4<br/>seen by everyone"] --> A7["View A, size 7<br/>entry 5 honest<br/>shown to everyone else"]
    H4 --> B7["View B, size 7<br/>entry 5 rewritten<br/>shown to the victim"]
    A7 --> A8["A, size 8"]
    B7 --> B8["B, size 8"]
    W["Witness holding A, size 7"] -.->|"consistency proof from A7 to B8 fails"| B8

Cox’s client: keep the last head, accept only extensions

Russ Cox’s Transparent Logs for Skeptical Clients (2019) gives the client algorithm that turns consistency proofs into protection. The client caches the most recent size N and root T it has accepted. Before accepting a record, it checks the record’s inclusion against its cached head. When the record is newer than that head, it first fetches the latest head and accepts it only if a consistency proof from the cached head verifies:

In Cox’s pseudocode, R is the record’s index and B its bytes:

validate(bits B as record R):
    if R ≥ cached.N:
        N, T = server.Latest()
        if server.TreeProof(cached.N, N) cannot be verified:
            fail loudly
        cached.N, cached.T = N, T
    if server.RecordProof(R, cached.N) cannot be verified using B:
        fail loudly
    accept B as record R

The worked example runs it from both sides:

  • A client of everyone else caches the head of size 4, receives A’s head of size 7 with the proof [l], and accepts record 5 of view A. Record 5 of view B would fail against A’s size-7 head.
  • The victim’s client starts from the same head of size 4 but is served view B. The proof from size 4 verifies, and B’s record 5 is accepted. When the log later serves the victim A’s head of size 8, no consistency proof from B’s size-7 head exists, and the client rejects the head.

The client alone does not catch the lie, then; it locks the log into it. Cox draws the consequence: once a client has seen a view, every later head it accepts must extend that view, so a server that lies to a victim “must keep up the lie, forever serving an alternate log containing the lie”. A signed Latest() response then means the server cannot deny the inconsistency later, short of claiming a full compromise. Catching the lie takes someone who compares the victim’s head with everyone else’s.

Monitors, witnesses and cosignatures

A single client protects only itself, and only against changes after its first contact with the log. Detecting a split view needs parties that compare heads across clients.

  • Monitors download every entry and look for the ones that concern them: a domain owner looks for certificates issued for its names, a project looks for signatures made with its identities. RFC 9162 puts it plainly: logs “do not themselves detect misissued certificates; they rely instead on interested parties, such as domain owners, to monitor them”. Sigstore offers a Rekor monitor that runs as a GitHub Actions workflow.
  • Witnesses keep the latest checkpoint they have seen for each log and cosign a new one only after a consistency proof from the stored one. The C2SP tlog-witness protocol is one HTTP request: the log sends the new checkpoint, the size of the last checkpoint the witness cosigned (the old size), and a consistency proof from that size. The old size tells the witness which proof it is being given. If it does not match the witness’s state, the witness answers 409 Conflict with its own size, and the log can retry with the right proof. If the proof does not verify, the witness answers 422 Unprocessable Entity.
  • Clients then require a quorum: a checkpoint is accepted only with the log’s signature and enough witness cosignatures, as described in a tlog-policy file. The specification’s own example requires at least two of three witnesses run by one organisation and at least one of three run by another (keys elided):
log <vkey>
witness X1 <vkey>
witness X2 <vkey>
witness X3 <vkey>
group X-witnesses 2 X1 X2 X3
witness Y1 <vkey>
witness Y2 <vkey>
witness Y3 <vkey>
group Y-witnesses any Y1 Y2 Y3
group X-and-Y all X-witnesses Y-witnesses
quorum X-and-Y
sequenceDiagram
    participant L as Log
    participant W as Witness
    participant C as Client
    L->>W: new checkpoint (size 8) + old size 7 + consistency proof
    W->>W: check log signature, stored size = 7, proof from stored root
    alt proof verifies
        W-->>L: cosignature
        L-->>C: checkpoint + log signature + cosignatures
        C->>C: check log key, quorum, inclusion of its entry
    else sizes differ or proof fails
        W-->>L: 409 Conflict (old size differs) or 422 (proof fails)
        L-->>C: checkpoint without enough cosignatures
        C->>C: reject: quorum not met
    end

In the example, a witness that cosigned view A at size 7 receives view B’s head of size 8. The old size, 7, matches. B’s own proof from its size-7 head verifies, but against the witness’s stored root it does not, and the witness answers 422. To show view B to a victim who requires a quorum, the log needs a quorum of cosignatures on B as well. If any two quorums of the policy share an honest witness, that witness would have to sign two inconsistent heads, which the cosignature specification forbids: “all hashes from that log, signed by that cosigner, MUST be consistent with each other”.

A cosignature also carries the time at which the witness made it, and a verifier may reject timestamps in the future. The time addresses a different attack: a log can keep a client on an old head that is consistent but stale, hiding the entries added since.

The C2SP specifications read here define the timestamp but no maximum age, and a client sets its own; Certificate Transparency fixes one for its STHs, which a log must serve “no older than the log’s MMD” (RFC 9162 section 4.10). The tlog-witness specification states the same concern for monitors: it must not be possible to partition clients from monitors “by splitting the tree or by serving a stale view to monitors”.

Where Certificate Transparency and Sigstore use it

The mechanisms above come from different documents, and no single deployment described in the sources uses all of them:

  Certificate Transparency (RFC 6962, RFC 9162) Sigstore Rekor (overview page) C2SP logs (tlog-*, static-ct-api)
Entries Certificates and precertificates Signed metadata of software artifacts Any; CT entries in static-ct-api
Signed head Signed tree head (STH) Not described on the overview page Checkpoint as a signed note
Proofs served By API endpoints Inclusion proofs through a REST API and a CLI As static tiles
Comparing heads across clients “Gossip”, which RFC 9162 calls “an active area of research and not defined here” Rekor monitor checks consistency; omniwitness audits the log Witnesses, cosignatures and a quorum policy

RFC 9162 therefore specifies the tree, the proofs, the signed heads and how a client checks an SCT, but leaves the comparison of heads between clients to others. Witnesses and quorum policies come from the C2SP specifications. Which of these checks browsers perform today is outside the sources of this article (see Gaps).

Certificate Transparency

In Certificate Transparency the entries are certificates and precertificates submitted by CAs. A precertificate is what a CA submits before issuance, so that the log can return an SCT that the CA then embeds in the final certificate (RFC 9162 section 3.2).

A CA submits to several logs, receives an SCT from each, and embeds the SCTs in the certificate or lets the TLS server deliver them; RFC 9162 also lets a server present inclusion proofs and STHs. If a CA and a log collude, they can hide a misissued certificate for a time; RFC 9162 notes that a TLS client that requires SCTs from several logs makes this “more difficult”. Domain owners act as monitors.

The signed certificate timestamp, or SCT, is the log’s signed promise to include the certificate within a delay the log has committed to, its Maximum Merge Delay (MMD). An SCT whose certificate never appears within the MMD is, like two inconsistent checkpoints, signed evidence against the log. RFC 9162 lists that failure among the ways a log misbehaves, and says clients detect it by requesting an inclusion proof for each SCT they observe.

RFC 6962, from 2013, and RFC 9162, from 2021, are both Experimental RFCs, and they build the tree the same way. Version 2.0 changes what surrounds it: hash and signature algorithms are listed in IANA registries, logs are identified by an OID instead of the hash of their key, precertificates become CMS objects, and a TransItem structure carries leaves, SCTs and STHs. Neither RFC says which version deployed logs run; static-ct-api, described below, keeps RFC 6962’s submission endpoint.

Sigstore’s Rekor

Rekor is Sigstore’s log for software-signing metadata. Its documentation describes it as “an immutable, tamper-resistant ledger of metadata generated within a software project’s supply chain”. Signers record signed metadata; users query an artifact’s entry and its inclusion proof.

The public instance, rekor.sigstore.dev, is built on Trillian, Google’s implementation of the logs described in its Verifiable Data Structures paper. The overview page names two ways to audit it: the Rekor monitor, which checks consistency and can also watch for given identities (a feature the page marks as work in progress), and omniwitness, “built by the team who created Trillian”, to audit the log. This description follows the overview page; a newer Rekor version may store its log differently (see Gaps).

The same idea elsewhere

Cox wrote his article as the reference for a log the Go project planned, storing “the expected cryptographic hashes of specific module versions, so that a client can be cryptographically certain that it will download the same software tomorrow that it downloaded today”. The Go checksum database is the log that came out of that plan; its own protocol is outside this article’s sources.

Merkle Tree Certificates go further. They are an IETF Internet-Draft, still work in progress; revision 08, draft-ietf-plants-merkle-tree-certs-08, was published on 2 November 2026. The draft puts the logging inside the certificate: its abstract describes X.509 certificates that “integrate public logging of the certificate, in the style of Certificate Transparency”, aimed at short-lived certificates and large post-quantum signatures.

The draft also defines a second, optional “landmark-relative” certificate for the same entry, which “avoids the need for any signatures, assuming an up-to-date client that has some predistributed log information”. Landmarks are infrequently chosen tree sizes; the subtrees between them are distributed to relying parties in advance, so an inclusion proof to one of those subtrees is enough.

Serving proofs as files: tiled logs

The first generation of logs answered proofs through an API: get-proof-by-hash, get-sth-consistency, each computed on request by a server reading its database. Cox’s article proposes another layout, now written down in the C2SP tlog-tiles specification. The tree is cut into tiles of fixed height, and the log publishes the tiles as static files. A client fetches the tiles it needs and computes any inclusion or consistency proof itself.

  • A full tile holds 256 hashes (8,192 bytes). At level 0 the hashes are leaf hashes; at level 1 and above, each hash is the root of a full tile below.
  • Every tile file is immutable, so it can be cached forever and served from object storage or a CDN. Only the right edge of the tree has partial tiles; when the log grows, a wider partial tile is published under a new path, and only the checkpoint file is replaced.
  • The specification’s own example: a tree of 70,000 entries has 273 full level-0 tiles and a partial one of 112 hashes, one full level-1 tile and a partial one of 17, and a partial level-2 tile of 1. The full-tile hashes and the partial tiles at the right edge together cover every entry, so a client can compute the root of the published size.
flowchart TB
    CP["checkpoint file: size 70,000, root, signatures<br/>replaced at every new head"]
    L2["level 2: 1 partial tile, width 1"]
    L1["level 1: 1 full tile of 256 hashes + 1 partial tile, width 17"]
    L0["level 0: 273 full tiles of 256 leaf hashes + 1 partial tile, width 112"]
    CP --- L2 --- L1 --- L0

No tile file changes once published; as the log grows, new partial tiles appear under new paths, and the checkpoint file is replaced.

static-ct-api applies this to Certificate Transparency. It keeps RFC 6962’s add-chain submission endpoint for CAs and replaces the read endpoints with tiles. A server of static files cannot look an entry up by its hash, so a client needs the entry’s index. In static-ct-api the SCT carries it, as a 40-bit LeafIndex extension, and an auditor checks inclusion at that exact index. The log must sequence the entry before it returns the SCT, and the specification notes that this “encourages a null Merge Delay”.

On the software side, the transparency-dev project’s Tessera is a Go library for tiled logs. Its README names AWS, GCP and POSIX storage drivers and describes three stages: entries are sequenced in batches, integrated into the tree, and published once a checkpoint covers them; when a witness policy is configured, the checkpoint is published only after enough witnesses have cosigned it. Trillian’s own page says Trillian is in maintenance mode and recommends Tessera to new operators.

Conclusion

A transparency log replaces trust in an operator with checks anyone can run:

  • Inclusion proofs show that an entry is in the tree of a given size, in about log₂(n) hashes.
  • Consistency proofs show that a larger tree extends a smaller one, so history cannot be rewritten without breaking every later proof from an old head.
  • Signed checkpoints turn two inconsistent heads into evidence signed by the log’s own key.
  • Clients that keep their last head and accept only consistent extensions force a lying log to keep lying to them; witnesses that do the same and cosign, and clients that require a quorum of cosignatures, make a split view require a witness to sign inconsistent heads, provided any two quorums of the policy share an honest witness.
  • Monitors remain necessary: the log proves what it contains, not that its content is legitimate.

The tree hashing has stayed the same since RFC 6962; what changed is the delivery, from proof APIs to static tiles, and the addition of witnesses with a common cosignature format specified by C2SP.

Mindmap of transparency logs covering the RFC 9162 tree, inclusion and consistency proofs, signed checkpoints, split views, Cox's client, witnesses and quorum, Certificate Transparency, Rekor and tiled logs

Annex

Key Terms

Term Definition
Transparency log A public, append-only list of records committed by a Merkle tree, whose operator is not trusted but can be caught misbehaving.
Leaf hash SHA-256(0x00 || entry) in RFC 9162; the prefix separates it from inner nodes.
Node hash SHA-256(0x01 || left || right), the hash of two children.
Signed tree head (STH) In Certificate Transparency, a timestamp, the tree size and the root hash, signed by the log.
Checkpoint The C2SP signed tree head: the log’s name, the tree size and the root hash in a signed note.
Inclusion proof The sibling hashes on the path from one leaf to the root of a tree of a given size.
Consistency proof The hashes that show a tree of size m is a prefix of a tree of size n.
Append-only The property that past entries are never changed or removed; consistency proofs make it checkable.
Split view (fork) Two internally consistent but different trees shown by one log to different clients.
Signed certificate timestamp (SCT) A Certificate Transparency log’s signed promise to include a certificate within its Maximum Merge Delay.
Maximum Merge Delay (MMD) The time within which a CT log has committed to include an entry it accepted.
Monitor A party that reads every entry and looks for the ones that concern it.
Witness A party that stores the latest checkpoint of a log and cosigns a new one only after a valid consistency proof.
Cosignature A witness’s signature over a log’s checkpoint, with a timestamp in the C2SP format.
Quorum policy The rule saying which and how many witness cosignatures a client requires.
C2SP A collection of cryptography specifications published on GitHub (checkpoints, witnesses, tiles); not IETF documents.
Precertificate What a CA submits to a CT log before issuance, so that the returned SCT can be embedded in the final certificate.
Signed note The C2SP text format of a checkpoint: text lines, a blank line, then signature lines with a key identifier.
Tile A fixed block of 256 hashes of the tree, served as an immutable static file.
Partial tile A tile at the right edge of the tree with fewer than 256 hashes; a wider one is published under a new path as the log grows.
Merkle Tree Certificate An X.509 certificate format under IETF development that integrates CT-style logging into the certificate.

Security Implementation Checklist

These rows apply to a client, a witness or a monitor of any RFC 9162-style log.

Hashing and proofs

A proof checker that accepts a malformed proof accepts entries that are not in the tree.

Check Security requirement Failure mode if violated
☐ Leaves are hashed with the 0x00 prefix and nodes with 0x01. An inner node can be presented as an entry.
☐ The leaf is rebuilt from the application’s own entry definition, never taken from an unauthenticated field (for CT, from the certificate itself, not from a hash the server sends). A proof for a different entry is accepted.
☐ Inclusion verification rejects index ≥ size and requires the walk to end exactly at the root level. Proofs that are too long or too short verify for the wrong position.
☐ Consistency verification checks both the old and the new root. A new head that does not extend the old one is accepted.

Checkpoints and state

A client that forgets what it has seen loses the protection consistency proofs give.

Check Security requirement Failure mode if violated
☐ The checkpoint signature is verified against a configured log key, with the expected origin. A checkpoint from another log or an attacker is accepted.
☐ The client stores its last accepted head and accepts a new one only with a valid consistency proof from it. The log can roll back or switch the client to another view.
☐ Two valid checkpoints with no consistency proof between them are kept and reported. Evidence of a split view is discarded.
☐ Base64 in checkpoints is canonical, as tlog-checkpoint requires (RFC 4648 section 3.5, no stray padding bits); decoders reject other encodings. Two encodings of one checkpoint confuse duplicate detection and comparison.

Witnesses and monitoring

Without independent parties comparing heads, a log can show a victim its own consistent view.

Check Security requirement Failure mode if violated
☐ The client requires the cosignature quorum of its policy, from witnesses with independent operators. A split view needs only the log’s key.
☐ A witness cosigns only after checking the log signature, its stored size and the consistency proof. The witness lends its signature to an inconsistent head.
☐ Cosignature timestamps are checked against the client’s freshness requirement. An old, consistent head hides recent entries.
☐ Someone monitors the log for the subjects that matter (domains, signing identities). A misissued certificate or rogue signature is logged and never noticed.

Timeline

Events up to 2 December 2026.

Date Event Why it matters here Source
August 2009 Crosby and Wallach publish Efficient Data Structures for Tamper-Evident Logging Incremental (consistency) proofs and the forking problem USENIX Security 2009
June 2013 RFC 6962, Certificate Transparency, published (Experimental) The tree hashing still used by CT and most logs RFC 6962
November 2015 Google publishes Verifiable Data Structures (Trillian) Logs, maps and log-backed maps as a general service Trillian repository
1 March 2019 Russ Cox publishes Transparent Logs for Skeptical Clients The client algorithm and the tile layout research.swtch.com/tlog
December 2021 RFC 9162, Certificate Transparency Version 2.0, obsoletes RFC 6962 New data structures around the same tree RFC 9162
2 November 2026 draft-ietf-plants-merkle-tree-certs-08 published Logging integrated into the certificate format IETF draft -08

Frequently Asked Questions

Q: What is the difference between an inclusion proof and a consistency proof?

An inclusion proof concerns one entry: it shows that this entry is at this index in the tree of this size. A consistency proof concerns two tree heads: it shows that the larger tree contains the smaller one unchanged as its prefix. A client uses the first to accept an entry and the second to accept a newer head.

Q: Why does RFC 9162 prefix leaves with 0x00 and nodes with 0x01?

Without the prefixes, the hash of two children and the hash of a 64-byte entry are computed the same way, and an inner node could be presented as an entry with a shorter proof. With them, a leaf hash and a node hash are computed over strings that start with different bytes, so the two can only coincide through a SHA-256 collision.

Q: The log signs every checkpoint. Why are witnesses still needed?

A signature proves that the log committed to a head, not that it committed to the same head for everyone. A log can sign two histories that are each internally consistent but diverge from each other, one per audience, and each audience sees only valid proofs. That breaks the signing rule, but nothing stops it until someone compares the two.

The signature makes the divergence provable once two heads are compared; witnesses are the parties that do the comparing before a client accepts a head, so a split view needs their cooperation as well, at least one witness in the overlap of two quorums.

Q: In the worked example, why is the consistency proof from size 4 to size 7 a single hash?

Because the tree of size 4 is the whole left subtree k of the tree of size 7: the verifier already holds k and needs only l (see Consistency proof). From size 3 the old tree is not a whole subtree, so the proof needs four hashes, and g and c serve both roots.

Q: What does a tiled log change for a client, and what does it not change?

The client fetches static tiles and computes proofs itself, instead of asking a server to compute them:

  • The log needs no proof server and can be served from object storage or a CDN, with tiles cached indefinitely.
  • The checks are the same: the tree hashing, the checkpoint signature, the quorum and the consistency of new heads with the stored one.

A tiled log can still show different checkpoints to different clients, so witnesses matter as much as before.

Q: Does a transparency log prevent a misissued certificate or a malicious release?

No. It makes them visible. The log accepts what it is given and proves what it contains; whether an entry is legitimate is decided by the monitors that look at it, such as the domain owner for a certificate or the maintainers for a signing identity. Where nobody monitors a subject, a logged misissuance can stay unnoticed.

Gaps

The sources leave the following points open.

Gap Why it matters What to read or verify
This article does not cover browser CT policies: how many SCTs, from which logs, and whether a browser checks inclusion, consistency or witness cosignatures. They decide what a TLS client requires in practice, and who would detect a CT split view. The Chrome and Apple Certificate Transparency policy pages.
The CT version that deployed logs and clients use (RFC 6962 or RFC 9162) is not established here. The data structures differ between the two versions. The log lists published by browser vendors; the static-ct-api specification.
This article does not cover Rekor’s current architecture (Rekor v2, tile-based); its Rekor description follows the overview page. Rekor’s API and storage may have moved to tiles, and the Trillian dependency described here may be dated. Sigstore Rekor documentation and the Rekor repository.
The C2SP specifications cited are editor’s copies at commit d35150e (17 November 2026), not tagged versions. A tagged version a client implements may differ. The tagged specifications in the C2SP repository.
This article does not describe the Go checksum database’s own protocol. It is a tiled log in production, and the article only mentions it. go help goproxy and the golang.org/x/mod/sumdb package; Cox’s “Further Reading”.
The worked example’s checkpoint uses a test key and was checked by the article’s own scripts, not against a real log’s output. A real checkpoint may expose a format difference (extension lines, several signatures). Fetch a public log’s checkpoint file and verify it with the same code.
The date of the Trillian Verifiable Data Structures paper comes from the paper’s front page (November 2015), not from a publication record. The timeline row may be imprecise. The paper in the Trillian repository and the repository history.
Merkle Tree Certificates are an Internet-Draft. The format can change before publication. Any revision after draft -08, on the IETF datatracker.

References

Specifications

Papers and articles

Software and documentation

You might also enjoy