diff --git a/client/pyproject.toml b/client/pyproject.toml index c3a2046d..a61df2e3 100644 --- a/client/pyproject.toml +++ b/client/pyproject.toml @@ -27,7 +27,7 @@ dependencies = [ dynamic = ["version"] [project.optional-dependencies] -cryptg = ["cryptg~=0.4"] +cryptg = ["cryptg~=0.5"] dev = [ "mypy~=1.11.2", "ruff~=0.6.8", diff --git a/client/src/telethon/_impl/crypto/aes.py b/client/src/telethon/_impl/crypto/aes.py index da6ea356..1eace6f9 100644 --- a/client/src/telethon/_impl/crypto/aes.py +++ b/client/src/telethon/_impl/crypto/aes.py @@ -1,5 +1,5 @@ try: - import cryptg # type: ignore [import-untyped] + import cryptg def ige_encrypt( plaintext: bytes | bytearray | memoryview, key: bytes, iv: bytes