Go to file
TPD94 6ff4fbf48b Update README.md 2023-12-27 00:18:10 +00:00
README.md Update README.md 2023-12-27 00:18:10 +00:00


Obtaining decryption keys for generic services (no headers, no auth)


Download and extracted TPD-Keys

Working CDM

EME Logger Script (installed on Tampermonkey add-on) will give you init data. That's your PSSH. This can be found on Developer Tools (ctrl + shift + c) > Console, in the filter bar search for MediaKeySession::generateRequest you will find Init Data.

Obtaining Keys

Open a new command prompt as administrator and change directories to TPD-Keys

Open Firefox or Chrome and navigate back to https://bitmovin.com/demos/drm and open web devoloper tools (ctrl+shift+c) and click on the network tab

In the Console tab filter bar, search for MediaKeySession::generateRequest

Play the video on the site

You should now have one result for the PSSH AAAAW3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAADsIARIQ62dqu8s0Xpa7z2FmMPGj2hoNd2lkZXZpbmVfdGVzdCIQZmtqM2xqYVNkZmFsa3IzaioCSEQyAA== Paste this somewhere safe.

click on the network tab, then in the filter urls type in method:POST and under the domain look for the licensing server, in this case it's https://cwip-shaka-proxy.appspot.com/no_auth right click on this value and copy value -> copy URL and paste this somewhere safe.

Now we have everything we need, let's go ahead and run tpd-keys with python tpd-keys.py, Select option 1 for Generic without any headers

For PSSH enter AAAAW3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAADsIARIQ62dqu8s0Xpa7z2FmMPGj2hoNd2lkZXZpbmVfdGVzdCIQZmtqM2xqYVNkZmFsa3IzaioCSEQyAA==

for license URL enter https://cwip-shaka-proxy.appspot.com/

Decide if you want to use a proxy or not.

Your result should be

Decryption keys:

And there you have it! decryption keys for all versions of the video and one for the audio.