]> git.ipfire.org Git - thirdparty/httpx.git/commit
Support client cert passwords, new TLS options (#118)
authorSeth Michael Larson <sethmichaellarson@gmail.com>
Tue, 16 Jul 2019 09:08:57 +0000 (04:08 -0500)
committerTom Christie <tom@tomchristie.com>
Tue, 16 Jul 2019 09:08:57 +0000 (10:08 +0100)
commitba83e29aee162c16b3ba8e4ee0629e88bf4ecaeb
tree5f5adcf1a148a5d4140fd1cc1470e314fe9b408e
parent5442006a41f94a3e41186910d7a6e8546adf0f89
Support client cert passwords, new TLS options (#118)

* Support client cert passwords, new TLS options

* Update test_config.py

* Switch to try-except for post_handshake_auth=True

SSLContext.post_handshake_auth raises AttributeError if the property is available but cannot be written to (needs OpenSSL 1.1.1+)

* Also try-except for hostname_checks_common_name=False

* Custom implementation of trustme.CA() that emits encrypted PKs

* lint

* Split name of test

* Updates from review comments

* Don't load default CAs yet
http3/config.py
requirements.txt
tests/conftest.py
tests/test_config.py