1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
Description: Fix cryptodome import
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2026-01-10
---
src/aioswitcher/device/tools.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/aioswitcher/device/tools.py b/src/aioswitcher/device/tools.py
index d391a65..bc9f822 100644
--- a/src/aioswitcher/device/tools.py
+++ b/src/aioswitcher/device/tools.py
@@ -23,8 +23,8 @@
from struct import pack
import aiohttp
-from Crypto.Cipher import AES
-from Crypto.Util.Padding import unpad
+from Cryptodome.Cipher import AES
+from Cryptodome.Util.Padding import unpad
from ..device import DeviceType
|