So, I'm testing WKS-KEY program to get decryption key for Bitmovin DRM demo. I have this key:
When trying to run program, it gives me an error:Code:eb676abbcb345e96bbcf616630f1a3da:100b6c20940f779a4589152b57d2dacb
I have extracted CDM from Android Studio, and edited l3.py and getPSSH.py files.Code:ERROR:cdm.cdm:unable to parse license - check protobufs
Any solutions?
+ Reply to Thread
Results 1 to 9 of 9
-
Last edited by HORDTHIONZAC; 17th Jun 2023 at 03:44. Reason: device information removed
-
Too much information. And what you have posted includes all the details needed for a CDN to ban your CDM. I would remove it and remove your link to files!
Secondly. You are using a modified l3.py with all sorts of crap in it. For proving your CDM working at bitmovin' just use a straight l3.py
Code:# -*- coding: utf-8 -*- # Module: KEYS-L3 # Created on: 11-10-2021 # Authors: -∞WKS∞- # Version: 1.1.0 ''' import base64, requests, sys, xmltodict import headers from pywidevine.L3.cdm import cdm, deviceconfig from base64 import b64encode from pywidevine.L3.getPSSH import get_pssh from pywidevine.L3.decrypt.wvdecryptcustom import WvDecrypt ''' import base64, requests, sys, xmltodict import headers #import cookies import json from cdm import cdm, deviceconfig from base64 import b64encode from getPSSH import get_pssh from wvdecryptcustom import WvDecrypt from cdm.formats import wv_proto2_pb2 as wv_proto2 pssh = input('\nPSSH: ') lic_url = input('License URL: ') def WV_Function(pssh, lic_url, cert_b64=None): wvdecrypt = WvDecrypt(init_data_b64=pssh, cert_data_b64=cert_b64, device=deviceconfig.device_android_generic) widevine_license = requests.post(url=lic_url, data=wvdecrypt.get_challenge(), headers=headers.headers) license_b64 = b64encode(widevine_license.content) wvdecrypt.update_license(license_b64) Correct, keyswvdecrypt = wvdecrypt.start_process() if Correct: return Correct, keyswvdecrypt correct, keys = WV_Function(pssh, lic_url) print() for key in keys: print('--key ' + key)
Thirdly, the good news is your CDM works.
[Attachment 71758 - Click to enlarge]
Fourthly, bad news, you've posted your whole CDM for the World to download. I have just used it and now can everyone else. -
-
I downloaded wks-key from github: https://github.com/larsk2/kks
There is so many useless information, that gives me an error.
Thank you for l3.py fixed program!
Similar Threads
-
I don't get key with wks-key.
By Brift_Bv in forum Video Streaming DownloadingReplies: 34Last Post: 18th Nov 2023, 03:35 -
WKS-KEYS Giving Wrong Decryption Key?
By dimiti in forum Video Streaming DownloadingReplies: 8Last Post: 23rd Nov 2022, 00:44 -
Cannot get decryption key from Channel 4...
By hedgehog90 in forum Video Streaming DownloadingReplies: 2Last Post: 7th Nov 2022, 06:46 -
WKS-KEY help license/widevine
By ahmedani in forum Video Streaming DownloadingReplies: 3Last Post: 12th Jul 2022, 13:21 -
How do I get the decryption key
By Bakekalu in forum Video Streaming DownloadingReplies: 6Last Post: 5th Jul 2021, 01:25