| 1 | --- |
| 2 | type: idea |
| 3 | id: ida-d2dc957 |
| 4 | status: exploring |
| 5 | title: Attestations ride on a transparent leaf |
| 6 | created: 2026-07-25 |
| 7 | source: design conversation, 2026-07-25 |
| 8 | --- |
| 9 | |
| 10 | # Attestations ride on a transparent leaf |
| 11 | |
| 12 | An attestation decomposes into three layers that can be chosen separately. The **statement** is what |
| 13 | is asserted — the subject, the kind of check, its inputs and its outputs. The **envelope** is how |
| 14 | that statement is signed. **Transparency** is how the signed statement becomes undeniable. Format |
| 15 | arguments turn circular when these are conflated, because an objection to one layer is answered with |
| 16 | a property of another. Keeping them apart also shows how little they constrain each other: a |
| 17 | transparency log that stores only a hash barely constrains the envelope at all. |
| 18 | |
| 19 | This is a direction under exploration, not a decided design. What follows is where the evidence |
| 20 | currently points, and the shape of the questions that remain. |
| 21 | |
| 22 | ## Direction for the envelope and transparency |
| 23 | |
| 24 | The C2SP line of specifications, and specifically the emerging identity-transparency leaf format |
| 25 | that unifies the Sigstore and Sigsum leaf shapes. Its leaf carries a version byte, a digest of a |
| 26 | root of trust, a digest of the message, a sorted set of double-hashed ecosystem-specific key-value |
| 27 | context strings, and a receipt digest. The signature covers the specification identifier, the |
| 28 | checksum and those context strings. |
| 29 | |
| 30 | Double hashing is what makes this fit here. A value can be withheld from the log while still being |
| 31 | authenticated by the signature, which matters for a project whose repositories are not public. |
| 32 | |
| 33 | ## Direction for the statement |
| 34 | |
| 35 | The typed-statement shape from the in-toto attestation line: a subject identified by a digest set |
| 36 | rather than a single digest value, and a versioned predicate type naming what kind of claim is being |
| 37 | made. |
| 38 | |
| 39 | Two properties earn their place. First, a digest set can hold a content-addressed tree digest |
| 40 | alongside an advisory commit hash, so a change stays identifiable after the integrator rebases it — |
| 41 | which is exactly what [[ida-51605e8]] |
| 42 | ([ida-51605e8-authenticity-not-git-coupled.md](./ida-51605e8-authenticity-not-git-coupled.md)) |
| 43 | requires. Second, a versioned predicate type carries the pure-versus-effectful distinction inside |
| 44 | the signed bytes, rather than leaving it to convention outside them. |
| 45 | |
| 46 | ## Multiple parties sign as siblings |
| 47 | |
| 48 | When more than one party attests to the same thing, the signatures sit side by side rather than |
| 49 | inside one another. Two statements over the same subject digest, each signed by one party — not one |
| 50 | party's signature embedded as a field within another party's document. |
| 51 | |
| 52 | The attack rules nesting out. If an inner approval signature covers only a verdict or a bare tree |
| 53 | hash, whoever composes the outer document can lift that approval onto a different set of claims, and |
| 54 | the outer signature still verifies over the result. Sibling statements defeat this by construction, |
| 55 | because each signature carries its own identification of the subject. |
| 56 | |
| 57 | Worth recording why nesting was tempting at all: signature formats intended for humans are not |
| 58 | registered types in the note-based line, so a human approval would have had to travel inside |
| 59 | something else. The nesting would have been forced by a registry gap, not chosen for any property it |
| 60 | has. |
| 61 | |
| 62 | ## Post-quantum and presence pull in opposite directions |
| 63 | |
| 64 | They need not be reconciled in a single signature, because they are claims with different lifetimes. |
| 65 | |
| 66 | Presence is consumed immediately. A gate checks it at decision time, and the question of whether a |
| 67 | human was physically present has no long-lived component. Durability is the long-lived claim — that |
| 68 | a statement existed, unaltered, at a given time. A log's Merkle structure is hash-based and already |
| 69 | resists quantum attack, so inclusion carries much of the durability burden regardless of which |
| 70 | algorithm signed the statement. |
| 71 | |
| 72 | Where a post-quantum signature over the statement is wanted, it need not be the hardware one. |
| 73 | Requiring two signatures — a hardware classical signature for presence, and a software post-quantum |
| 74 | signature for durability — yields both properties. The automatable half is worthless on its own, so |
| 75 | unforgeability survives the split. |
| 76 | |
| 77 | ## Considered and set aside |
| 78 | |
| 79 | The objection that signing structured documents forces a hazardous canonicalisation step does not |
| 80 | apply to the pre-authentication encoding used by the in-toto envelope line, which signs a |
| 81 | length-prefixed encoding rather than a re-serialised object. That envelope line was set aside for |
| 82 | fit with the transparency direction, not because the canonicalisation objection stood against it. |
| 83 | |
| 84 | ## Open |
| 85 | |
| 86 | **Which context keys this project would define.** The leaf's context strings are ecosystem-specific, |
| 87 | so the set of keys and their meanings is a design decision this project has to make for itself. |
| 88 | |
| 89 | **What exactly identifies the subject.** Whether a content-addressed tree digest is the right |
| 90 | primitive, and what else belongs in the digest set alongside it. |
| 91 | |
| 92 | **Whether a hardware-presence credential type gains first-class support in the leaf format.** No |
| 93 | hardware token today can produce the raw signature such a leaf requires, which forces a human |
| 94 | approval to travel as data submitted under a machine identity — the opposite of what the presence |
| 95 | requirement is for. |
| 96 | |
| 97 | ## Related |
| 98 | |
| 99 | - The requirement this answers — authenticity that survives a rebase: [[ida-51605e8]] |
| 100 | ([ida-51605e8-authenticity-not-git-coupled.md](./ida-51605e8-authenticity-not-git-coupled.md)) |
| 101 | - The human act one such statement carries: [[ida-b7025b5]] |
| 102 | ([ida-b7025b5-human-decisions-are-signed-acts.md](./ida-b7025b5-human-decisions-are-signed-acts.md)) |
| 103 | - Who signs the other: [[ida-a8243d2]] |
| 104 | ([ida-a8243d2-agent-runs-act-under-delegated-authority.md](./ida-a8243d2-agent-runs-act-under-delegated-authority.md)) |
| 105 | - The pure-versus-effectful distinction the predicate type would carry: |
| 106 | [verification.md](../../design/verification.md) |
| 107 | - Where this lands in the plan: |
| 108 | [roadmap.md, Phase 2](../../design/roadmap.md#phase-2--attestations-verification-mvp) |