astral-sh / uv

An extremely fast Python package and project manager, written in Rust.
https://docs.astral.sh/uv
Apache License 2.0
21.86k stars 642 forks source link

Support passing `--cert` and setting `cert` in `uv.toml` #6715

Open kohlrabi opened 1 month ago

kohlrabi commented 1 month ago

With the merge of #6591 it is now possible to trust hosts to disable certificate verification, but compared to pip the "other way" around, providing a valid cert, is still a bit a bit lacking. I know it's currently possible to set a path to a cert file using SSL_CERT_FILE, but I think it would be more in line with pip and more consistent if --cert CERTFILE could be passed on the command line, and uv.toml got an option to set the cert file as well.

samypr100 commented 1 month ago

Possible dupe of https://github.com/astral-sh/uv/issues/6572