diff options
author | nlscc <66028747+nlscc@users.noreply.github.com> | 2020-10-08 23:25:05 +0200 |
---|---|---|
committer | nlscc <66028747+nlscc@users.noreply.github.com> | 2020-10-08 23:25:05 +0200 |
commit | b675bf85039bbf419a1c612da10ea486915e3e3a (patch) | |
tree | 89594501593d251f2c0137f7a3d14413a428c7bc | |
parent | fix #18 (diff) | |
download | samloader-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.py | 2 | ||||
-rw-r--r-- | samloader/crypt.py | 2 | ||||
-rw-r--r-- | setup.py | 2 |
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 @@ -25,7 +25,7 @@ setuptools.setup( }, install_requires=[ "clint", - "pycryptodome", + "pycryptodomex", "requests" ], python_requires='>=3.6', |