Generating Public Cert from CLI tools

Anything and everything to do with DCP-o-matic.
pixelomen
Posts: 5
Joined: Thu Mar 21, 2024 10:06 pm

Generating Public Cert from CLI tools

Post by pixelomen »

Hi There,

I'm going to be using the CLI tools on Ubuntu to generate KDMs, but I can't seem to find the documentation how to find/generate the public cert for it. Any help is greatly appreciated.
carl
Site Admin
Posts: 2550
Joined: Thu Nov 14, 2013 2:53 pm

Re: Generating Public Cert from CLI tools

Post by carl »

Hi, do you mean the certificate that DCP-o-matic uses to decrypt incoming KDMs?
pixelomen
Posts: 5
Joined: Thu Mar 21, 2024 10:06 pm

Re: Generating Public Cert from CLI tools

Post by pixelomen »

carl wrote: Tue Jun 04, 2024 12:31 pm Hi, do you mean the certificate that DCP-o-matic uses to decrypt incoming KDMs?
Hi Carl,

Yes, exactly. The one you give out to someone if you want them to generate a DKDM for you to use in DCP-o-matic.
Last edited by pixelomen on Tue Jun 04, 2024 6:07 pm, edited 1 time in total.
carl
Site Admin
Posts: 2550
Joined: Thu Nov 14, 2013 2:53 pm

Re: Generating Public Cert from CLI tools

Post by carl »

I just added an option to do that in my local copy (will be in 2.16.87).

In the mean time you can look in your config.xml, find the Decryption tag, and look at the 3rd Certificate tag - that's the leaf i.e. decryption certificate.
pixelomen
Posts: 5
Joined: Thu Mar 21, 2024 10:06 pm

Re: Generating Public Cert from CLI tools

Post by pixelomen »

carl wrote: Tue Jun 04, 2024 7:03 pm I just added an option to do that in my local copy (will be in 2.16.87).

In the mean time you can look in your config.xml, find the Decryption tag, and look at the 3rd Certificate tag - that's the leaf i.e. decryption certificate.
Thanks, that's great news. Pulling it from the config.xml sounds like a great workaround, I'll try that.

By the way, I'm currently using the 2.17.17 test version on Ubuntu (for the timezone arguments), will there be a new test version that includes that as well, or conversely, will the timezone arguments be included in a stable build at some point?
Last edited by pixelomen on Tue Jun 04, 2024 8:13 pm, edited 2 times in total.
carl
Site Admin
Posts: 2550
Joined: Thu Nov 14, 2013 2:53 pm

Re: Generating Public Cert from CLI tools

Post by carl »

Everything from the 2.16.x (stable) branch is merged into the 2.17.x (testing) branch so the change will appear at some point (2.17.18 or 2.17.19).
pixelomen
Posts: 5
Joined: Thu Mar 21, 2024 10:06 pm

Re: Generating Public Cert from CLI tools

Post by pixelomen »

Thanks!