diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-12-22 20:54:47 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-12-22 20:54:47 +0100 |
| commit | 1d168b8a94d2c3ae14f52fea222fa7bbdf5c1058 (patch) | |
| tree | fa4983eec45991091e2d9be79258ed2e3ab2eeda /scripts | |
| parent | 4cf7fe0818a71435545237012b45ccd443906189 (diff) | |
Store not_valid_{before,after} when reading encrypted KDMs.
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/remake-test-certificates | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/scripts/remake-test-certificates b/scripts/remake-test-certificates new file mode 100755 index 00000000..2385ccd1 --- /dev/null +++ b/scripts/remake-test-certificates @@ -0,0 +1,23 @@ +#!/bin/bash + +DCT=$HOME/src/digital_cinema_tools +PRIVATE=$HOME/src/libdcp-test-private + +mkdir work +cd work + +$DCT/make-dc-certificate-chain.rb +CINEMACERTSTORE=. $DCT/cinemaslides --kdm \ + --cpl $PRIVATE/TONEPLATES-SMPTE-ENCRYPTED_TST_F_XX-XX_ITL-TD_51-XX_2K_WOE_20111001_WOE_OV/cpl_eece17de-77e8-4a55-9347-b6bab5724b9f_.xml \ + --target leaf.signed.pem \ + --keysdir $DCT/encryption/content_keys \ + --formulation modified-transitional-1 \ + --start 8 + +mv kdm_*.xml ../../test/data/kdm_TONEPLATES-SMPTE-ENC_.smpte-430-2.ROOT.NOT_FOR_PRODUCTION_20130706_20230702_CAR_OV_t1_8971c838.xml +mv dc-certificate-chain ../../test/data/certificate_chain +mv leaf.key ../../test/data/private.key + +cd .. +rm -rf work + |
