From 0b0369c2e39063647792e4030094acff6c45dcd3 Mon Sep 17 00:00:00 2001 From: Gregorio Galante Date: Sat, 3 Oct 2026 15:28:26 +0200 Subject: [PATCH] docs(spec): fix audit findings of 3 october 2026 Text only, corpus unchanged. Anchor block time read from the chain's own record, never the proof's locators; block time no longer "chosen by nobody"; undefined "RKP fresh" green condition removed; attestation_status in the structure listing; policy.pseudonymous defined as a declaration; TSA revocation reconciled with the threat model; amber may hide red, with online chain status a SHOULD; Play Integrity binding and attestation chain linkability recorded as accepted limits; attestation_status separator recorded as a known inconsistency; c2pa-interop integrity cap and README invariant restated as an offline floor. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 44 +++++++++++++++ README.md | 10 +++- spec/c2pa-interop-1.0.md | 4 +- spec/threat-model.md | 45 ++++++++++++--- spec/vcap-proof-1.0.md | 116 +++++++++++++++++++++++++++++++++++++-- 5 files changed, 201 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5540521..f8dcf1d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,50 @@ else. ## Unreleased +### Audit of 3 October 2026: text fixes + +Text only, no corpus change, no verdict moves: every sentence below either +states what the vectors already pin or records a limit. + +- **§6.2 `anchor`**: the block time MUST come from the chain's own record for + `anchor_id` (contract storage or the batch's event), never from the proof's + `tx`/`block`, which are unsigned locators; the contract address comes from + the verifier's trust list. §6.2 `timestamp` rule 6 no longer says a block + time is "chosen by nobody": the sequencer or validators set it within the + chain's bounds, and on EBSI it is read through a gateway. +- **§7 table**: the green `strongbox` row asked for "RKP fresh", which no + rule defined and no verifier checked; removed, with a sentence saying rule 1 + is the only freshness rule. +- **§6 structure listing**: `attestation_status` was missing. +- **§6.1 field table**: `policy.pseudonymous` was "verified against + consistency", which nothing defined; it is a declaration nothing verifies, + with *flags disagree* as the only check. +- **§6.2 `timestamp`, `threat-model.md` §5.4**: no TSA revocation check is + required, so the threat model no longer calls it "the only remedy"; + online TSA revocation is open. +- **§8 *What amber does not say*, §6.2 `attestation_status`**: stripping an + attachment can turn red into amber (a removed `revoked` snapshot reads + *chain revocation not checked*); an online verifier SHOULD read the chain's + status list itself while the chain is current, as it asks the log. +- **§6.2 `integrity`, `threat-model.md` §5.2**: accepted limit — a Play + Integrity verdict is bound to the capture (`nonce = core_hash`, attested + requester), not to the device holding the key; the key holder's hardware + rests on the chain's `rootOfTrust`. +- **§6.2, `threat-model.md` §5.5**: the attestation chain links captures of + one device across key rotations (shared RKP intermediate, + `attestationApplicationId`); omitting it proves `none` on Android. Accepted, + open. +- **§6.2 `attestation_status` `sig`**: recorded as a known inconsistency — the + only registry-signed message without a `"vcap/1.0/…"` separator. Fixed at + the next breaking change to the attachments. +- **`c2pa-interop-1.0.md` §1 table**: device state no longer says "`failed` + caps amber" (anything but a valid `playIntegrity` `hardware` caps), and + verification without a server is "up to amber". +- **README invariant, `threat-model.md` §3, §5.6**: "the verification path + never contains our servers" is restated as a floor — every verdict reached + offline — with the services above it named as sources; an outage can lower + green to amber, never break a verdict. + ### C2PA video vectors rebuilt over a presentation-bound core — corpus 5.0.0 → **6.0.0** **Breaking** for the corpus, not the format: no spec text changes. A major diff --git a/README.md b/README.md index 40eefb2..a6d5793 100644 --- a/README.md +++ b/README.md @@ -51,8 +51,14 @@ tools/ reference tooling (Node 22, TypeScript): JCS, trailer, canonical byte These hold for every line of code in every repository: -- **The verification path never contains one of our servers.** If a component - becomes necessary to produce a verdict, that is a design error. +- **No server of ours is needed to produce a verdict.** The floor is the file + alone: signature, attestation chain, media hash, segment chain and every + attachment the proof carries are checked offline, and a verdict is always + reached. Above the floor, answers only a service can give — the log's signed + key status, a chain's current revocation list, an anchor's on-chain record — + raise what a verdict can say (green needs the log's status) and are named as + their source in it; their absence lowers a verdict, never breaks it. A + component that becomes necessary to produce *a* verdict is a design error. - **Server registration is always optional**: capturing and verifying work with no account and no network. - **A watermark alone is never a green verdict**: without a valid signature it is diff --git a/spec/c2pa-interop-1.0.md b/spec/c2pa-interop-1.0.md index 419a75e..fbc2740 100644 --- a/spec/c2pa-interop-1.0.md +++ b/spec/c2pa-interop-1.0.md @@ -61,10 +61,10 @@ and that the key was on a public log before the capture. | Trusted time | RFC 3161 token over `core_hash`, inside the proof, checked offline against a pinned TSA root (§6.2) | RFC 3161 token over the claim signature, inside the COSE structure (10.3.2.5 *Time-stamps*; 15.8 *Validate the Time-Stamp*) | | Key on a public log | `registry`: RFC 6962 inclusion proof against a signed tree head, carried inline, checked offline (§6.2) | none. Trust is a list of signers (14.4) plus revocation by OCSP (14.5.2, 15.9) | | Existence before an instant nobody controls | `anchor`: Merkle path to a root recorded on a public chain (§6.2) | none | -| Device state | `integrity`: Play Integrity / App Attest verdict, relayed and signed by the registry; shown, and `failed` caps the ceiling at amber (§6.2, §7) | none | +| Device state | `integrity`: Play Integrity / App Attest verdict, relayed and signed by the registry; shown, and anything but a valid `playIntegrity` `hardware` verdict on an Android proof — absent, `basic`, `failed`, any `appAttest` — caps the ceiling at amber with *integrity not proven* (§6.2, §7) | none | | Watermark | `watermark`: layout named in the signed core, payload bound to `capture_id` (§6.1, `watermark-layouts-1.0.md`) | `c2pa.soft-binding` naming an algorithm from a public list (18.10, 9.3 *Soft Bindings*) | | What the verifier says when something is missing | one exact label per absent or unreadable piece of evidence (§8) | status codes (15.2.2 *Standard Status Codes*) and three manifest states, *Well-Formed*, *Valid*, *Trusted* (14.3) | -| Verification without a server | always (invariant) | offline for the signature and binding; the trust list and OCSP are fetched or shipped | +| Verification without a server | always, up to amber: the signature, the bindings and every carried attachment are checked offline; green also needs the log's signed key status, fetched from the log (§6.2, §7) | offline for the signature and binding; the trust list and OCSP are fetched or shipped | Two consequences a UI must respect. A C2PA *Trusted* manifest says a signer on a trust list made a statement; it does not say the statement is true, and it diff --git a/spec/threat-model.md b/spec/threat-model.md index 738fec2..a6de0c1 100644 --- a/spec/threat-model.md +++ b/spec/threat-model.md @@ -31,7 +31,11 @@ For a capture that verifies **green**, and only then: an on-chain block. For a capture that verifies **amber**, one or more of these is not proven, and -the verifier says which. +the verifier says which. Amber is not a floor under red: evidence that would +make a verdict red can be deleted from a file without breaking a signature — +a revoked `attestation_status` stripped reads *chain revocation not checked* — +so a verifier that can fetch the evidence itself does (`vcap-proof-1.0.md` §8, +*What amber does not say*). ## 2. What the system does not claim @@ -90,8 +94,16 @@ Boundaries, each enforced by code and tested: the log serves is verifiable without trusting the server: signed tree heads, inclusion and consistency proofs, signed status. - **Verifier ↔ everything**: a verifier needs no server of ours to reach a - verdict. The proof carries its evidence (`registry` inline); revocation is - the one online check and degrades to *revocation not checked*. + verdict — that is the floor, and it is not negotiable. The signature, the + chain, the media hash, the segment chain and every attachment the proof + carries (`registry` inline, the token, the anchor's path) are checked from + the file alone. Above the floor, some answers only a service can give: the + log's signed key status (ours), a chain's current status list (Google's), + an anchor's on-chain record (a public chain, through a node or a gateway). + Green needs the first, so a fully offline verifier never reaches green, and + it says so (*revocation not checked*). Each such answer is named as its + source, signed by it where it can be, and its absence degrades the verdict + instead of breaking it. ## 4. Attackers @@ -139,6 +151,8 @@ Boundaries, each enforced by code and tested: | Stolen key, backdated clock | a thief holding a device key revoked for loss or rotation — not retroactive — sets `time.device_clock` before the revocation | with no trusted instant the log is asked about the verifier's clock, never the device's; revoked then → *key revoked*, red (§6.2, vector 155) | none on the key's standing. A capture an honest TSA stamped before the revocation keeps it, as it should | | Unlocked bootloader / rooted device with virtual camera | genuine hardware signs an injected frame | verified boot state and locked device required in the attestation; integrity statement (Play Integrity / App Attest) signed by the registry as an attachment; both prominent on the verdict | **high and accepted**: see §2. The verdict names it. Green requires a registry-signed `hardware` verdict from Play Integrity (`vcap-proof-1.0.md` §6.2, §7); anything else — absent, `basic`, `failed`, App Attest — is amber with *integrity not proven*, so stripping a `failed` verdict cannot raise the colour. What remains is a device that passes Google's strongest check while compromised, which a leaked attestation key has made possible before. The verdict counts only for the platform it attests (Play Integrity beside an iOS proof proves nothing, vector 153) and only under the key of the log the proof names (vector 154) | | Cloned Secure Enclave key (theoretical) | two devices with one key | App Attest counter must increase on every assertion; the receipt (future) | low | +| Integrity verdict from another device | the holder of a key on a compromised device has a clean device running the attested app request Play Integrity with the capture's `core_hash` as nonce, and gets a `hardware` verdict for it | the registry relays a verdict only when Google's signed answer echoes `core_hash` and names the attested app as requester; the device holding the key must separately prove a locked, verified boot in its attestation `rootOfTrust` (`vcap-proof-1.0.md` §6.2, §7 rule 4) | **accepted and named**: Play Integrity attests a device and an app, never a key, so the verdict is bound to the capture and not to the key holder. Binding the nonce to a device-key signature adds nothing — a signature over the core is public in the proof, and one over a fresh challenge is what the key holder can hand to the clean device. The device genuineness of the key holder rests on the attestation chain | +| Stripped revocation evidence | deletes a `revoked` `attestation_status` (or any attachment) from a file | none in the file: attachments are outside the core. Every condition for green is present evidence, so deletion never raises a verdict; an online verifier reads the chain's status list itself while the chain is current, and asks the log for the key's status (`vcap-proof-1.0.md` §6.2, §8) | **accepted and named**: red becomes amber with *chain revocation not checked* for a verifier that cannot fetch the list, and for every verifier once the chain has expired and its status is published nowhere | ### 5.3 Against the registry and the log @@ -158,7 +172,7 @@ Boundaries, each enforced by code and tested: |---|---|---| | Google or Apple attestation root compromised or an attestation key leaked (older provisioning) | pinned roots; Google's revocation list checked, fail closed server-side; RKP preferred | accepted at the platform level; verifiers degrade, never fail silently | | QTSP compromised | two providers, failover; token chain validated offline; with an anchor, the token must predate the block and its signer be valid at the block time (§6.2) | a false time from a compromised QTSP is a false time; the token names the issuer | -| TSA signing key leaked | a token is validated at its own `genTime`, which the key holder chooses; with a verified anchor the token must predate the block and the signer certificate must be valid at the block time, so a key leaked after its certificate expired cannot stamp a proof first anchored afterwards | **accepted and named**: a leaked TSA key can backdate a token to any instant inside its certificate's life, and a token that has no anchor has no bound at all. A verifier cannot tell that token from an honest one; the TSA's revocation is the only remedy | +| TSA signing key leaked | a token is validated at its own `genTime`, which the key holder chooses; with a verified anchor the token must predate the block and the signer certificate must be valid at the block time, so a key leaked after its certificate expired cannot stamp a proof first anchored afterwards | **accepted and named**: a leaked TSA key can backdate a token to any instant inside its certificate's life, and a token that has no anchor has no bound at all. A verifier cannot tell that token from an honest one. This version requires **no** revocation check of the TSA signer (`vcap-proof-1.0.md` §6.2 validates a token offline); the remedy a verifier has is removing the TSA's root from the roots it pins, which un-trusts every token under it. An online check of the TSA's revocation is open (§6) | | Attestation key leaked (keybox) | a revoked chain certificate is red unless a trusted instant predates the revocation date the source gives, and never for a compromise; `fetched_at` is not a date and a device clock never places a capture before a revocation (§6.2) | low: what remains is a capture stamped by an honest TSA before the date a non-compromise revocation took effect | | Chain reorganization or censorship | anchoring is optional evidence; *not anchored* is a label | accepted | @@ -166,7 +180,8 @@ Boundaries, each enforced by code and tested: | Threat | Mitigation | Residual | |---|---|---| -| Linking captures to a device | `device.key_id` is a pseudonym for device+app; no device identifiers in attestation (no ID attestation) | **accepted and named** in the spec: pseudonymous ≠ unlinkable; per-capture keys are future work | +| Linking captures to a device | `device.key_id` is a pseudonym for device+app; no serial, IMEI or MEID in the attestation (no ID attestation) | **accepted and named** in the spec: pseudonymous ≠ unlinkable; per-capture keys are future work | +| Linking captures across key rotations | the `attestation` chain is not anonymous: a Remote Key Provisioning intermediate is issued to one device and certifies every key it makes while it lives, and `attestationApplicationId` names the app. Two proofs sharing an intermediate come from one device whatever their `device.key_id` | a pseudonymous writer may leave `attestation` out: the chain stays with the registry, committed in the log leaf as `attestation_digest` (`vcap-proof-1.0.md` §6.2) | **accepted and open**: a proof that carries its chain links its device across rotations; one that omits it proves `none` on Android, because only the chain proves an Android level. No offline proof of a level without disclosing the chain exists in this version | | Personal data in the public log | leaves carry key identifiers, level, digests, log time — nothing else; the registry mapping stays in the control plane | none by construction, enforced by the plane boundary | | Personal data leaking through the plane boundary | allowlist per endpoint, both sides; second net over values; tests assert names and VAT never cross | low | | EXIF in the signed file | signed as content; pseudonymous mode must strip **before** sealing | implementation duty of the SDKs | @@ -175,8 +190,10 @@ Boundaries, each enforced by code and tested: ### 5.6 Availability and failure behaviour -- The verification path contains none of our servers: an outage cannot turn a - green into anything. Revocation checks degrade to *revocation not checked*. +- The verification floor contains none of our servers: an outage cannot make + a file unreadable or turn any verdict red. It can lower green to amber — + green needs the log's signed key status, and without it the verdict says + *revocation not checked* (§3). - Server-side, every check fails closed: no revocation list, no challenge store, no attestation → refused. - A denial of service against enrolment stops new keys, not existing proofs. @@ -265,7 +282,11 @@ like, and it is the true one. - **An iOS device-integrity source**: until one exists, iOS captures are amber at best (`vcap-proof-1.0.md` §6.2). - **External audit**: commissioned during phase 1, findings folded here. -- **Per-capture keys** for unlinkability: cost and policy, later. +- **Per-capture keys** for unlinkability: cost and policy, later. They would + not unlink a proof that carries its attestation chain (§5.5). +- **TSA revocation**: no verifier checks a TSA signer's revocation (§5.4); + an online check, and what it may conclude about a token issued before the + revocation, are to be specified. - **Position, corroborated** (§5.7): the residual on SIM/device decoupling stays *medium* until the registry's combination rule (number verification over the capturing session, SIM swap, local signals) exists and is @@ -276,6 +297,14 @@ like, and it is the true one. ## 7. Change log +- 2026-10-03 — Audit fixes, text only. §1: amber may hide red. §3: the + verifier boundary states the offline floor and names the services above + it. §5.2: an integrity verdict is bound to the capture and not to the key + holder (accepted); stripped revocation evidence (accepted). §5.4: no + verifier checks TSA revocation, so it was never "the only remedy"; open. + §5.5: the attestation chain links captures across key rotations (accepted, + open). + - 2026-10-02 — §5.1: the presentation-edit residual no longer describes a proof without `media.presentation` as one that binds no clip; the field is required of every video proof and its absence is *no proof found* diff --git a/spec/vcap-proof-1.0.md b/spec/vcap-proof-1.0.md index df73ed5..83b2ed2 100644 --- a/spec/vcap-proof-1.0.md +++ b/spec/vcap-proof-1.0.md @@ -794,6 +794,7 @@ the capture onwards, each verifiable on its own and each bound to `core_hash`. // ---- attachments: each self-authenticating, bound to core_hash (§6.2) ---- "segments": [ { "gop": 0, "hash", "prev", "sig" } ], // "range" is deprecated: writers MUST NOT emit it (§5) "attestation": [ "base64url DER leaf", "...", "base64url DER root" ], // omitted on web + "attestation_status": { "source", "fetched_at", "entries": [ { "serial", "status", "reason", "revoked_at" } ], "sig" }, "registry": { "log_id", "leaf_index", "leaf": { ... }, "inclusion_path": [ ... ], "tree_head": { "tree_size", "timestamp", "root_hash", "signature" } }, "timestamp": { "tsr", "tsa_issuer" }, @@ -922,7 +923,7 @@ Field table — type, required, verified against: | `watermark` | no | detector output, if the detector ran | | `time.device_clock` | no | nothing — declared | | `location` | no | `location_corroboration` and the level rules (§7.1) | -| `policy.pseudonymous` | no | consistency: no device identifiers present | +| `policy.pseudonymous` | no | nothing — the writer's declaration that it stripped identifying metadata before sealing (§4.1), which no verifier can check from the file; a trailer whose footer bit 2 says otherwise MAY be reported as *flags disagree* (§3) | **Retention reference (informative).** `policy.retention_ref` is reserved and has no operational meaning in v1.0. Its schema slot is retained for compatibility; @@ -977,7 +978,14 @@ containing a schema-valid value remain readable under the same rules. revocation date **as the source itself gives it**, and is absent when the source gives none. - `sig`: the registry signing key's ES256 signature, P1363, over - `core_hash ‖ JCS(entries) ‖ uint64 BE fetched_at`. + `core_hash ‖ JCS(entries) ‖ uint64 BE fetched_at`. **Known + inconsistency**: this is the one message the registry key signs without + a domain separator — tree heads, key statuses, `integrity` and + `location_corroboration` all begin with a `"vcap/1.0/…"` string. It is not + exploitable as it stands, because every other message begins with ASCII + bytes where this one begins with a SHA-256 output nobody chooses, but it + is the exception the rule should not have. The next breaking change to + the attachments adds a separator here (`CHANGELOG.md`). **Which key.** The signing key is the one that signs that log's tree heads, so a verifier needs no key it does not already hold for `registry`. The @@ -1043,6 +1051,22 @@ containing a schema-valid value remain readable under the same rules. device key does not rewrite the past; a batch key leaked and listed in 2028 does not keep attesting what its thief signed with a clock set to 2026. + **Stripping turns red into amber.** The attachment is outside the core, and + anyone holding the file can delete it: a proof whose snapshot says + `revoked` reads red, and the same proof without the snapshot reads amber + with *chain revocation not checked*. The signature stops a `revoked` entry + becoming `valid`; nothing in a file can stop evidence leaving it. So an + amber verdict carrying *chain revocation not checked* is not a statement + that the chain was not revoked (§8, *What amber does not say*). A verifier + with network, reading a proof while the chain is still current — every + certificate within its validity at the verifier's clock — **SHOULD** read + the source's status list itself and apply this section's rules to what it + read, as it asks the log for the key's status (below): what it reads + directly cannot have been stripped. A verifier that does so says which + source it read and when; one that cannot, or that reads a chain already + expired — whose status is published nowhere any more — has only what the + file carries. + - **`registry`** — everything a verifier needs to check, **offline**, that the signing key was in the transparency log when the tree head was signed. Not a reference to be resolved: the proof carries the evidence. @@ -1139,7 +1163,16 @@ containing a schema-valid value remain readable under the same rules. Merkle implementation. A verifier MUST recompute the root from `core_hash`, `index`, `tree_size` and `merkle_path`, then read `(root, tree_size)` for `anchor_id` from the contract (or a light client) and compare both; the - block's timestamp is the proven upper bound. On `ebsi` and `ebsi-pilot` + block's timestamp is the proven upper bound. **The block time MUST come from + the chain's own record for `anchor_id`** — the timestamp the contract stored + with the batch, or the block that emitted the batch's event as the chain + reports it — and **never** from the proof's `tx` or `block`. Those two are + unsigned locators, outside the core and outside every signature: anyone can + rewrite them, so they tell a verifier where to look and nothing it may + conclude. A verifier that dated a capture by the proof's `block` would let + whoever holds the file pick the instant. The contract address is the one + the verifier's trust list publishes for `chain`, never one the proof names + (it names none). On `ebsi` and `ebsi-pilot` that read goes through EBSI's Ledger API gateway, `POST /ledger/v4/blockchains/besu`: a JSON-RPC proxy that forwards the read methods a verifier needs — `eth_call`, `eth_getTransactionReceipt`, @@ -1155,7 +1188,7 @@ containing a schema-valid value remain readable under the same rules. When the chain is read and agrees, the block's timestamp becomes the instant the proof is validated at (§7), outranking `time.device_clock` — and it is an **upper bound**: the capture existed before that block, which nobody can - move, and nothing says how long before. An anchor whose root the chain + move once the chain has settled it, and nothing says how long before. An anchor whose root the chain contradicts gives no instant at all: dating a capture by a transaction that does not contain it would be worse than having no anchor. - **`integrity`** — `source` is `playIntegrity`, `appAttest` or `none` @@ -1188,6 +1221,24 @@ containing a schema-valid value remain readable under the same rules. `appAttest` verdict as `hardware`: a valid assertion from an App Store or TestFlight build is `basic`, a failed one `failed`. + **What the verdict is bound to** (accepted limit). The app requests a + `playIntegrity` verdict with `core_hash` as the request's nonce, and the + registry relays it only when Google's signed answer echoes that nonce and + names the attested app as the requesting package: the verdict is about + **this capture**, asked for by the + app whose key signed it. It is **not** bound to the device that holds the + key. Play Integrity attests a device and an app, and no key: nothing in its + answer says which keystore the requester used. Binding the nonce to a fresh + device-key signature would add nothing, because a signature over the core + is already public in the proof, and a signature over a fresh challenge is + something the holder of a compromised key can produce and hand to a clean + device that asks for the verdict. That the key sits in genuine, locked, + verified-boot hardware is what the attestation chain's `rootOfTrust` proves + (§7, rule 4), not this attachment; what this attachment adds is that a + device running the attested app was intact when the capture was registered. + The two are evidence about the same capture from two directions, and green + asks for both. The residual risk is in `threat-model.md` §5.2. + **Which platform.** A source attests the platform it runs on and no other: `playIntegrity` speaks for `device.platform` `android` only. A `hardware` verdict from a source that does not attest the proof's own platform proves @@ -1323,13 +1374,27 @@ containing a schema-valid value remain readable under the same rules. block time (vectors 103, 104). Validating at `genTime` is circular in one respect: `genTime` is chosen by whoever holds the TSA key, so a key that leaks after its certificate expired can stamp a fresh core with a time - inside the certificate's life. A block time is chosen by nobody. A core + inside the certificate's life. A block time is not chosen by the holder + of any key in the proof: the sequencer (Base) or the validators (EBSI's + Besu network) set it, within the bounds the chain's consensus enforces + against its parent block, and on `ebsi` the verifier reads it through + EBSI's gateway, so it trusts that operator not to lie about the record. + That is a weaker statement than "chosen by nobody" and a different one + from a TSA's: no party a forger controls sets it, and the contract it is + read from is the one the verifier's trust list names for the chain. A core first anchored after the certificate expired cannot carry a token that honest stamping produced, and a token that postdates the block which already anchors its core contradicts the order the evidence was made in. Without an anchor nothing bounds a leaked TSA key's backdating; the residual risk is in `threat-model.md` §5.4. + These six are the whole check: **no revocation check of the TSA signer is + required**, and a verifier that skips one is conformant. A token is + validated offline from what the proof carries, which holds no revocation + data, and what an online check could conclude about a token issued before + a revocation is not yet specified (`threat-model.md` §5.4, §6). A verifier + that stops trusting a TSA removes its root from the roots it pins. + Any failure → both labels of §8, and the instant falls to the next source (§7). No pinned TSA root at all is *trusted time not evaluated*: evidence this verifier cannot read, not evidence that failed. @@ -1346,6 +1411,24 @@ the device+app installation, and every capture from it is linkable through it, whatever `policy.pseudonymous` says: that flag hides the operator, not the device. Per-capture keys would break the link and are out of scope for v1.0. +The `attestation` chain links further than the key does (accepted, open). +It carries no serial, IMEI or MEID, but it is not anonymous: a Remote Key +Provisioning intermediate is issued to one device and certifies every key +that device creates while it lives, and the leaf's `attestationApplicationId` +names the app's package and signing certificates. Two proofs whose chains +share an intermediate come from the same device even after the device key +rotates, and a chain names the app that sealed the capture. A +`policy.pseudonymous` proof that carries its chain is therefore linkable +across key rotations and names its app. One that leaves `attestation` out is +linkable through `device.key_id` only, and the chain stays with the registry, +whose log leaf commits to it as `attestation_digest` without revealing it — +at the price, on Android, of a proven level of `none`: only the chain proves +an Android level (§7), and a digest in a leaf proves nothing a verifier can +recompute. iOS carries no chain and is unaffected. This version defines no +way to prove an Android level offline without disclosing the chain; a writer +of pseudonymous captures chooses between the two, and per-device +unlinkability is open, with per-capture keys (`threat-model.md` §5.5). + --- ## 7. Decision 4 — How the proof level is declared @@ -1416,7 +1499,7 @@ for *key not in transparency log*. | proven level | attestation / binding | key in log before capture | verdict ceiling | label shown | |---|---|---|---|---| -| `strongbox` | valid to Google hardware root, RKP fresh, revocation checked, app admitted, device integrity proven | yes | **green** | sealed in secure hardware | +| `strongbox` | valid to Google hardware root, revocation checked, app admitted, device integrity proven | yes | **green** | sealed in secure hardware | | `tee` | valid to Google root, revocation checked, app admitted, device integrity proven | yes | **green** | sealed in the TEE | | `secureEnclave` | the registry records an App Attest binding (see below) | yes | **amber** in this version: no source proves an iOS device intact | integrity not proven — *our records* | | any of the above | valid, and no valid `integrity` attachment from `playIntegrity` with verdict `hardware` on an `android` proof, signed by the log the proof names (§6.2) | any | **amber** | integrity not proven | @@ -1454,6 +1537,12 @@ for *key not in transparency log*. `tee` claimed beside a chain that holds and proves `none` is *inconsistent claim* (vector 157). The measure is the level before revocation: a revoked chain retracts a level, it does not contradict the claim. +- **No freshness rule beyond rule 1.** A Remote Key Provisioning + intermediate lives days, and rule 1 already validates it at the proven + instant; nothing else about how recent a chain is enters the verdict. How + fresh a chain was when the key enrolled is the registry's check at + enrolment (`threat-model.md` §5.2, *Relayed attestation*), which a verifier + cannot repeat from the file, and the table above asks nothing of it. - **A self-chosen attestation challenge is allowed.** A device that never enrolled produces a genuine chain over a challenge it picked itself; the chain still proves the hardware level, and the missing registry entry lands @@ -1586,6 +1675,21 @@ verdict whose outcome is not red**, a red ceiling included; a red *outcome* carries its reason and nothing else, because "no trusted time" on a tampered file is noise. A clip's outcome is amber whatever its ceiling would be. +**What amber does not say.** Attachments are outside the core, and anyone +holding a file can delete one without breaking a signature. The format is +built so that deleting evidence never *raises* a verdict — every condition for +green is a piece of evidence that must be present (§7) — but it can lower one, +and some of what it lowers is red: a proof whose `attestation_status` says +`revoked` is red, and the same proof stripped of that attachment is amber with +*chain revocation not checked*. **An amber verdict may hide a red one.** Its +labels say which evidence is missing, and missing evidence is not evidence +that the answer would have been good. The remedy is to fetch what can be +fetched instead of reading it from the file: the log's signed key status +(§6.2, *Revocation, online*), and, while the attestation chain is still +current, the chain's status list (§6.2, `attestation_status`) — an online +verifier SHOULD do both. What can no longer be fetched — the status of a chain +that has expired — is only ever as good as the copy in the file. + **Required.** `v`, `capture_id`, `media`, `media.mime`, `media.hash`, `media.w`, `media.h`, `device.secure_hw`, `device.key_id`, `sig`, for a video proof `segments`, and for a proof carrying `segments`