proxy.py/tests
Abhinav Singh 50046d3f68
TLS intercept self-signed servers using `--insecure-tls-interception` (#1446)
* Disable mandatory TLS verification with --insecure

* Fix lint issues

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix type issues with `cert_der_to_dict`

* Flake8 exception

* Fix `cert_der_to_dict` where file may not be writter before it is gets used by `_test_decode_cert`

* Silence lint issue due to pylint bug

* Rename flag to `--insecure-tls-interception`

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Reuse `DEFAULT_SSL_CONTEXT_OPTIONS`

* # noqa: WPS436

---------

Co-authored-by: d4x <d_4xfe@proton.me>
Co-authored-by: d4xfe <168460626+d4xfe@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-08-10 12:12:55 +05:30
..
certificates TLS intercept self-signed servers using `--insecure-tls-interception` (#1446) 2024-08-10 12:12:55 +05:30
common Update project test dependencies to ensure green workflow (#1371) 2024-04-11 13:04:10 +05:30
core Support --hostnames (#1325) 2023-04-17 09:42:18 +05:30
dashboard Test Dashboard backend (#206) 2019-11-30 22:54:20 -08:00
http TLS intercept self-signed servers using `--insecure-tls-interception` (#1446) 2024-08-10 12:12:55 +05:30
integration Update project test dependencies to ensure green workflow (#1371) 2024-04-11 13:04:10 +05:30
plugin TLS intercept self-signed servers using `--insecure-tls-interception` (#1446) 2024-08-10 12:12:55 +05:30
socks Support --hostnames (#1325) 2023-04-17 09:42:18 +05:30
testing [Windows] Remove `--threadless` from `TestCase` (#1025) 2022-01-20 20:58:42 +05:30
__init__.py `isort` everything except lib (for now) (#952) 2022-01-10 13:28:22 +05:30
test_assertions.py Async `get_events`, `handle_event`, `handle_readables`, `handle_writables` (#769) 2021-11-23 15:02:00 +05:30
test_circular_imports.py Handle `SIGINFO`. Try `kill -s INFO <pid>`. (#1024) 2022-01-20 23:54:44 +05:30
test_main.py SSH handler/listener plugins (#1398) 2024-04-24 15:13:14 +05:30
test_set_open_file_limit.py `isort` everything except lib (for now) (#952) 2022-01-10 13:28:22 +05:30