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?
Support our site by donate $5 directly to us Thanks!!!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
		
			+ Reply to Thread
			
		
		
		
			
	
	
				Results 1 to 9 of 9
			
		- 
	Last edited by HORDTHIONZAC; 17th Jun 2023 at 04: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
 Secondly the curl of your license is of a proxy not the license itself.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, 04:35
- 
  WKS-KEYS Giving Wrong Decryption Key?By dimiti in forum Video Streaming DownloadingReplies: 8Last Post: 23rd Nov 2022, 01:44
- 
  Cannot get decryption key from Channel 4...By hedgehog90 in forum Video Streaming DownloadingReplies: 2Last Post: 7th Nov 2022, 07:46
- 
  WKS-KEY help license/widevineBy ahmedani in forum Video Streaming DownloadingReplies: 3Last Post: 12th Jul 2022, 14:21
- 
  How do I get the decryption keyBy Bakekalu in forum Video Streaming DownloadingReplies: 6Last Post: 5th Jul 2021, 02:25


 
		
		 View Profile
				View Profile
			 View Forum Posts
				View Forum Posts
			 Private Message
				Private Message
			 
 
			
			
 Quote
 Quote