8000 Enabling SSL for python3.5 using crystax · Issue #705 · kivy/python-for-android · GitHub
[go: up one dir, main page]

Skip to content

Enabling SSL for python3.5 using crystax #705

@emillynge

Description

@emillynge

Hi

I have just spend a full day solving a problem with accessing HTTPS sites on android. I finally figured out the problem:

Almost all http libraries in python relies on the ssl.py module in the standard library. This module is uses a C-extension _ssl.so that must be "baked in" with the cpython interpreter at compilation.
The crystax android ndk however does not do this by default however, and so reaching any https site is not possible. For the novice programmer it is, in no way obvious why ssl.py cannot be imported, so I would propose that somewhere in the documentation, it is described how to recompile the crystax python interpreter with ssl support from the crystax-ndk.

I would gladly write this, but where would it be appropriate to put it in the docs?

Regards
Emil Lynge

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0