Skip to content

ValueError: Ciphertext with incorrect length. #79

@bassamh1977

Description

@bassamh1977

Hello ,
I ran the l3.py eyerything looks good and I get the license_content.bin file but I got this error .

Traceback (most recent call last):
  File "C:\widevine\l3.py", line 130, in <module>
    correct, keys = WV_Function(pssh, lic_url)
  File "C:\widevine\l3.py", line 94, in WV_Function
    wvdecrypt.update_license(license_b64)
  File "C:\widevine\wvdecryptcustom.py", line 58, in update_license
    self.cdm.provide_license(self.session, license_b64)
  File "C:\widevine\cdm\cdm.py", line 285, in provide_license
    session.session_key = oaep_cipher.decrypt(license.SessionKey)
  File "C:\Users\PEO.MAD\AppData\Roaming\Python\Python310\site-packages\Cryptodome\Cipher\PKCS1_OAEP.py", line 167, in decrypt
    raise ValueError("Ciphertext with incorrect length.")
ValueError: Ciphertext with incorrect length.

I don't know how to solve this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions