docs: Document --trust_list_uri and init trust subcommand - #303
Merged
Conversation
- 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.
2 tasks
Codecov Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
NOTE: Do not merge until contentauth/c2pa-rs#2545 is merged and released.
--trust_list_uri/C2PATOOL_TRUST_LIST_URIto the trust options table indocs/usage.md, covering the flag added in feat!: Update for C2PA 2.3 spec c2pa-rs#2545.init trustsubcommand (fetching/caching trust list sidecars next to the settings file, the--legacyflag, auto-loading on subsequent runs, and the WASI limitation), which already ships in the CLI but wasn't documented.To test:
init trustsection for accuracy againstsrc/main.rs(InitCmd::Trust,run_trust_init,apply_trust_sidecars).--trust_list_urirow/example matches theCommands::Truststruct once fix: C2PA 2.3 reporting c2pa-rs#2388 merges.Migrated from contentauth/c2pa-rs#2435 as part of the c2patool repo split. That PR also edits
docs/context-settings.md, which isn't undercli/and stays in the c2pa-rs PR -- only thecli/docs/usage.md(nowdocs/usage.md) change carried over here.