Invalid CPL signature on Barco

Anything and everything to do with DCP-o-matic.
carl
Site Admin
Posts: 2548
Joined: Thu Nov 14, 2013 2:53 pm

Re: Invalid CPL signature on Barco

Post by carl »

So what I think we know from this test:
  • 2.16.0 DCP with 2.16.0 KDM: fails
  • 2.16.0 DCP with 2.14.57 KDM: fails
So you have two machines, one (let's all it A) running 2.14.57 and one (let's call it B) running 2.16.0. Has 2.14.57 ever run on B, or 2.16.0 on A? I'm just wondering whether, on B, 2.14.57 created the certificates (and 2.16.0 just copied them) or whether 2.16.0 created the certificates from scratch.

Can we add a successful trial to the table above? Does a 2.14.57 DCP with a 2.14.57 KDM work?
Carsten
Posts: 2804
Joined: Tue Apr 15, 2014 9:11 pm
Location: Germany

Re: Invalid CPL signature on Barco

Post by Carsten »

Yes, both machines work across each other. Just the 2.16 not towards Sony and Barco.

I think 2.14.57 is all okay, though I will try it DKDM style from 2.14.57 win through 2.14.57 Mac.

I know that 2.15.30 worked on both Sony and Barco. I guess I'll try to create three DCPs and KDMs now, each with a fresh set of prefs/certs on my Mac:

2.14.57
2.15.30
2.16.0

And I will not tick any extras (like metadata or so), just encrypted SMPTE.

Let's see what comes out. Maybe that leads to something. Unfortunately, I can not load the 2.16 DCP project into 2.14.57, just vice versa.

If they work, I will try the same, but transition prefs from 2.14.57 over 2.15.30 to 2.16.0 (not trash prefs).

- Carsten
carl
Site Admin
Posts: 2548
Joined: Thu Nov 14, 2013 2:53 pm

Re: Invalid CPL signature on Barco

Post by carl »

Sounds good. I wouldn't worry too much about testing the DCPs on DCP-o-matic - I don't think that's likely to pick anything up.

Making the final KDM on 2.14.57 and 2.16.0 might also be interesting, but let's see these results first...
Carsten
Posts: 2804
Joined: Tue Apr 15, 2014 9:11 pm
Location: Germany

Re: Invalid CPL signature on Barco

Post by Carsten »

I do the DKDM/machine testing just to confirm that I actually used the right certs and workflow. If DCP-o-matic player on that machine can play the DCP, KDM creator on the same machine is technically able to issue KDMs for it.
Carsten
Posts: 2804
Joined: Tue Apr 15, 2014 9:11 pm
Location: Germany

Re: Invalid CPL signature on Barco

Post by Carsten »

Hi Carl, here are links to two DCPs (KDMs within their folders as well). Created with 2.15.30 and 2.16.0, each with fresh prefs/certs.

https://www.dropbox.com/sh/69ysmfw3dnjf ... avAAa?dl=0

https://www.dropbox.com/sh/oxyk1mltj8gj ... rQMia?dl=0

2.16.0 does not work on the Barco, 2.15.30 does.

- Carsten
overlookmotel
Posts: 7
Joined: Thu Nov 17, 2022 10:05 pm

Re: Invalid CPL signature on Barco

Post by overlookmotel »

Was the conclusion on this that the problem was purely the certs having expiry dates too far into the future?

We had this same problem with a DCP at a festival this weekend on a Barco projector.

Barco ICMP-01
Software version 1.4.4.0.27499

The error was the same as reported here "Invalid CPL signature" and the DCP was encrypted.

But this was NOT a DCP made with DCP-o-matic. Cert subject identifier is mtifilm.com so I suspect the DCP was made with their Cortex software. I don't know much about this software, except have ran into a problem with a DCP made with it before and the post house in that case said "you won't have heard of it, it's extremely high end professional software". LOLs!

The DCP which wouldn't play this weekend has a leaf cert with expiry date September 2121 (i.e. 100 years from now).

So, 3 things:

1. It would be useful to know if the cert expiry date was the definite culprit for this issue, so I can report to the DCP maker.

2. Did you figure out what expiry date is the latest that's safe? Is problem a long expiry in relative terms (i.e. more than 10 years from today) or absolute (date is after X)? If so, I'd like to submit a patch to dcp_inspect to flag this issue.

3. Carl thought you'd be interested to know that other "high end professional" DCP-making software has the same problem and, unlike DCP-o-matic, they seem NOT to have fixed it.
carl
Site Admin
Posts: 2548
Joined: Thu Nov 14, 2013 2:53 pm

Re: Invalid CPL signature on Barco

Post by carl »

Hey!

Carsten might well remember things better than me, but:

1. I'd say we're 99% certain that the certificate expiry date caused the problem.

2. I'm not sure that we proved this conclusively, but AFAICR we have a hunch that the Barco limit is the 2038 "epochalypse" but that some Sony systems might have an earlier limit.

3. It always amuses me to hear stories like this, of course ;)

This bug contains some fairly cryptic notes about our investigations at the time.
Carsten
Posts: 2804
Joined: Tue Apr 15, 2014 9:11 pm
Location: Germany

Re: Invalid CPL signature on Barco

Post by Carsten »

We are sure that we tracked a bug in Barco ICMPs that is triggered by signing cert validation extending beyond 2038. However, we don't know wether other issues could trigger the same error message on Barco ICMPs. 2121 clearly is calling for trouble.


Barco 1.4.4.0 is recent enough (1.4.4.3 is current) - that issue came up with Barco <1.4.3.7 and wasn't solved by any Barco software update so far.

DCI/SMPTE specs does not limit any cert validity formally, so I guess it's a bug at least in Barcos and Sonys, but one that can simply be avoided.
overlookmotel
Posts: 7
Joined: Thu Nov 17, 2022 10:05 pm

Re: Invalid CPL signature on Barco

Post by overlookmotel »

Thanks both for the info. Really helpful.

Two more questions:

1. Do you have any guess of what might cause the problem with Sony projectors? If dates before 2038 can trigger the bug, I assume it can't be related to the epocalypse.

2. Does this problem only arise with encrypted DCPs? Or do you know of cases where unencrypted but signed DCPs also trigger the bug? You would expect it should, but maybe the projectors don't bother verifying the signature unless the DCP is encrypted.
Carsten
Posts: 2804
Joined: Tue Apr 15, 2014 9:11 pm
Location: Germany

Re: Invalid CPL signature on Barco

Post by Carsten »

We never had issues with DCPs - both encrypted and unencrypted DCPs with long signing cert validity ingested okay, never a complaint. Only the KDMs were rejected.

Carl made a special version for me to test different validity timeframe with SONY and Barco. I plead guilty for not diagnosing both servers to the end, so, Carl simply played safe with the general versions.

Strictly speaking, an encrypted DCP is not an archive format, but a distribution format. So, maybe one simply shouldn't use protection time frames so far into the future. Most gear these KDMs are targeted to will no longer exist in 10 years anyway.