Skip to content

C2PA Monitor: JUMBF box reader and CBOR decoder for c2pa.decoded #953

Description

@lnispel

Context

Follow-up to #459 (C2PA Monitor experiment).

The current implementation captures the raw JUMBF manifest store bytes and SHA-256 but does not decode their contents. The c2pa.decoded field in the _wpai_monitor_record postmeta is reserved but always null.

What is needed

  1. JUMBF box reader - walk the nested superbox tree (box-by-box via LBox/TBox) to enumerate claim boxes.
  2. CBOR decoder - parse the claim JSON-LD from its CBOR-encoded representation inside the c2pa.claim box.
  3. Populate c2pa.decoded - expose at minimum: claim generator, digitalSourceType, and action history.

This enables downstream features (display, filtering, Linked Data publishing) that currently have no claim data to work with.

Targeting

Target release: 1.4.0 (please milestone @jeffpaul / @dkotter).

Originates from: #459 and its Deferred section.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions