summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--samloader/auth.py2
-rw-r--r--samloader/crypt.py2
-rw-r--r--setup.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/samloader/auth.py b/samloader/auth.py
index 2d78c76..5b6a1d5 100644
--- a/samloader/auth.py
+++ b/samloader/auth.py
@@ -3,7 +3,7 @@
# FUS authentication functions (decrypting nonce, calculating auth token)
-from Crypto.Cipher import AES
+from Cryptodome.Cipher import AES
import base64
import requests
diff --git a/samloader/crypt.py b/samloader/crypt.py
index ae626f8..5b96ad1 100644
--- a/samloader/crypt.py
+++ b/samloader/crypt.py
@@ -5,7 +5,7 @@
import hashlib
import xml.etree.ElementTree as ET
-from Crypto.Cipher import AES
+from Cryptodome.Cipher import AES
from clint.textui import progress
from . import request
diff --git a/setup.py b/setup.py
index bd89cc0..67ca652 100644
--- a/setup.py
+++ b/setup.py
@@ -25,7 +25,7 @@ setuptools.setup(
},
install_requires=[
"clint",
- "pycryptodome",
+ "pycryptodomex",
"requests"
],
python_requires='>=3.6',