diff --git a/poetry.lock b/poetry.lock index ad91e4f..007dd08 100644 --- a/poetry.lock +++ b/poetry.lock @@ -9,14 +9,6 @@ python-versions = ">=3.7" [package.extras] tests = ["mypy (>=0.800)", "pytest-asyncio", "pytest"] -[[package]] -name = "blinker" -version = "1.4" -description = "Fast, simple object-to-object and broadcast signaling" -category = "main" -optional = false -python-versions = "*" - [[package]] name = "brotli" version = "1.0.9" @@ -27,7 +19,7 @@ python-versions = "*" [[package]] name = "certifi" -version = "2022.6.15" +version = "2022.9.24" description = "Python package for providing Mozilla's CA Bundle." category = "main" optional = false @@ -57,15 +49,15 @@ colorama = {version = "*", markers = "platform_system == \"Windows\""} [[package]] name = "colorama" -version = "0.4.5" +version = "0.4.6" description = "Cross-platform colored terminal text." category = "main" optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7" [[package]] name = "cryptography" -version = "37.0.4" +version = "38.0.4" description = "cryptography is a package which provides cryptographic recipes and primitives to Python developers." category = "main" optional = false @@ -78,13 +70,13 @@ cffi = ">=1.12" docs = ["sphinx (>=1.6.5,!=1.8.0,!=3.1.0,!=3.1.1)", "sphinx-rtd-theme"] docstest = ["pyenchant (>=1.6.11)", "twine (>=1.12.0)", "sphinxcontrib-spelling (>=4.0.1)"] pep8test = ["black", "flake8", "flake8-import-order", "pep8-naming"] -sdist = ["setuptools_rust (>=0.11.4)"] +sdist = ["setuptools-rust (>=0.11.4)"] ssh = ["bcrypt (>=3.1.5)"] test = ["pytest (>=6.2.0)", "pytest-benchmark", "pytest-cov", "pytest-subtests", "pytest-xdist", "pretend", "iso8601", "pytz", "hypothesis (>=1.11.4,!=3.79.2)"] [[package]] name = "flask" -version = "2.1.3" +version = "2.2.2" description = "A simple framework for building complex web applications." category = "main" optional = false @@ -95,19 +87,19 @@ click = ">=8.0" importlib-metadata = {version = ">=3.6.0", markers = "python_version < \"3.10\""} itsdangerous = ">=2.0" Jinja2 = ">=3.0" -Werkzeug = ">=2.0" +Werkzeug = ">=2.2.2" [package.extras] -dotenv = ["python-dotenv"] async = ["asgiref (>=3.2)"] +dotenv = ["python-dotenv"] [[package]] name = "h11" -version = "0.13.0" +version = "0.14.0" description = "A pure-Python, bring-your-own-I/O implementation of HTTP/1.1" category = "main" optional = false -python-versions = ">=3.6" +python-versions = ">=3.7" [[package]] name = "h2" @@ -139,7 +131,7 @@ python-versions = ">=3.6.1" [[package]] name = "importlib-metadata" -version = "4.12.0" +version = "5.1.0" description = "Read metadata from Python packages" category = "main" optional = false @@ -149,9 +141,9 @@ python-versions = ">=3.7" zipp = ">=0.5" [package.extras] -testing = ["importlib-resources (>=1.3)", "pytest-mypy (>=0.9.1)", "pytest-black (>=0.3.7)", "pytest-perf (>=0.9.2)", "flufl.flake8", "pyfakefs", "packaging", "pytest-enabler (>=1.3)", "pytest-cov", "pytest-flake8", "pytest-checkdocs (>=2.4)", "pytest (>=6)"] +docs = ["sphinx (>=3.5)", "jaraco.packaging (>=9)", "rst.linker (>=1.9)", "furo", "jaraco.tidelift (>=1.4)"] perf = ["ipython"] -docs = ["rst.linker (>=1.9)", "jaraco.packaging (>=9)", "sphinx"] +testing = ["pytest (>=6)", "pytest-checkdocs (>=2.4)", "flake8 (<5)", "pytest-cov", "pytest-enabler (>=1.3)", "packaging", "pyfakefs", "flufl.flake8", "pytest-perf (>=0.9.2)", "pytest-black (>=0.3.7)", "pytest-mypy (>=0.9.1)", "pytest-flake8", "importlib-resources (>=1.3)"] [[package]] name = "itsdangerous" @@ -177,8 +169,8 @@ i18n = ["Babel (>=2.7)"] [[package]] name = "json-stream" -version = "1.4.0" -description = "Streaming JSON decoder" +version = "1.5.2" +description = "Streaming JSON encoder and decoder" category = "main" optional = false python-versions = "<4,>=3.5" @@ -188,7 +180,7 @@ requests = ["requests"] [[package]] name = "kaitaistruct" -version = "0.9" +version = "0.10" description = "Kaitai Struct declarative parser generator for binary data: runtime library for Python" category = "main" optional = false @@ -215,7 +207,7 @@ python-versions = ">=3.7" [[package]] name = "mitmproxy" -version = "8.1.1" +version = "9.0.1" description = "An interactive, SSL/TLS-capable intercepting proxy for HTTP/1, HTTP/2, and WebSockets." category = "main" optional = false @@ -223,33 +215,42 @@ python-versions = ">=3.9" [package.dependencies] asgiref = ">=3.2.10,<3.6" -blinker = ">=1.4,<1.5" Brotli = ">=1.0,<1.1" certifi = ">=2019.9.11" -cryptography = ">=36,<38" -flask = ">=1.1.1,<2.2" -h11 = ">=0.11,<0.14" +cryptography = ">=38.0,<38.1" +flask = ">=1.1.1,<2.3" +h11 = ">=0.11,<0.15" h2 = ">=4.1,<5" hyperframe = ">=6.0,<7" -kaitaistruct = ">=0.7,<0.10" +kaitaistruct = ">=0.10,<0.11" ldap3 = ">=2.8,<2.10" +mitmproxy-wireguard = ">=0.1.6,<0.2" msgpack = ">=1.0.0,<1.1.0" passlib = ">=1.6.5,<1.8" protobuf = ">=3.14,<5" publicsuffix2 = ">=2.20190812,<3" pydivert = {version = ">=2.0.3,<2.2", markers = "sys_platform == \"win32\""} -pyOpenSSL = ">=21.0,<22.1" +pyOpenSSL = ">=22.1,<22.2" pyparsing = ">=2.4.2,<3.1" pyperclip = ">=1.6.0,<1.9" "ruamel.yaml" = ">=0.16,<0.18" sortedcontainers = ">=2.3,<2.5" tornado = ">=6.1,<7" +typing-extensions = {version = ">=4.3,<4.5", markers = "python_version < \"3.10\""} urwid = ">=2.1.1,<2.2" -wsproto = ">=1.0,<1.2" -zstandard = ">=0.11,<0.19" +wsproto = ">=1.0,<1.3" +zstandard = ">=0.11,<0.20" [package.extras] -dev = ["wheel (>=0.36.2,<0.38)", "tox (>=3.5,<4)", "requests (>=2.9.1,<3)", "pytest (>=6.1.0,<8)", "pytest-xdist (>=2.1.0,<3)", "pytest-timeout (>=1.3.3,<2.2)", "pytest-cov (>=2.7.1,<3.1)", "pytest-asyncio (>=0.17.0,<0.19)", "pyinstaller (==5.1)", "pdoc (>=4.0.0)", "parver (>=0.1,<2.0)", "hypothesis (>=5.8,<7)", "click (>=7.0,<8.2)"] +dev = ["click (>=7.0,<8.2)", "hypothesis (>=5.8,<7)", "parver (>=0.1,<2.0)", "pdoc (>=4.0.0)", "pyinstaller (==5.6.2)", "pytest-asyncio (>=0.17,<0.21)", "pytest-cov (>=2.7.1,<4.1)", "pytest-timeout (>=1.3.3,<2.2)", "pytest-xdist (>=2.1.0,<3.1)", "pytest (>=6.1.0,<8)", "requests (>=2.9.1,<3)", "tox (>=3.5,<4)", "wheel (>=0.36.2,<0.39)"] + +[[package]] +name = "mitmproxy-wireguard" +version = "0.1.19" +description = "WireGuard interface for mitmproxy" +category = "main" +optional = false +python-versions = ">=3.7" [[package]] name = "msgpack" @@ -275,7 +276,7 @@ argon2 = ["argon2-cffi (>=18.2.0)"] [[package]] name = "protobuf" -version = "4.21.5" +version = "4.21.9" description = "" category = "main" optional = false @@ -319,18 +320,18 @@ test = ["mock (>=1.0.1)", "hypothesis (>=3.5.3)", "pytest (>=3.0.3)", "pytest-co [[package]] name = "pyopenssl" -version = "22.0.0" +version = "22.1.0" description = "Python wrapper module around the OpenSSL library" category = "main" optional = false python-versions = ">=3.6" [package.dependencies] -cryptography = ">=35.0" +cryptography = ">=38.0.0,<39" [package.extras] -test = ["pytest (>=3.0.1)", "pretend", "flaky"] -docs = ["sphinx-rtd-theme", "sphinx"] +docs = ["sphinx (!=5.2.0,!=5.2.0.post0)", "sphinx-rtd-theme"] +test = ["flaky", "pretend", "pytest (>=3.0.1)"] [[package]] name = "pyparsing" @@ -368,7 +369,7 @@ jinja2 = ["ruamel.yaml.jinja2 (>=0.2)"] [[package]] name = "ruamel.yaml.clib" -version = "0.2.6" +version = "0.2.7" description = "C version of reader, parser and emitter for ruamel.yaml derived from libyaml" category = "main" optional = false @@ -390,6 +391,14 @@ category = "main" optional = false python-versions = ">= 3.7" +[[package]] +name = "typing-extensions" +version = "4.4.0" +description = "Backported and Experimental Type Hints for Python 3.7+" +category = "main" +optional = false +python-versions = ">=3.7" + [[package]] name = "urwid" version = "2.1.2" @@ -414,7 +423,7 @@ watchdog = ["watchdog"] [[package]] name = "wsproto" -version = "1.1.0" +version = "1.2.0" description = "WebSockets state-machine based protocol implementation" category = "main" optional = false @@ -425,19 +434,19 @@ h11 = ">=0.9.0,<1" [[package]] name = "zipp" -version = "3.8.1" +version = "3.11.0" description = "Backport of pathlib-compatible object wrapper for zip files" category = "main" optional = false python-versions = ">=3.7" [package.extras] -testing = ["pytest-mypy (>=0.9.1)", "pytest-black (>=0.3.7)", "func-timeout", "jaraco.itertools", "pytest-enabler (>=1.3)", "pytest-cov", "pytest-flake8", "pytest-checkdocs (>=2.4)", "pytest (>=6)"] -docs = ["jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "jaraco.packaging (>=9)", "sphinx"] +docs = ["sphinx (>=3.5)", "jaraco.packaging (>=9)", "rst.linker (>=1.9)", "furo", "jaraco.tidelift (>=1.4)"] +testing = ["pytest (>=6)", "pytest-checkdocs (>=2.4)", "flake8 (<5)", "pytest-cov", "pytest-enabler (>=1.3)", "jaraco.itertools", "func-timeout", "jaraco.functools", "more-itertools", "pytest-black (>=0.3.7)", "pytest-mypy (>=0.9.1)", "pytest-flake8"] [[package]] name = "zstandard" -version = "0.18.0" +version = "0.19.0" description = "Zstandard bindings for Python" category = "main" optional = false @@ -452,11 +461,10 @@ cffi = ["cffi (>=1.11)"] [metadata] lock-version = "1.1" python-versions = "^3.9" -content-hash = "c429fc66bf8d689f75ab7ec40500253c2f43bc979f3f9e7a45a62bde5634f574" +content-hash = "a5d866f29be83c4de4eb46abe7773059bba1c2a0cb518fe7a22b28e2f637a55b" [metadata.files] asgiref = [] -blinker = [] brotli = [] certifi = [] cffi = [] @@ -476,6 +484,7 @@ kaitaistruct = [] ldap3 = [] markupsafe = [] mitmproxy = [] +mitmproxy-wireguard = [] msgpack = [] passlib = [] protobuf = [] @@ -490,6 +499,7 @@ pyperclip = [] "ruamel.yaml.clib" = [] sortedcontainers = [] tornado = [] +typing-extensions = [] urwid = [] werkzeug = [] wsproto = [] diff --git a/pyproject.toml b/pyproject.toml index e8f29c9..6e1eaab 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ license = "MIT" [tool.poetry.dependencies] python = "^3.9" -mitmproxy = "^8.1.1" +mitmproxy = "^9.0.1" "ruamel.yaml" = "^0.17.21" json-stream = "^1.4.0"