Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

c2patool --remote does not work in 0.10.2 #831

Open
eeeps opened this issue Jan 9, 2025 · 5 comments
Open

c2patool --remote does not work in 0.10.2 #831

eeeps opened this issue Jan 9, 2025 · 5 comments
Assignees
Labels
accepted bug Something isn't working c2patool Issues related to c2patool cli

Comments

@eeeps
Copy link

eeeps commented Jan 9, 2025

remote-cmd.sh: https://gist.github.com/eeeps/aa62b2e9b2aeb4070011aeb0721197ef
manifest.json: https://gist.github.com/eeeps/7768715f05e0e426ea1f3098e82b12c3
photographs-of-snowmen-13.jpg: https://o.img.rodeo/photographs-of-snowmen-13.jpg
photographs-of-snowmen-13-optimized.jpg: https://o.img.rodeo/photographs-of-snowmen-13-optimized.jpg
(not gonna include mycerts.pem or mykey.pem 😌)

Running remote-cmd.sh with c2patool 0.7.0 generates photographs-of-snowmen-13-signed.c2pa, and embeds an XMP Provenance field in photographs-of-snowmen-13-signed.jpg with the remote URL, as expected.

Running these same commands on these same files using the latest version of c2patool (0.10.2) puts the following on stdout: https://gist.github.com/eeeps/528a7630f3f653e851ea1bf77618f301. Also...

  1. The command does not create a .c2pa file.
  2. photographs-of-snowmen-13-signed.jpg contains both:
    • an XMP Provenance field with the remote URL (expected)
    • a full embedded manifest (unexpected)

Additionally, running this command outputs a file to disc named xmp/iid/9f21ba1e-f4c9-48b1-b355-70a7508a1c08 which is a JPEG, that mysteriously weighs 32KB more than the input JPEG.

Seems related to #830

@crandmck crandmck added bug Something isn't working c2patool Issues related to c2patool cli labels Jan 10, 2025
@github-jira-sync-bot
Copy link

Unfortunately, not enough information was provided to create a Jira ticket. Please make sure you added the following label(s): accepted

Once all required labels are present, please add bug label again.

@github-jira-sync-bot github-jira-sync-bot removed the bug Something isn't working label Jan 10, 2025
@crandmck crandmck added the bug Something isn't working label Jan 10, 2025
@github-jira-sync-bot github-jira-sync-bot removed the bug Something isn't working label Jan 10, 2025
@github-jira-sync-bot
Copy link

Unfortunately, not enough information was provided to create a Jira ticket. Please make sure you added the following label(s): accepted

Once all required labels are present, please add bug label again.

@crandmck crandmck added the bug Something isn't working label Jan 10, 2025
@github-jira-sync-bot
Copy link

Unfortunately, not enough information was provided to create a Jira ticket. Please make sure you added the following label(s): accepted

Once all required labels are present, please add bug label again.

@github-jira-sync-bot github-jira-sync-bot removed the bug Something isn't working label Jan 10, 2025
@crandmck crandmck added the bug Something isn't working label Jan 10, 2025
@github-jira-sync-bot github-jira-sync-bot removed the bug Something isn't working label Jan 10, 2025
@github-jira-sync-bot
Copy link

Unfortunately, not enough information was provided to create a Jira ticket. Please make sure you added the following label(s): accepted

Once all required labels are present, please add bug label again.

@gpeacock gpeacock self-assigned this Jan 17, 2025
@gpeacock gpeacock added bug Something isn't working accepted labels Jan 17, 2025
@github-jira-sync-bot
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted bug Something isn't working c2patool Issues related to c2patool cli
Projects
None yet
Development

No branches or pull requests

4 participants