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

Latest build of 10.2 on windows 11 sample fail #789

Open
deisenbacher01 opened this issue Dec 19, 2024 · 5 comments
Open

Latest build of 10.2 on windows 11 sample fail #789

deisenbacher01 opened this issue Dec 19, 2024 · 5 comments

Comments

@deisenbacher01
Copy link

When using the example

C:\TEST\c2patool-c2patool-v0.10.2-x86_64-pc-windows-msvc\c2patool\sample>c2patool.exe image.jpg -m test.json -o signed_image.jpg
claim generator [ClaimGeneratorInfo { name: "c2patool", version: Some("0.10.2"), icon: None, other: {} }]
Error: embedding manifest

Caused by:
The filename, directory name, or volume label syntax is incorrect. (os error 123)

Not sure why this error is happening on the samples.

@robomotic
Copy link

Exactly the same problem, here I am unable to sign anything in the samples.
The weird thing is that it works when I do:
.\c2patool.exe .\sample\C.jpg
i can see the manifest in JSON format.

@deisenbacher01
Copy link
Author

deisenbacher01 commented Dec 27, 2024 via email

@robomotic
Copy link

Indeed!

@crandmck
Copy link
Collaborator

crandmck commented Jan 10, 2025

I can reproduce this using cli/sample/image.jpg as the input file, but I see this at the end:

Caused by:
    COSE Signature too big for JUMBF box

However, I'm able to attach a manifest to other images using the tool.

@deisenbacher
Copy link

I have tried with other source .jpg such as using c2patool.exe "C:\TEST\2025\sample\hard-head.jpg" -m "C:\TEST\2025\sample\test.json" -o "C:\TEST\2025\signed_image.jpg"

still seeing
claim generator [ClaimGeneratorInfo { name: "c2patool", version: Some("0.10.2"), icon: None, other: {} }]
Error: embedding manifest

Caused by:
The filename, directory name, or volume label syntax is incorrect. (os error 123)

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

No branches or pull requests

4 participants