diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b1e095..5540521 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -99,7 +99,8 @@ there. Erratum for vector 158's note (`vectors/README.md`). bytes and none changed its verdict; vector 54's `key_status` input changed; `_trust/logs.json` gained a second trusted log; 89, 94 and 145 changed verdict (below); 152–164 are new (164 in all). -Six verdict rules changed. Five closed a verdict both the reference verifier +Six verdict rules changed, and video gained a core member +(`media.presentation`, the last item). Five of the rules closed a verdict both the reference verifier and the published one gave too generously; one aligned the two where they disagreed: @@ -170,12 +171,15 @@ disagreed: `media.hash` covers every byte. - **Changed verdicts**: 89 and 94 (*verified clip* → *frames not compared*, *presentation not bound*: their device proofs cannot gain the - field) and 145 (*verified clip* at depth 1 → *no proof found*, - `SOURCE_CAPTURE`; its `NOTES.md` is corrected in the errata, not in - place). Originals 36, 37, 47, 48, 85 are unchanged. + field; back to *verified clip* under a re-signed core in 5.0.0) and + 145 (*verified clip* at depth 1 → *no proof found*, `SOURCE_CAPTURE`; + its `NOTES.md` is corrected in the errata, not in place; *verified clip* + again in 6.0.0). Originals 36, 37, 47, 48, 85 + are unchanged (36, 37, 48 and 85 read *no proof found* from 5.0.0). - **Writers**: compute the field from the file the muxer produced, before the trailer (§5 *Writer requirements*). The schema accepts it and does - not yet require it. + not yet require it (it does from 5.0.0, which also removes *presentation + not bound*). **What a verifier that predates 4.0.0 does**: it passes the 26 moved vectors once it loads the new `_trust/` (the attestation root changed), and diff --git a/spec/threat-model.md b/spec/threat-model.md index b39947a..738fec2 100644 --- a/spec/threat-model.md +++ b/spec/threat-model.md @@ -113,7 +113,7 @@ Boundaries, each enforced by code and tested: | Pixel or metadata edit | changes bytes after sealing | `media.hash` over canonical bytes, in the signed core (§4) | none: red | | Claim edit | changes location, time, level, capture id in the JSON | the core is signed (§4.2); `key_id` derived from `sig.pub`; proven level from attestation, claimed level capped | none: red / flagged | | Signature swap | re-signs the file with own key and attaches a genuine attestation chain | attestation leaf SPKI must equal `sig.pub` (§6.2) | none: red | -| Presentation edit | re-muxes a genuine clip keeping every sample, and rotates the track matrix, edits the out-of-band SPS (crop, colour) or adds an enabled track | `media.presentation` in the core binds the configuration record, `clap`/`pasp`/`colr`, the `tkhd` matrix and display size; the track layout rule (§5 *Presentation*, vectors 160–162) | none: *frames not compared*, never *verified clip*; a proof that predates the field binds no clip (vectors 89, 94) | +| Presentation edit | re-muxes a genuine clip keeping every sample, and rotates the track matrix, edits the out-of-band SPS (crop, colour) or adds an enabled track | `media.presentation` in the core binds the configuration record, `clap`/`pasp`/`colr`, the `tkhd` matrix and display size; the track layout rule (§5 *Presentation*, vectors 160–162) | none: *frames not compared*, never *verified clip*; a video proof without the field is not well formed, *no proof found* over the original and every clip (vector 165) | | Timeline edit | re-muxes a genuine video with an edit list that trims, repeats or reorders what a player shows, every sample untouched | an edit list with more than one edit after the leading delay, or a rate change, is a timeline §5 does not model: no segment is located (§5, vector 156) | none: *frames not compared*, never *verified clip*; an original is covered whole by `media.hash` | | Proof transplant | moves a genuine trailer or sidecar onto another file | `media.hash` mismatch; on video, a signed segment counts only where a GOP of the received file names it and recomputes (§5, *Locating segments*) | none: red on a photo; *frames not compared* on a video whose GOPs name no segment of the proof, never *verified clip* | | Clip from a genuine video | cuts segments, keeps the trailer | per-segment chain over messages; `segment_count`; `media.hash` mismatch → *verified clip*, amber, ranges shown | accepted and **labelled**: a clip is a clip, never an original | @@ -276,6 +276,11 @@ like, and it is the true one. ## 7. Change log +- 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* + (`vcap-proof-1.0.md` §6.1, §8). + - 2026-10-01 — Verdict hardening. §5.2: the imported-key row claimed a check no verifier made; `origin` is now §7 rule 6 and the residual holds. A device key revoked for a non-retroactive reason can no longer be dated diff --git a/spec/vcap-proof-1.0.md b/spec/vcap-proof-1.0.md index 6f63fbc..df73ed5 100644 --- a/spec/vcap-proof-1.0.md +++ b/spec/vcap-proof-1.0.md @@ -1889,7 +1889,7 @@ says. the original store's `box_purpose` from `manifest` into `original` in place (C2PA A.5.3), inside `media.hash` (`c2pa-interop-1.0.md` §6) - [ ] `REVIEW (mobile)` per-segment signing cost in StrongBox on a long clip -- [~] `REVIEW (mobile)` NAL byte definition and audio DTS rule reproducible on both encoders — the DTS clock is now named (M8) and the timeline with it (edit lists, §5); H.264 and HEVC on Android are reproduced byte for byte by a second implementation written from this text (`tools/src/container.ts`, vectors 36–37), which is what "reproducible" was asking; on iOS the NAL bytes are reproduced for HEVC in MOV (vector 48) and H.264 in MP4 (vector 85), and the audio DTS rule is not yet exercised: neither clip has an audio track +- [~] `REVIEW (mobile)` NAL byte definition and audio DTS rule reproducible on both encoders — the DTS clock is now named (M8) and the timeline with it (edit lists, §5); H.264 and HEVC on Android are reproduced byte for byte by a second implementation written from this text (`tools/src/container.ts`, the containers of vectors 36 and 37, verified under a presentation-bound core in 166 and 158), which is what "reproducible" was asking; on iOS the NAL bytes are reproduced for HEVC in MOV (vector 48's container, 167) and H.264 in MP4 (vector 85's, 168), and the audio DTS rule is not yet exercised: neither clip has an audio track - [x] `REVIEW (mobile)` hashing two interleaved tracks during encoding — resolved: 8 KB and 0.5 ms per segment on a TEE device (M8) - [ ] `REVIEW (mobile)` metadata stripping before sealing for pseudonymous captures - [ ] `REVIEW (LEAD)` the `authenticated` position level (§7.1) is reserved @@ -1921,7 +1921,10 @@ says. time, revocation and attestation rules (96–110), the JSON reading rules (111–120) and the extensible identifiers (95, 121), and **147** in corpus 2.1.0 with the JUMBF exclusion narrowed to the C2PA store (122) - and Content Credentials as a carrier of the proof (123–147), + and Content Credentials as a carrier of the proof (123–147), and + **168** by corpus 5.0.0 with device integrity (148–150), the fused + position source (151), the verdict hardening and presentation binding + (152–164) and `media.presentation` required (165–168), checked by the reference verifier in `tools/`. The §7 vectors trust the anchors in `vectors/_trust/`, whose attestation root is a test root: they prove the level logic, not that an implementation can walk a @@ -1934,9 +1937,12 @@ says. device clock for an instant — is amber - [~] `REVIEW (mobile)` container-level video vectors: real MP4/MOV from each encoder, with `content_hash` recomputed from the NAL units and audio - frames — Android H.264 and HEVC done (vectors 36–39 and 166, `kind: container`); + frames — Android H.264 and HEVC done (vectors 36–39, `kind: container`); iOS HEVC in MOV (48) and H.264 in MP4 under a Secure Enclave chain (85) - done, both without audio; an iOS clip with audio is still owed + done, both without audio; an iOS clip with audio is still owed. The + device proofs of 36, 37, 48 and 85 predate `media.presentation` and + read *no proof found* since corpus 5.0.0; their containers are verified + under a re-signed core that carries it in 166, 158, 167 and 168 - [x] Whether a verifier that cannot recompute segment hashes must say so in its labels: **yes** — *segment content not recomputed* (§5, §7), decided 10 September 2026. Recomputation stays optional, declaring it does diff --git a/vectors/CONFORMANCE.md b/vectors/CONFORMANCE.md index badf184..d5ef558 100644 --- a/vectors/CONFORMANCE.md +++ b/vectors/CONFORMANCE.md @@ -105,6 +105,6 @@ be read and re-implemented rather than imported. outside this claim: `vectors/_watermark/layouts.json` for the payload arithmetic and `vectors/_watermark/agreement-floor.json` for the 0.85 floor a `video-rep-v1` decoder must not report an id below. -- **Not a claim about a newer corpus.** The corpus grows by addition, so - passing corpus 6.0.0 says nothing about the vectors a later corpus adds, and - everything about 6.0.0's. State the version you ran. +- **Not a claim about a newer corpus.** A minor bump adds vectors and a + major one moves some (`README.md`, *Bump policy*), so passing corpus 6.0.0 + says nothing about a later corpus, and everything about 6.0.0's. State the version you ran. diff --git a/vectors/README.md b/vectors/README.md index 196d1e2..f22ff76 100644 --- a/vectors/README.md +++ b/vectors/README.md @@ -35,7 +35,8 @@ every certificate path was validated at, and what proved it) appear on the vectors that carry attestation evidence. `location` (§7.1: `claimed`, the level the core asks for, and `level`, the one the evidence reaches — `none`, `declared`, `corroborated`, `authenticated`) appears on the position vectors -(74–84) and on 47 and 166, which declare no position and pin `none`. +(74–84, 151) and on 47, 86, 87, 89, 166 and 168, which declare no position +and pin `none`. `proof_source` (where the proof was read: `trailer`, `sidecar`, or `c2pa` with the carrying manifest's label and its depth on the `parentOf` chain) and `frames_name_capture` (whether a GOP of the file names the proof's capture) @@ -168,13 +169,14 @@ format, regenerated and checked by CI (`npm run conformance:report` / `conformance:check`). **Bump policy**, the same additive-only rule as everywhere else in this -repository: a vector's hash never changes once published (`AGENTS.md`), so +repository: a vector's hash never changes once published (*Errata*, below), so `VERSION` only ever moves forward. Bump the minor version when vectors are added, the patch version for a manifest-only regeneration triggered by something outside `vectors/` (there is not expected to be one, since the manifest is a pure function of the directory and `VERSION`). A major bump -would mean an existing vector's bytes moved — the one thing this corpus does -not do — so seeing one asks the same question a breaking spec change does. +means an existing vector's bytes or expected verdict moved — the one thing a +published corpus otherwise never does — so seeing one asks the same question +a breaking spec change does. **2.0.0 is one**, and the answer is in `CHANGELOG.md`: the review of 24 September 2026 changed verdicts the format had got wrong (a stolen proof reading *verified clip*, a device clock reaching green) while the format is @@ -312,8 +314,9 @@ carries the verdict in force. `AVAssetWriter`'s files in 48 and 85 — still holds, and is now exercised under a re-signed core by 166 (36), 158 (37), 167 (48) and 168 (85). The Secure Enclave signatures of 85 and the StrongBox ones of 36 and 37 are - still the corpus's only real device signatures, now on the path to *no - proof found*. + still the corpus's only real device signatures over video, now on the path + to *no proof found*; 47, a photo, still verifies under its Secure Enclave + signature. - **85 · `85-mp4-container-ios-sealed`** — its note explains the five one-frame segments as VideoToolbox answering a forced keyframe with two IDRs. That is