View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003173 | DCP-o-matic | Bugs | public | 2026-08-12 15:58 | 2026-08-15 22:52 |
| Reporter | boxerab | Assigned To | carl | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Platform | x86_64 | OS | Fedora | OS Version | 43 |
| Product Version | 2.18.39 | ||||
| Summary | 0003173: Two bugs surfaced by Claude Code | ||||
| Description | Feedback from Claude: Testing DCP-o-matic 2.18.39 (d71b711220) on Linux turned up two defects in dcpomatic2_kdm_cli. First, the trusted device list is written with a thumbprint of nothing: passing -T <certificate> produces a KDM whose AuthorizedDeviceInfo/DeviceList/CertificateThumbprint is always 2jmj7l5rSw0yVb/vlWAYkK/YBwk=, which is the base64 SHA-1 of an empty input, rather than the thumbprint of the certificate supplied. I reproduced it with three different certificates whose real DER SHA-1 thumbprints are PPvP/Eq5P0t9Om2CjjVmSSKVgJg=, 9Sla3fDlp3tVMdr4RvpJPvKepKg= and UQ03OaS5eHR2AFTQhIUhGLVe9ko=, and all three yielded the same empty hash with no error or warning, so the resulting device list names no real device and a TDL-enforcing playback device has nothing valid to match. Second, KDM generation fails for an encrypted Interop film with the message "no CPLs found in film", even though the film transcodes successfully, its metadata.xml records <Encrypted>1, and it contains exactly one CPL at <film>/<dcp>/cpl_<uuid>.xml using the http://www.digicine.com/PROTO-ASDCP-CPL-20040511# namespace; the identical command against an encrypted SMPTE film, with the same projector certificate and validity window, produces a valid ST 430-1/430-3 KDM. Whether Interop KDM generation is deliberately unsupported or CPL discovery simply does not recognise an Interop CPL root, the error message is misleading either way. Both were reproduced with films created by dcpomatic2_create and KDMs requested as dcpomatic2_kdm_cli -C projector.pem -T trusted-device.pem -c Cinema -S Screen -f "2026-10-01 00:00:00" -t "2027-01-01 00:00:00" -o outdir <film>. | ||||
| Tags | No tags attached. | ||||
| Branch | |||||
| Estimated weeks required | |||||
| Estimated work required | |||||
|
|
For the first bug, what are you passing for |
|
|
Second bug should be fixed by |
|
|
For first bug, that is my bad! I didn't pass anything for |
|
|
Precisely such a warning was added in 25ac279e5b7ae6593185230a0fe5a4022a6f689d (2.18.40). |
|
|
excellent! |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-08-12 15:58 | boxerab | New Issue | |
| 2026-08-15 16:49 | carl | Assigned To | => carl |
| 2026-08-15 16:49 | carl | Status | new => feedback |
| 2026-08-15 16:49 | carl | Note Added: 0007353 | |
| 2026-08-15 21:13 | carl | Note Added: 0007354 | |
| 2026-08-15 21:47 | boxerab | Note Added: 0007355 | |
| 2026-08-15 21:47 | boxerab | Status | feedback => assigned |
| 2026-08-15 21:48 | carl | Status | assigned => resolved |
| 2026-08-15 21:48 | carl | Resolution | open => fixed |
| 2026-08-15 21:48 | carl | Note Added: 0007356 | |
| 2026-08-15 22:52 | boxerab | Note Added: 0007357 |