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 decrypt signature length 93 #1461

Closed
ghost opened this issue Sep 19, 2013 · 7 comments
Closed

Unable to decrypt signature length 93 #1461

ghost opened this issue Sep 19, 2013 · 7 comments

Comments

@ghost
Copy link

@ghost ghost commented Sep 19, 2013

deploy@dos:$ youtube-dl -U
youtube-dl is up-to-date (2013.09.17)
deploy@dos:
$ youtube-dl http://www.youtube.com/watch?v=g_aMmSWd9M8 --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://www.youtube.com/watch?v=g_aMmSWd9M8', '--verbose']
[debug] youtube-dl version 2013.09.17
[debug] Python version 2.7.3 - Linux-3.2.0-24-virtual-i686-with-Ubuntu-12.04-precise
[debug] Proxy map: {}
[youtube] Setting language
[youtube] g_aMmSWd9M8: Downloading video webpage
[youtube] g_aMmSWd9M8: Downloading video info webpage
[youtube] g_aMmSWd9M8: Extracting video information
[youtube] g_aMmSWd9M8: Encrypted signatures detected.
[youtube] encrypted signature length 93 (46.46), itag 43, html5 player vfl79wBKW
ERROR: Unable to decrypt signature, key length 93 not supported; retrying might work; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 321, in extract_info
ie_result = ie.extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 103, in extract
return self._real_extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 800, in _real_extract
signature = self._decrypt_signature(encrypted_sig)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 447, in _decrypt_signature
raise ExtractorError(u'Unable to decrypt signature, key length %d not supported; retrying might work' % (len(s)))

@trammel
Copy link

@trammel trammel commented Sep 19, 2013

Same issue...

~/git/rg3-youtube-dl/youtube-dl --verbose 'http://www.youtube.com/watch?v=V_nC4IGAkH8'
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.youtube.com/watch?v=V_nC4IGAkH8']
[debug] youtube-dl version 2013.09.17
[debug] Python version 2.7.2 - Darwin-12.5.0-x86_64-i386-64bit
[debug] Proxy map: {}
[youtube] Setting language
[youtube] V_nC4IGAkH8: Downloading video webpage
[youtube] V_nC4IGAkH8: Downloading video info webpage
[youtube] V_nC4IGAkH8: Extracting video information
[youtube] V_nC4IGAkH8: Encrypted signatures detected.
[youtube] encrypted signature length 93 (46.46), itag 46, html5 player vfl79wBKW
ERROR: Unable to decrypt signature, key length 93 not supported; retrying might work; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/Users/default/git/rg3-youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 321, in extract_info
ie_result = ie.extract(url)
File "/Users/default/git/rg3-youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 103, in extract
return self._real_extract(url)
File "/Users/default/git/rg3-youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 800, in _real_extract
signature = self._decrypt_signature(encrypted_sig)
File "/Users/default/git/rg3-youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 447, in _decrypt_signature
raise ExtractorError(u'Unable to decrypt signature, key length %d not supported; retrying might work' % (len(s)))
ExtractorError: Unable to decrypt signature, key length 93 not supported; retrying might work; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.

@deiucanta
Copy link

@deiucanta deiucanta commented Sep 19, 2013

Same issue here. Also for length 91.

@creol
Copy link

@creol creol commented Sep 20, 2013

youtube-dl http://www.youtube.com/watch?v=cmSbXsFE3l8 --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://www.youtube.com/watch?v=cmSbXsFE3l8', '--verbose']
[debug] youtube-dl version 2013.09.17
[debug] Python version 2.7.4 - Linux-3.8.0-30-generic-x86_64-with-Ubuntu-13.04-raring
[debug] Proxy map: {}
[youtube] Setting language
[youtube] cmSbXsFE3l8: Downloading video webpage
[youtube] cmSbXsFE3l8: Downloading video info webpage
[youtube] cmSbXsFE3l8: Extracting video information
[youtube] cmSbXsFE3l8: Encrypted signatures detected.
[youtube] encrypted signature length 93 (46.46), itag 46, html5 player vfl79wBKW
ERROR: Unable to decrypt signature, key length 93 not supported; retrying might work; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 321, in extract_info
ie_result = ie.extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 103, in extract
return self._real_extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 800, in _real_extract
signature = self._decrypt_signature(encrypted_sig)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 447, in _decrypt_signature
raise ExtractorError(u'Unable to decrypt signature, key length %d not supported; retrying might work' % (len(s)))
ExtractorError: Unable to decrypt signature, key length 93 not supported; retrying might work; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.

@mikeygao
Copy link

@mikeygao mikeygao commented Sep 20, 2013

As usual, they will change the signature every Thursday afternoon or night!

@patrickslin
Copy link
Contributor

@patrickslin patrickslin commented Sep 20, 2013

new sig len 93 algo:

python:
s[86:29:-1] + s[88] + s[28:5:-1]

javascript:
s.slice(30, 87).reverse().join('') + s[88] + s.slice(6, 29).reverse().join('')

@jaimeMF jaimeMF closed this in bc4b900 Sep 20, 2013
jaimeMF added a commit that referenced this issue Sep 20, 2013
Unable to decrypt signature length 93 (fixes #1461)
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Sep 20, 2013

Fixed by @patrickslin , thanks for the report!

@mikeygao
Copy link

@mikeygao mikeygao commented Sep 20, 2013

Thank you very much!

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

Successfully merging a pull request may close this issue.

None yet
6 participants
You can’t perform that action at this time.