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

minitube: new package #8118

Closed
wants to merge 1 commit into from
Closed

minitube: new package #8118

wants to merge 1 commit into from

Conversation

nckx
Copy link
Member

@nckx nckx commented Jun 1, 2015

Minitube is a pretty wrapper around (Phonon/)VLC for watching YouTube videos without having to deal with the human junkyard that is youtube.com.

Unfortunately, it doesn't work:

gnutls tls client error: cannot load trusted Certificate Authorities: An unimplemented or disabled feature has been requested.
gnutls tls session error: Certificate verification failure (0x0042)
gnutls tls session error:  * Certificate not verified
gnutls tls session error:  * Signer not found
core tls session error: TLS client session handshake error
http access error: cannot establish HTTP/TLS session
core input error: open of `https://r2---sn-cxab5jvh-cg06.googlevideo.com/<hilarious_cat_video>' failed
core input error: Your input can't be opened
core input error: VLC is unable to open the MRL 'https://r2---sn-cxab5jvh-cg06.googlevideo.com/<hilarious_cat_video>'. Check the log for details.
gnutls tls client error: cannot load trusted Certificate Authorities: An unimplemented or disabled feature has been requested.
Phonon error: "No active input"  Phonon::NormalError  

Any kind souls with knowledge?

@nckx nckx added 0.kind: question Requests for a specific question to be answered new-package labels Jun 1, 2015
@vcunat
Copy link
Member

vcunat commented Jun 1, 2015

Actually, VLC can also just open youtube URLs, which I do sometimes (also due to performance reasons), and it claims the cert isn't trustworthy. It can be clicked to ignore the problem, but it's annoying nevertheless.

@nckx
Copy link
Member Author

nckx commented Jun 1, 2015

Indeed, when I tried pasting the offending URL into VLC proper I could manually trust the cert. From then on, that particular video also plays fine in Minitube*.

Then I open the next video, and it fails all over again...

* So it must be something stateful I can hack around. I just don't know where to start.

@vcunat
Copy link
Member

vcunat commented Jun 1, 2015

I believe some package in the stack isn't directed to our cert location, $SSL_CERT_FILE (I think).

@vcunat
Copy link
Member

vcunat commented Jun 1, 2015

I'd think gnutls is the place to patch.

@vcunat
Copy link
Member

vcunat commented Jun 1, 2015

I'll try a solution and file a PR changing our gnutls (to discuss possible alternative solutions).

@nckx
Copy link
Member Author

nckx commented Jun 1, 2015

Awesome! Looking forward to it.

vcunat added a commit to vcunat/nixpkgs that referenced this pull request Jun 1, 2015
This is a fast fix; it might be best to use $SSL_CERT_FILE.
Tested on vlc with youtube https URLs.
Discussed also on NixOS#8118.
@vcunat
Copy link
Member

vcunat commented Jun 1, 2015

Done #8121. It's rather a mass rebuild, unfortunately.

@vcunat vcunat changed the title TLS handshake error with YouTube certificate in Phonon/VLC/gnutls minitube: new package Jun 9, 2015
@vcunat vcunat removed the 0.kind: question Requests for a specific question to be answered label Jun 9, 2015
vcunat added a commit that referenced this pull request Jun 9, 2015
This is a fast fix; it might be best to use $SSL_CERT_FILE.
Tested on vlc with youtube https URLs.
Discussed also on #8118. Feel free to discuss further improvements on #8247.
nckx added a commit that referenced this pull request Jun 9, 2015
@vcunat
Copy link
Member

vcunat commented Jun 9, 2015

Pushed to staging, as reasonable usage depends on 651e83a.

@vcunat vcunat closed this Jun 9, 2015
@nckx
Copy link
Member Author

nckx commented Jun 9, 2015

Thank you!

@nckx nckx deleted the add-minitube branch June 9, 2015 18:20
@vcunat
Copy link
Member

vcunat commented Jun 9, 2015

Thanks for a nice package :-) though I slightly miss the configurability of vlc.

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

Successfully merging this pull request may close these issues.

2 participants