# Use distro-provided FFmpeg on Arch
deps = []
- deps.append(('libdcp', '24e7ed8'))
- deps.append(('libsub', 'bc00091'))
+ deps.append(('libdcp', 'e579b4c'))
+ deps.append(('libsub', 'f24a2c1'))
deps.append(('leqm-nrt', '93ae9e6'))
deps.append(('rtaudio', 'f619b76'))
# We get our OpenSSL libraries from the environment, but we
{
return make_shared<dcp::CertificateChain> (
openssl_path(),
+ CERTIFICATE_VALIDITY_PERIOD,
"dcpomatic.com",
"dcpomatic.com",
".dcpomatic.smpte-430-2.ROOT",
/** Maximum size of the XML part of a closed caption file, according to SMPTE Bv2.1 */
#define MAX_CLOSED_CAPTION_XML_SIZE (256 * 1024)
#define MAX_CLOSED_CAPTION_XML_SIZE_TEXT "256KB"
+#define CERTIFICATE_VALIDITY_PERIOD (10 * 365)
extern std::string program_name;
extern bool is_batch_converter;
_set (
make_shared<dcp::CertificateChain> (
openssl_path (),
+ CERTIFICATE_VALIDITY_PERIOD,
d->organisation (),
d->organisational_unit (),
d->root_common_name (),
dcp::DCP A_dcp ("build/test/import_dcp_test/" + A->dcp_name());
A_dcp.read ();
- Config::instance()->set_decryption_chain (make_shared<dcp::CertificateChain>(openssl_path()));
+ Config::instance()->set_decryption_chain (make_shared<dcp::CertificateChain>(openssl_path(), CERTIFICATE_VALIDITY_PERIOD));
- /* Dear future-carl: I suck! I thought you wouldn't still be running these tests in 2030! Sorry! */
auto kdm = A->make_kdm (
Config::instance()->decryption_chain()->leaf (),
vector<string>(),
dcp::DCP A_dcp ("build/test/vf_kdm_test_ov/" + A->dcp_name());
A_dcp.read ();
- Config::instance()->set_decryption_chain (make_shared<dcp::CertificateChain>(openssl_path()));
+ Config::instance()->set_decryption_chain (make_shared<dcp::CertificateChain>(openssl_path(), CERTIFICATE_VALIDITY_PERIOD));
auto A_kdm = A->make_kdm (
Config::instance()->decryption_chain()->leaf(),