You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.
I'm fairly certain my understanding of this is correct, but:
I'm a .NET guy, not PHP. (I am also the Azure expert internally, hence I'm investigating, but we have a PHP backend so we used this SDK)
I don't even know where to begin to try running this to check my suspicion. (I can create new content keys with REST and the .NET SDK.)
I don't know why I'd be the only one broken.
When creating a new content key with a generated KID, $contentKey = new ContentKey() we see here that $this->_id is used for the checksum, except from the constructor, _id includes "nb:kid:UUID:". The .NET and REST documentation show creating this checksum from the Guid, not the entire entity ID as it would be on Azure.
The end result of this is a 500 error when trying to retrieve a FairPlay license. Everything about the key looks right, but the checksum is different than if I calculate it with .NET. Correct the checksum and the 500 error goes away.
The text was updated successfully, but these errors were encountered:
I'm fairly certain my understanding of this is correct, but:
When creating a new content key with a generated KID,
$contentKey = new ContentKey()
we see here that$this->_id
is used for the checksum, except from the constructor,_id
includes "nb:kid:UUID:". The .NET and REST documentation show creating this checksum from the Guid, not the entire entity ID as it would be on Azure.Example
The end result of this is a 500 error when trying to retrieve a FairPlay license. Everything about the key looks right, but the checksum is different than if I calculate it with .NET. Correct the checksum and the 500 error goes away.
The text was updated successfully, but these errors were encountered: