Hi All,
We are working on integrating FairplayStreaming KSM with our key management server.
We followed the programing guide and finished the steps, but are having issues when testing each function with the provided binaries. (we haven't got the deploy package yet.)
We are blocked at the step of decrypting SPC payload from the pre-generated spc.
The previous step to decrypt spc key using the development private key was successful.
But the decrypted key hex value is not matching to what is showing if we use the verify_ckc utility tool to parse the same spc file.
On the other side, there is a file in the package "spc_internal_values_v2.txt". It shows the same SPCK value as what we decrypted.
So which one is correct and what is the proper way to use the pre-gen spc blocks?
And which SPCK should be used to AES128-CBC decrypt the payload from those spc files?
Did we miss something or the provided spc files were just not meant to be parsed? If it's not meant to be parsed, do we have to hard code every pieces of information into our code to test the CKC generation?
It seems a lot of people here have completed the integration. How did you get pass with this?
Suggestions or hints on this would be really appreciated.
Thank you.
Best,
Lu