jabledl icon indicating copy to clipboard operation
jabledl copied to clipboard

I found that error for decrypting AES stats

Open dreamrelax opened this issue 4 years ago • 3 comments

Enter a Jable video url : https://jable.tv/videos/mide-736/

[INFO] 2021-09-11 12:52:34 [INFO] Collecting video informations ... [INFO] Downloading ...: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████| 2255/2255 [1:26:24<00:00, 2.30s/it] [INFO] Decrypting AES from M3U8 segments ... Traceback (most recent call last): File "/usr/bin/jabledl", line 33, in sys.exit(load_entry_point('jabledl==1.0.0', 'console_scripts', 'jabledl')()) File "/usr/lib/python3.9/site-packages/jabledl-1.0.0-py3.9.egg/jabledl/jabledl.py", line 47, in main File "/usr/lib/python3.9/site-packages/jabledl-1.0.0-py3.9.egg/jabledl/segments.py", line 17, in decrypt File "/usr/lib/python3.9/site-packages/Crypto/Cipher/_mode_cbc.py", line 246, in decrypt ValueError: Data must be padded to 16 byte boundary in CBC mode

dreamrelax avatar Sep 11 '21 14:09 dreamrelax

Enter a Jable video url : https://jable.tv/videos/mide-736/

[INFO] 2021-09-11 12:52:34 [INFO] Collecting video informations ... [INFO] Downloading ...: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████| 2255/2255 [1:26:24<00:00, 2.30s/it] [INFO] Decrypting AES from M3U8 segments ... Traceback (most recent call last): File "/usr/bin/jabledl", line 33, in sys.exit(load_entry_point('jabledl==1.0.0', 'console_scripts', 'jabledl')()) File "/usr/lib/python3.9/site-packages/jabledl-1.0.0-py3.9.egg/jabledl/jabledl.py", line 47, in main File "/usr/lib/python3.9/site-packages/jabledl-1.0.0-py3.9.egg/jabledl/segments.py", line 17, in decrypt File "/usr/lib/python3.9/site-packages/Crypto/Cipher/_mode_cbc.py", line 246, in decrypt ValueError: Data must be padded to 16 byte boundary in CBC mode

It works on my machine with the same url.

I guess you have a low version of "cryptography" library, you could upgrade to fix the error.

Yooootsuba avatar Sep 11 '21 16:09 Yooootsuba

Thanks for your suggestion. I will upgrade "cryptography" library and try again. Could I understand your "cryptography" library version?

dreamrelax avatar Sep 12 '21 05:09 dreamrelax

Thanks for your suggestion. I will upgrade "cryptography" library and try again. Could I understand your "cryptography" library version?

In mine is 3.3.2, you can get yours by the following command :

pip3 list | grep cryptography

Yooootsuba avatar Sep 12 '21 09:09 Yooootsuba