From 18474664bc1395d9b4c79508894d84b655751a4f Mon Sep 17 00:00:00 2001 From: Jason Cox Date: Sat, 24 Feb 2024 20:19:34 -0800 Subject: [PATCH] Remove crypto import --- server/server.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/server/server.py b/server/server.py index 3e1ab46..71cf3db 100644 --- a/server/server.py +++ b/server/server.py @@ -50,14 +50,6 @@ from http.server import BaseHTTPRequestHandler, HTTPServer, ThreadingHTTPServer from socketserver import ThreadingMixIn -# Required module: pycryptodome -try: - import Crypto - from Crypto.Cipher import AES # PyCrypto -except ImportError: - Crypto = AES = None - import pyaes # https://github.com/ricmoo/pyaes - # Terminal color capability for all platforms try: from colorama import init @@ -67,7 +59,7 @@ import tinytuya -BUILD = "t9" +BUILD = "t10" # Defaults APIPORT = 8888