Skip to content

docs: Document --trust_list_uri and init trust subcommand - #303

Merged
scouten-adobe merged 2 commits into
mainfrom
docs/cli-trust-list-uri-and-init
Sep 10, 2026
Merged

docs: Document --trust_list_uri and init trust subcommand#303
scouten-adobe merged 2 commits into
mainfrom
docs/cli-trust-list-uri-and-init

Conversation

@scouten-adobe

@scouten-adobe scouten-adobe commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

NOTE: Do not merge until contentauth/c2pa-rs#2545 is merged and released.

  • Adds --trust_list_uri / C2PATOOL_TRUST_LIST_URI to the trust options table in docs/usage.md, covering the flag added in feat!: Update for C2PA 2.3 spec c2pa-rs#2545.
  • Documents the init trust subcommand (fetching/caching trust list sidecars next to the settings file, the --legacy flag, auto-loading on subsequent runs, and the WASI limitation), which already ships in the CLI but wasn't documented.

To test:


Migrated from contentauth/c2pa-rs#2435 as part of the c2patool repo split. That PR also edits docs/context-settings.md, which isn't under cli/ and stays in the c2pa-rs PR -- only the cli/docs/usage.md (now docs/usage.md) change carried over here.

- Add --trust_list_uri / C2PATOOL_TRUST_LIST_URI to the trust options
  table, added in PR contentauth/c2pa-rs#2388.
- Document the init trust subcommand (fetch and cache trust list
  sidecars, --legacy flag, auto-load on subsequent runs), which
  shipped previously but was undocumented.
@codecov

codecov Bot commented Sep 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.16%. Comparing base (f432f2a) to head (1d2dd00).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #303   +/-   ##
=======================================
  Coverage   72.16%   72.16%           
=======================================
  Files           4        4           
  Lines        1060     1060           
=======================================
  Hits          765      765           
  Misses        295      295           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@scouten-adobe scouten-adobe changed the title docs: document --trust_list_uri and init trust subcommand docs: Document --trust_list_uri and init trust subcommand Sep 10, 2026
@scouten-adobe
scouten-adobe merged commit 80f1b71 into main Sep 10, 2026
18 of 19 checks passed
@scouten-adobe
scouten-adobe deleted the docs/cli-trust-list-uri-and-init branch September 10, 2026 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants