python-zulip-api icon indicating copy to clipboard operation
python-zulip-api copied to clipboard

Cert Bundle might also be a directory

Open e7p opened this issue 3 years ago • 1 comments

When using the requests API with the certificate parameter, it is also possible to enter e.g. /etc/ssl/certs as a certificate bundle and it will result in verifying against all certificates lying in this path.

Though, I would recommend also including os.path.isdir() in the statement.

https://github.com/zulip/python-zulip-api/blob/e6dff1b5b6a9c6851d6c6699c2c52f345a4f486e/zulip/zulip/init.py#L492

e7p avatar Mar 09 '22 10:03 e7p

Can be linked to #749

e7p avatar Mar 09 '22 12:03 e7p