Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to parse license - check protobufs #5

Open
jcronan-slcc opened this issue Aug 27, 2021 · 11 comments
Open

unable to parse license - check protobufs #5

jcronan-slcc opened this issue Aug 27, 2021 · 11 comments

Comments

@jcronan-slcc
Copy link

---------------------------------------------------------------------------------------------------------------------------------------------------
**** NARROWVINE-REBORN by vank0n ****
---------------------------------------------------------------------------------------------------------------------------------------------------
Enter MPD URL:
> https://bitmovin-a.akamaihd.net/content/art-of-motion_drm/mpds/11331.mpd
---------------------------------------------------------------------------------------------------------------------------------------------------
Enter License URL:
> https://cwip-shaka-proxy.appspot.com/no_auth
---------------------------------------------------------------------------------------------------------------------------------------------------
[info] Downloading Encrypted Video from CDN..
[generic] 11331: Requesting header
[generic] 11331: Downloading webpage
[generic] 11331: Extracting information
[info] 11331: Downloading 1 format(s): 1080_4800000
[download] D:\narrowvine\cache\encrypted_video.mp4 has already been downloaded
[info] Downloading Encrypted Audio from CDN..
[generic] 11331: Requesting header
[generic] 11331: Downloading webpage
[generic] 11331: Extracting information
[info] 11331: Downloading 1 format(s): 1_stereo_192000
[download] D:\narrowvine\cache\encrypted_audio.m4a has already been downloaded
---------------------------------------------------------------------------------------------------------------------------------------------------
[info] Attempting Widevine challenge...
[info] Getting Keys...
unable to parse license - check protobufs
[info] Found Key!
Traceback (most recent call last):
  File "D:\narrowvine\narrowvine_reborn.py", line 245, in <module>
    print ("[info] Decrypting Audio Using KEY: " + keysOnly(KEYS))
  File "D:\narrowvine\narrowvine_reborn.py", line 176, in keysOnly
    return key
UnboundLocalError: local variable 'key' referenced before assignment

Hi, when I try to test it with bitmovin drm test, it fails, but the mpd and the shaka license key works on the bitmovin drm test (the original license key are no longer working), it seems the script only works when there's one kid only though

@WHTJEON
Copy link
Owner

WHTJEON commented Aug 27, 2021

Is that the right license url for the Bitmovin demo?

@jcronan-slcc
Copy link
Author

Is that the right license url for the Bitmovin demo?

that licence url works for bitmovin demo when I play it on their site, the original licence url (https://widevine-proxy.appspot.com/proxy) doesn't seem to work anymore, either way, both of them didn't work with the script

@kenzhong0505
Copy link

i have same issue. i using the following to test:

https://www.buydrm.com/multikey-demo

License URL: https://wv-keyos.licensekeyserver.com/

MPD URL: https://d2jl6e4h8300i8.cloudfront.net/netflix_meridian/4k-18.5!9/keyos-logo/g180-avc_a2.0-vbr-aac-128k/r30/dash-wv-pr/stream.mpd

Below the correct values taken from other WV tools
Key: 084fa6fb74e3cd64c4ac6563f5dd54d5
Kid: 31fad910cc3b467ab2dd374a33baddfc

@ank003
Copy link

ank003 commented Aug 28, 2021

i have same issue. i using the following to test:

https://www.buydrm.com/multikey-demo

License URL: https://wv-keyos.licensekeyserver.com/

MPD URL: https://d2jl6e4h8300i8.cloudfront.net/netflix_meridian/4k-18.5!9/keyos-logo/g180-avc_a2.0-vbr-aac-128k/r30/dash-wv-pr/stream.mpd

Below the correct values taken from other WV tools
Key: 084fa6fb74e3cd64c4ac6563f5dd54d5
Kid: 31fad910cc3b467ab2dd374a33baddfc

Bro can anyone please give the link of working widevine tools like key extractor and mpd extractor and From where we will get that licence key bro...?? Anyone please answer this question I'm a beginner bro and i have some tools but not working on specific websites now..

@BondeDK
Copy link

BondeDK commented Aug 31, 2021

The License URL may need a token
Tv2 play denmark has License URL https://lic.drmtoday.com/license-proxy-widevine/cenc/
but it also need at token to work

x-dt-auth-token: eyJhbGciOiJIUzUxMiJ9.eyJvcHREYXRhIjoie1widXNlcklkXCI6XCIyNTlmNzMxNC04YjlkLTRkZjgtYjRiNC1iMzVkN2I0MDRmZGVcIixcIm1lcmNoYW50XCI6XCJ0djJcIixcInNlc3Npb25JZFwiOlwiM2M5MjgwMjUtMjhkNC00NWQ5LTkxNTQtMGJiNDIwY2RmMjZmXCJ9IiwiY3J0IjoiW3tcImFjY291bnRpbmdJZFwiOlwib3ZwLWRybTp2aWRlby1vcmlnaW5cLzEwMDY5MDc2XC8yMDIxMDgzMDE3MTM1NTg0MzViOVwiLFwiYXNzZXRJZFwiOlwidmlkZW8tb3JpZ2luXC8xMDA2OTA3NlwvMjAyMTA4MzAxNzEzNTU4NDM1YjlcIixcInByb2ZpbGVcIjp7XCJyZW50YWxcIjp7XCJhYnNvbHV0ZUV4cGlyYXRpb25cIjpcIjIwMjEtMDktMDFUMDQ6MTU6NDUuNjY0WlwiLFwicGxheUR1cmF0aW9uXCI6ODY0MDAwMDB9fSxcIm91dHB1dFByb3RlY3Rpb25cIjp7XCJkaWdpdGFsXCI6dHJ1ZSxcImFuYWxvZ3VlXCI6dHJ1ZSxcImVuZm9yY2VcIjpmYWxzZX0sXCJzdG9yZUxpY2Vuc2VcIjp0cnVlfV0iLCJpYXQiOjE2MzA0MjY1NDUsImp0aSI6Ik4wMDBNZHJ4RlNYSVcwRzZYaGhaYnc9PSJ9.kf0pN4W8PxA0wPDm7Y3Uk-cqMMmVr2tvwWnvNmncEHtnRgf74Udxxb3YS-RaXAyYw79stYmBBJorzedluVRjDw

This is different from somthing like Viaplay wich gives a License URL and token in on line

https://widevine.entitlement.theplatform.eu/wv/web/ModularDrm/getRawWidevineLicense?schema=1.0&httpError=false&token=8-XDP8xsq_42ieBmFTwwQRAgoIDe0FBu&account=http%3A%2F%2Faccess.auth.theplatform.com%2Fdata%2FAccount%2F2361940180&releasePid=xzHYJLKqAoW_

The Viaplay version work with this script but the TV2Play one doesn't

Maybe adding
license_token = input ('insert License Token : ')

and then add
keys = decrypt(pssh, license_url, license_token)

But im not a 100% sure

@zhjb7
Copy link

zhjb7 commented Sep 3, 2021

Can somebody provide valid mpd url and licence url for test? Thanks.

@anshulgupta5102002
Copy link

anshulgupta5102002 commented Sep 3, 2021 via email

@zhjb7
Copy link

zhjb7 commented Sep 3, 2021

@anshulgupta5102002
Copy link

anshulgupta5102002 commented Sep 3, 2021 via email

@HEROBBB
Copy link

HEROBBB commented Feb 6, 2023

The License URL may need a token Tv2 play denmark has License URL https://lic.drmtoday.com/license-proxy-widevine/cenc/ but it also need at token to work

x-dt-auth-token: eyJhbGciOiJIUzUxMiJ9.eyJvcHREYXRhIjoie1widXNlcklkXCI6XCIyNTlmNzMxNC04YjlkLTRkZjgtYjRiNC1iMzVkN2I0MDRmZGVcIixcIm1lcmNoYW50XCI6XCJ0djJcIixcInNlc3Npb25JZFwiOlwiM2M5MjgwMjUtMjhkNC00NWQ5LTkxNTQtMGJiNDIwY2RmMjZmXCJ9IiwiY3J0IjoiW3tcImFjY291bnRpbmdJZFwiOlwib3ZwLWRybTp2aWRlby1vcmlnaW5cLzEwMDY5MDc2XC8yMDIxMDgzMDE3MTM1NTg0MzViOVwiLFwiYXNzZXRJZFwiOlwidmlkZW8tb3JpZ2luXC8xMDA2OTA3NlwvMjAyMTA4MzAxNzEzNTU4NDM1YjlcIixcInByb2ZpbGVcIjp7XCJyZW50YWxcIjp7XCJhYnNvbHV0ZUV4cGlyYXRpb25cIjpcIjIwMjEtMDktMDFUMDQ6MTU6NDUuNjY0WlwiLFwicGxheUR1cmF0aW9uXCI6ODY0MDAwMDB9fSxcIm91dHB1dFByb3RlY3Rpb25cIjp7XCJkaWdpdGFsXCI6dHJ1ZSxcImFuYWxvZ3VlXCI6dHJ1ZSxcImVuZm9yY2VcIjpmYWxzZX0sXCJzdG9yZUxpY2Vuc2VcIjp0cnVlfV0iLCJpYXQiOjE2MzA0MjY1NDUsImp0aSI6Ik4wMDBNZHJ4RlNYSVcwRzZYaGhaYnc9PSJ9.kf0pN4W8PxA0wPDm7Y3Uk-cqMMmVr2tvwWnvNmncEHtnRgf74Udxxb3YS-RaXAyYw79stYmBBJorzedluVRjDw

This is different from somthing like Viaplay wich gives a License URL and token in on line

https://widevine.entitlement.theplatform.eu/wv/web/ModularDrm/getRawWidevineLicense?schema=1.0&httpError=false&token=8-XDP8xsq_42ieBmFTwwQRAgoIDe0FBu&account=http%3A%2F%2Faccess.auth.theplatform.com%2Fdata%2FAccount%2F2361940180&releasePid=xzHYJLKqAoW_

The Viaplay version work with this script but the TV2Play one doesn't

Maybe adding license_token = input ('insert License Token : ')

and then add keys = decrypt(pssh, license_url, license_token)

But im not a 100% sure

Hi,and do you how to get mpd for tele2 and widevine/licens/ url on Telenor...Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants