Dr. Neal Krawetz

Results 19 issues of Dr. Neal Krawetz

"c2patool --certs" is supposed to extract the x509 certificates. While this does extract everything in the primary x5chain, it doesn't extract the certs from sigTst tstTokens (used for validating the...

bug
accepted

c2patool 0.6.2 is supposed to accept a user-specified cert via environment variable or in the manifest. I have been unable to get this to work. The documentation for c2patool 0.6.2...

documentation

**Describe the bug** ``` libjxl/lib/extras/dec/jpg.cc:219:5: error: ‘jpeg_mem_src’ was not declared in this scope; did you mean ‘jpeg_stdio_src’? 219 | jpeg_mem_src(&cinfo, reinterpret_cast(bytes.data()), | ^~~~~~~~~~~~ | jpeg_stdio_src make[2]: *** [lib/CMakeFiles/jxl_extras_core-obj.dir/build.make:232: lib/CMakeFiles/jxl_extras_core-obj.dir/extras/dec/jpg.cc.o] Error...

building/portability
unrelated to 1.0

**Describe the bug** Build fails. [ 68%] Building CXX object lib/CMakeFiles/jpegli-static.dir/jpegli/color_transform.cc.o /home/work/jxl/libjxl/lib/jpegli/color_transform.cc: In function ‘bool jpegli::CheckColorSpaceComponents(int, J_COLOR_SPACE)’: /home/work/jxl/libjxl/lib/jpegli/color_transform.cc:138:10: error: ‘JCS_EXT_RGB’ was not declared in this scope; did you mean ‘JCS_RGB’?...

building/portability
unrelated to 1.0

c2patool --help The usage is missing the "--trust_anchors" parameter. The usage says "trust" is a command, but with no description about what it does.

"c2patool -d" checks if the certificate validates the signature, but not if the certificate chain is trusted. There is no option to validate the certificate chain or to specify one...

I have a picture with a C2PA manifest. "c2patool --certs" extracts the signing certificate chain. I include my picture as a component in another picture with a C2PA manifest. Now...

binstall fails on Ubuntu 20.04 LTS. ``` $ c2patool 9c5e08e8.jpg trust c2patool: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by c2patool) c2patool: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by c2patool) c2patool:...

``` conda create --name trustmark python=3.10 conda activate trustmark conda install pytorch cudatoolkit=12.8 -c pytorch -c conda-forge pip install torch==2.1.2 torchvision==0.16.2 -f https://download.pytorch.org/whl/torch_stable.html pip install . ``` This ends with:...