sheagcraig / MacSesh

Tools for letting the macOS Keychain verify certs for python requests
Other
27 stars 3 forks source link

`urllib3.contrib.securetransport` is deprecated and soon to be no more #7

Open sheagcraig opened 11 months ago

sheagcraig commented 11 months ago

Need to come up with a plan for dealing with the imminent removal of securetransport.

sheagcraig commented 11 months ago

I'm not super eager to maintain urllib3.contrib.securetransport, but I'm likewise not aware of other TLS packages which would allow us to use a func rather than a key file for doing the handshake.

As far as I can tell at this point, the only option here is to copy over at least as much of urllib3 as needed to make this work.

jacktronics commented 11 months ago

maybe using ctypes calling the system curl library ? it has securetransport enabled. I still use MacSesh for my python projects relying on keychain stored certificates but have moved to use libcurl directly for macOS C based projects.