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

ERROR: Unable to decrypt signature, subkeys lengths not valid; #920

Closed
notbandali opened this issue Jun 24, 2013 · 18 comments
Closed

ERROR: Unable to decrypt signature, subkeys lengths not valid; #920

notbandali opened this issue Jun 24, 2013 · 18 comments

Comments

@notbandali
Copy link

@notbandali notbandali commented Jun 24, 2013

Hi.

I'm using youtube-dl on Arch linux and I updated it to the latest version available on the community repo at the time (youtube-dl 2013.06.29-1). It fixed the errors that were related to python modules, but this is the new error that I'm getting:

ERROR: Unable to decrypt signature, subkeys lengths not valid; please report this issue on GitHub.
youtube-dl_error

@notbandali
Copy link
Author

@notbandali notbandali commented Jun 24, 2013

Never mind, just closed the terminal and opened another one now apparently it's working. I don't know what exactly happened or why exactly that error was produced. Does closing and re-opening the terminal generate any sort of "signature or subkey length"?

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jun 24, 2013

Thanks for reporting, it has happened the same thing to me: the first time it fails but the seconds it can be downloaded.
For other report, it's better to post the output as text (we can easily copy the url and test).
The url that fails is http://www.youtube.com/watch?v=tg00YEETFzg

Currently we have only dicovered how to use the signature if it has an specific size, if we find videos where we can reproduce other sizes, we'll try to implement it.
If your want more info about that issues see #897.

@jojopi
Copy link

@jojopi jojopi commented Jun 24, 2013

http://youtube.com/watch?v=doXH-i5qeck, and most of the videos on that channel, are consistently giving me s lengths of anything but 43.43. I am not sure what countries these are available in, though.

@devwout
Copy link

@devwout devwout commented Jun 24, 2013

http://www.youtube.com/watch?v=WbhJYIDKj6o

[youtube] Setting language
[youtube] WbhJYIDKj6o: Downloading video webpage
[youtube] WbhJYIDKj6o: Downloading video info webpage
[youtube] WbhJYIDKj6o: Extracting video information
[youtube] WbhJYIDKj6o: Vevo video detected.
ERROR: Unable to decrypt signature, subkeys lengths not valid; please report this issue on GitHub.

Edit: tried this a second time and it works now...

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jun 24, 2013

@jojopi Thanks, I can reproduce, that's slightly related, I'll have a look.

jaimeMF added a commit that referenced this issue Jun 24, 2013
…e 's' field in the url_encoded_fmt_stream_map (related #920)
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jun 24, 2013

@jojopi Thanks, these videos are fixed now.
@devwout Thanks, if you find any video that raises that error more than once, please post it here.

@shuLhan
Copy link

@shuLhan shuLhan commented Jun 25, 2013

I believe this one fails too : http://www.youtube.com/watch?v=Ckr4r41Wuk0

Edit: version 7ce7e39.

@FiloSottile
Copy link
Collaborator

@FiloSottile FiloSottile commented Jun 25, 2013

UxxajLWwzqY failed for me just once with

ExtractorError: Unable to decrypt signature, subkeys lengths not valid; please report this issue on GitHub.
@FiloSottile
Copy link
Collaborator

@FiloSottile FiloSottile commented Jun 25, 2013

I'm trying hard to get a non-43 length s in the browser, but I seem not to be able to.

I'm using this bookmarklet to check, if anyone want to try

javascript:var rx = new RegExp("[,&]s=([0-9A-F]+)\.([0-9A-F]+)", "g"); while((match = rx.exec(ytplayer.config.args.url_encoded_fmt_stream_map)) !== null){ console.log(match[1].length, match[2].length); }

Might try to automate this.

@msliczniak
Copy link

@msliczniak msliczniak commented Jun 25, 2013

This one gives error consistently for me: http://www.youtube.com/watch?v=M82OAUouEUQ

Also this: #926

@FiloSottile
Copy link
Collaborator

@FiloSottile FiloSottile commented Jun 25, 2013

It works for me. This is going to be a pain to test.

@msliczniak
Copy link

@msliczniak msliczniak commented Jun 25, 2013

2013.06.32 seems to fix v=M82OAUouEUQ #926 (comment)

@LAP2008
Copy link

@LAP2008 LAP2008 commented Jun 26, 2013

I have have a channel where you cant download any videos from http://www.youtube.com/user/LOENENT
issue #930 with screenshots if anyone can help that would be great :)

(Problem exists with the 06.33 update)

@tkazec
Copy link

@tkazec tkazec commented Jun 27, 2013

Can confirm the LOENENT issue, on .30-.33 this video gives 100% failure rate: http://www.youtube.com/watch?v=yCSfaHeIinE

@Baril27
Copy link

@Baril27 Baril27 commented Jun 27, 2013

Getting error "Unable to decrypt signature, subkeys lengths 42.43 not supported; retrying might work;" with version (2013.06.33) and url http://www.youtube.com/watch?v=x_PrT25o8Vs

@Huarong
Copy link
Contributor

@Huarong Huarong commented Jun 27, 2013

Fail with many attempts.

url: http://www.youtube.com/watch?v=9gDFzmlW5J8
version: 2013.6.33

$ youtube-dl "http://www.youtube.com/watch?v=9gDFzmlW5J8"
[youtube] Setting language
[youtube] 9gDFzmlW5J8: Downloading video webpage
[youtube] 9gDFzmlW5J8: Downloading video info webpage
[youtube] 9gDFzmlW5J8: Extracting video information
[youtube] 9gDFzmlW5J8: Encrypted signatures detected.
ERROR: Unable to decrypt signature, subkeys lengths 42.43 not supported; retrying might work; please report this issue on http://yt-dl.org/bug

@phihag
Copy link
Contributor

@phihag phihag commented Jun 27, 2013

http://www.youtube.com/watch?v=9gDFzmlW5J8" (@Huarong) and http://www.youtube.com/watch?v=yCSfaHeIinE (@tkazec) work fine for me with youtube-dl v2013.06.34. You can update with

sudo youtube-dl -U

See #948 for the big picture.

@phihag phihag closed this Jun 27, 2013
@Huarong
Copy link
Contributor

@Huarong Huarong commented Jun 28, 2013

@phihag That works. Thank you.

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
You can’t perform that action at this time.