From ffa2d8918dcd5df3c29429d30546fc62c4f8ec0a Mon Sep 17 00:00:00 2001 From: XiaoliChan <2209553467@qq.com> Date: Sat, 4 Nov 2023 23:28:33 +0800 Subject: [PATCH] [winrm] clean up Signed-off-by: XiaoliChan <2209553467@qq.com> --- .github/workflows/lint.yml | 1 - poetry.lock | 70 +------------------------------------- pyproject.toml | 2 -- 3 files changed, 1 insertion(+), 72 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 96a9835e..c61f73f9 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -23,7 +23,6 @@ jobs: cache-dependency-path: poetry.lock - name: Install dependencies with dev group run: | - sudo apt-get install gcc python3-dev libkrb5-dev gss-ntlmssp -y poetry install --with dev - name: Run ruff run: | diff --git a/poetry.lock b/poetry.lock index 80667719..0fe3c160 100644 --- a/poetry.lock +++ b/poetry.lock @@ -576,17 +576,6 @@ test = ["iso8601", "pretend", "pytest (>=6.2.0)", "pytest-benchmark", "pytest-co test-randomorder = ["pytest-randomly"] tox = ["tox"] -[[package]] -name = "decorator" -version = "5.1.1" -description = "Decorators for Humans" -optional = false -python-versions = ">=3.5" -files = [ - {file = "decorator-5.1.1-py3-none-any.whl", hash = "sha256:b8c3f85900b9dc423225913c5aace94729fe1fa9763b38939a95226f02d37186"}, - {file = "decorator-5.1.1.tar.gz", hash = "sha256:637996211036b6385ef91435e4fae22989472f9d571faba8927ba8253acbc330"}, -] - [[package]] name = "dnspython" version = "2.3.0" @@ -772,42 +761,6 @@ files = [ docs = ["Sphinx"] test = ["objgraph", "psutil"] -[[package]] -name = "gssapi" -version = "1.8.3" -description = "Python GSSAPI Wrapper" -optional = false -python-versions = ">=3.7" -files = [ - {file = "gssapi-1.8.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:4e4a83e9b275fe69b5d40be6d5479889866b80333a12c51a9243f2712d4f0554"}, - {file = "gssapi-1.8.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:8d57d67547e18f4e44a688bfb20abbf176d1b8df547da2b31c3f2df03cfdc269"}, - {file = "gssapi-1.8.3-cp310-cp310-win32.whl", hash = "sha256:3a3f63105f39c4af29ffc8f7b6542053d87fe9d63010c689dd9a9f5571facb8e"}, - {file = "gssapi-1.8.3-cp310-cp310-win_amd64.whl", hash = "sha256:b031c0f186ab4275186da385b2c7470dd47c9b27522cb3b753757c9ac4bebf11"}, - {file = "gssapi-1.8.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:b03d6b30f1fcd66d9a688b45a97e302e4dd3f1386d5c333442731aec73cdb409"}, - {file = "gssapi-1.8.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:ca6ceb17fc15eda2a69f2e8c6cf10d11e2edb32832255e5d4c65b21b6db4680a"}, - {file = "gssapi-1.8.3-cp311-cp311-win32.whl", hash = "sha256:edc8ef3a9e397dbe18bb6016f8e2209969677b534316d20bb139da2865a38efe"}, - {file = "gssapi-1.8.3-cp311-cp311-win_amd64.whl", hash = "sha256:8fdb1ff130cee49bc865ec1624dee8cf445cd6c6e93b04bffef2c6f363a60cb9"}, - {file = "gssapi-1.8.3-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:19c373b3ba63ce19cd3163aa1495635e3d01b0de6cc4ff1126095eded1df6e01"}, - {file = "gssapi-1.8.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:37f1a8046d695f2c9b8d640a6e385780d3945c0741571ed6fee6f94c31e431dc"}, - {file = "gssapi-1.8.3-cp312-cp312-win32.whl", hash = "sha256:338db18612e3e6ed64e92b6d849242a535fdc98b365f21122992fb8cae737617"}, - {file = "gssapi-1.8.3-cp312-cp312-win_amd64.whl", hash = "sha256:5731c5b40ecc3116cfe7fb7e1d1e128583ec8b3df1e68bf8cd12073160793acd"}, - {file = "gssapi-1.8.3-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:e556878da197ad115a566d36e46a8082d0079731d9c24d1ace795132d725ff2a"}, - {file = "gssapi-1.8.3-cp37-cp37m-win32.whl", hash = "sha256:e2bb081f2db2111377effe7d40ba23f9a87359b9d2f4881552b731e9da88b36b"}, - {file = "gssapi-1.8.3-cp37-cp37m-win_amd64.whl", hash = "sha256:4d9ed83f2064cda60aad90e6840ae282096801b2c814b8cbd390bf0df4635aab"}, - {file = "gssapi-1.8.3-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:7d91fe6e2a5c89b32102ea8e374b8ae13b9031d43d7b55f3abc1f194ddce820d"}, - {file = "gssapi-1.8.3-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:d5b28237afc0668046934792756dd4b6b7e957b0d95a608d02f296734a2819ad"}, - {file = "gssapi-1.8.3-cp38-cp38-win32.whl", hash = "sha256:791e44f7bea602b8e3da1ec56fbdb383b8ee3326fdeb736f904c2aa9af13a67d"}, - {file = "gssapi-1.8.3-cp38-cp38-win_amd64.whl", hash = "sha256:5b4bf84d0a6d7779a4bf11dacfd3db57ae02dd53562e2aeadac4219a68eaee07"}, - {file = "gssapi-1.8.3-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:e40efc88ccefefd6142f8c47b8af498731938958b808bad49990442a91f45160"}, - {file = "gssapi-1.8.3-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:ee74b9211c977b9181ff4652d886d7712c9a221560752a35393b58e5ea07887a"}, - {file = "gssapi-1.8.3-cp39-cp39-win32.whl", hash = "sha256:465c6788f2ac6ef7c738394ba8fde1ede6004e5721766f386add63891d8c90af"}, - {file = "gssapi-1.8.3-cp39-cp39-win_amd64.whl", hash = "sha256:8fb8ee70458f47b51ed881a6881f30b187c987c02af16cc0fff0079255d4d465"}, - {file = "gssapi-1.8.3.tar.gz", hash = "sha256:aa3c8d0b1526f52559552bb2c9d2d6be013d76a8e5db00b39a1db5727e93b0b0"}, -] - -[package.dependencies] -decorator = "*" - [[package]] name = "h11" version = "0.14.0" @@ -984,27 +937,6 @@ files = [ {file = "JsonSir-0.0.2.tar.gz", hash = "sha256:401447c5e931f7887851ce9bf2407fe34d5aab0b1467bb24bbbf3b760e5bd3fb"}, ] -[[package]] -name = "krb5" -version = "0.5.1" -description = "Kerberos API bindings for Python" -optional = false -python-versions = ">=3.7" -files = [ - {file = "krb5-0.5.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:e51c700cf148e63fef60bc4b2c453018218a3170dedbfe2840f122aee5a453e7"}, - {file = "krb5-0.5.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:6ca9dcb23dc0014f79af0f151bb501bfe4f371b3e54bde78e79ea73dad272eda"}, - {file = "krb5-0.5.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:83d0a7d44130681f6a8168fc3609d783c77868fe1ab4a9861da30ae8212d632a"}, - {file = "krb5-0.5.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:2269fb6c0813cd7f58526a152d746aebb8e48026b92856093865414395c185e9"}, - {file = "krb5-0.5.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:f65fbbcf6de0fecee56a05370b6f65230c121a0cadad8e6a56f5a852bdeecaa6"}, - {file = "krb5-0.5.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:e0412d84484bf37158f040baa86ac3c08604251f9d0afdf2e9659b237ce3cdfa"}, - {file = "krb5-0.5.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:fb69fe96be7197f007b5b20172346728349d0b03a39b3343e8793fabb3d28626"}, - {file = "krb5-0.5.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:73badd6982e8af81e4cca82c4f1a6dbcc50257d700072b8df7c84ea003c1b5e4"}, - {file = "krb5-0.5.1-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:a9b4109adf9f02d0885c96611aba1945970b5319a93cb427617049d6536921ac"}, - {file = "krb5-0.5.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:df15e3fe8b1d03cf715b5866215da6b131e1fd5ddd6e7f659e74bb79498033b2"}, - {file = "krb5-0.5.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:3008124d01da50559ee7ac2ce0045ee069963f3086ec5c2460b07da6fae4fdda"}, - {file = "krb5-0.5.1.tar.gz", hash = "sha256:7125ee240dad951cc0a71e567c51b215238e490e87ad67b1af9a69dd90e63bca"}, -] - [[package]] name = "ldap3" version = "2.9.1" @@ -2462,4 +2394,4 @@ testing = ["big-O", "flake8 (<5)", "jaraco.functools", "jaraco.itertools", "more [metadata] lock-version = "2.0" python-versions = "^3.7.0" -content-hash = "f1f515f6870a9003d255f12fb8285ef5cf537bcb445c5e1ed146ed4386749ad9" +content-hash = "1ff7892bac10d1469e83c63d338eeca5964a19f39704651cb71a90e045ebb16b" diff --git a/pyproject.toml b/pyproject.toml index 2c2fa34f..2b4a0719 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,8 +41,6 @@ termcolor = "2.0.1" msgpack = "^1.0.0" neo4j = "^4.1.1" # do not upgrade this until performance regression issues in 5 are fixed (as of 9/23) pylnk3 = "^0.4.2" -gssapi = "^1.8.3" -krb5 = "^0.5.1" pypsrp = "^0.8.1" paramiko = "^3.3.1" impacket = { git = "https://github.com/Pennyw0rth/impacket.git", branch = "gkdi" }