c2pa-rs icon indicating copy to clipboard operation
c2pa-rs copied to clipboard

Docs example of c2patool --remote usage is confusing

Open eeeps opened this issue 1 year ago • 2 comments

After correctly describing what the --remote option does in the first paragrah, the docs give the following example

c2patool sample/image.jpg -r http://my_server/myasset.c2pa -m sample/test.json -o signed_image.jpg

In the example above, the tool will embed the URL http://my_server/myasset.c2pa in signed_image.jpg then fetch the manifest from that URL and save it to signed_image.c2pa.

(emphasis mine)

This directly contradicts the first paragraph, which says that the tool will generate the .c2pa file itself. The tool will not fetch the manifest from the remote URL. It will create it and expects you to then make it accessible at the URL that you specified.

eeeps avatar Jan 09 '25 22:01 eeeps

That is correct, it will not fetch the c2pa file, it expects the caller to make that .c2pa file available at the given url. The docs should be updated.

gpeacock avatar Jan 17 '25 01:01 gpeacock

:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/CAI-7489 is successfully created for this GitHub issue.

github-jira-sync-bot avatar Jan 17 '25 01:01 github-jira-sync-bot