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

Does not support SNI #25

Open
danielcherubini opened this issue Apr 5, 2015 · 2 comments
Open

Does not support SNI #25

danielcherubini opened this issue Apr 5, 2015 · 2 comments

Comments

@danielcherubini
Copy link

Hey

So according to this
dlundquist/sniproxy#153

python < 2.7.9 does not support sni, which is what a few unblockers like mine use to get around geofences..

would it be possible to upgrade python and support sni, or do you want me to do it and issue a pull request

@andrewleech
Copy link
Owner

We can't upgrade python as such, as it's built into kodi. It basically requires a few python modules and a binary copy of openssl.
I think the easiest would be to put local copies of all the required modules (as listed on the stackexchange page) in a folder in the plugin, as well as new enough copy of openssl binary for a few platforms in another folder and put the right folder into the part before importing the modules.
I don't really have time for it now, by all means give it a go, hopefully you can find a less hacky way to fix it?

andrewleech added a commit that referenced this issue Apr 13, 2015
@andrewleech
Copy link
Owner

Commit 1114699 adds the first functioning framework to address this issue, and appears to be working fine on my OSX 10.10 development machine.
Each platform will need a binary pyOpenSSL python module added, instructions for how to do this are in resources/lib/pyOpenSSL/init.py

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

No branches or pull requests

2 participants