Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Unable to decrypt signature, key length 81 not supported #1026
Comments
|
Experiencing same/similar... $ ./youtube-dl --verbose http://www.youtube.com/watch?v=gR2ny40RQ7A |
|
Thanks to both of you, we'd like to support signature of lenght 81, but until we find a video where we can reproduce it, we cannot fix it. |
|
I forgot to mention that, as the error message says, trying a second time usually works, it's not the best solutions, but we can't do anything. |
|
Looks like mine video went from 83 to 81 ...? Either way, it's always a Vevo issue. Go to youtube.com and search Vevo. I'm assuming it's because we're bypassing Vevo's ad revenue... if you check other youtube apps on iOS -- ALL Vevo videos fail now. :/ [youtube] encrypted signature length 83 (42.40), itag 45, html5 player vflcaqGO8 |
|
@jasonrwalters We know it's for vevo videos, the problem is that we have to find a way to get signatures of these lengths. I've been trying reloading the video webpage and I've only found two signatures of length 81, but (42,38) ! ( I accidentally reload the page, I couldn't try to discover the algo). To detect the signatures length I'm using this bookmarklet: https://gist.github.com/jaimeMF/039134145e38dd9dcec6, it's a modified version of the @FiloSottile's script. If someone wants to try to get some key pairs, go ahead, we'd appreciate. |
|
@jaimeMF, do we need only to paste the output of javascript console ? for me only outputs a list of signatures, i think still encrypted, something like this: |
|
If you find some sigs of length 81 ((42,38) ,(40,40) or something else) copy the output from the javascript console and then the video urls that shown in the web console in Firefox or your favourite browser, but without reloading the page!, like this: We just need a few of this, just make sure that the javascript output and the video url are from the same page load, i.e.: don't reload the page (that's the critical point). |
|
It's little hard to catch the actual link that has the 81 length, i have 40,40 but i found it somehow: 40 40 45359917C910DDDD961FA5D1EC35F115F18181C5 . BA763C1F40FF38747FB824CC2749E5362B0358F1 &signature=159917C910DDDD961FA5D14C35F115F38181C5.BA763C1F40FFE8747FB824CC2749E5362B0358F1& |
|
Get this when I try to download http://www.youtube.com/watch?v=bBfHUrLGzNY |
|
I think I've managed to solve it, all the signatures I've found (3 plus the one provided by @astral2k5) can be decrypted. I haven't been able to test it properly, so if you try to download the format with this signature it may not work, but at least it won't stop the extraction. |
|
For anyone who's not using git: These fixes have been included in our latest version 2013.07.12. Type
to update. |
matlads@martin-pc:Playlist$ youtube-dl 'http://www.youtube.com/watch?v=oR68oAtWY-c&list=RD04ZGoWtY_h4xo'
ERROR: Unable to decrypt signature, key length 81 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.
matlads@martin-pc:Playlist$ youtube-dl -U
youtube-dl is up-to-date (2013.07.10)
matlads@martin-pc:Playlist$ youtube-dl --verbose
[debug] System config: []
[debug] User config: ['--extract-audio', '--audio-format', 'mp3', '--keep-video']
[debug] Command-line args: ['--verbose']
[debug] youtube-dl version 2013.07.10
[debug] Python version 2.7.5+ - Linux-3.9-1-amd64-x86_64-with-debian-jessie-sid
[debug] Proxy map: {}
Usage: youtube-dl [options] url [url...]