FeatureFuel
1

Improve supabase-py Proxy and TLS support

Source: supabase/supabase#35590 · opened by @Dramelac
Improve Proxy configuration support When using supabase-py from a network with limited internet access through an outbound proxy there is 2 configurations needed: • Proxy target configuration (ip, port etc) • Trust private CA for TLS communication Regarding the proxy configuration, the current supabase-py support HTTP_PROXY / HTTPS_PROXY configuration but adding a custom CA is a pain because python packages dont trust CA from the OS. I've found a discution with a workaround to add one custom CA to certifi but thats not very user-friendly. TLDR workaround; Within you python venv, you can find the path of the CA bundle of certfi with: python -c "import certifi; print(certifi.where())" And then add your custom CA to the bundle: cat custom_ca.crt >> $(python -c "import certifi; print(certifi.where())") How to improve ? • Supabase-py could support the REQUESTS_CA_BUNDLE environment variable to change the CA bundle (can …

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests