summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornlscc <66028747+nlscc@users.noreply.github.com>2020-10-08 23:25:05 +0200
committernlscc <66028747+nlscc@users.noreply.github.com>2020-10-08 23:25:05 +0200
commitb675bf85039bbf419a1c612da10ea486915e3e3a (patch)
tree89594501593d251f2c0137f7a3d14413a428c7bc
parentfix #18 (diff)
downloadsamloader-b675bf85039bbf419a1c612da10ea486915e3e3a.tar
samloader-b675bf85039bbf419a1c612da10ea486915e3e3a.tar.gz
samloader-b675bf85039bbf419a1c612da10ea486915e3e3a.tar.bz2
samloader-b675bf85039bbf419a1c612da10ea486915e3e3a.tar.lz
samloader-b675bf85039bbf419a1c612da10ea486915e3e3a.tar.xz
samloader-b675bf85039bbf419a1c612da10ea486915e3e3a.tar.zst
samloader-b675bf85039bbf419a1c612da10ea486915e3e3a.zip
-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',