From b675bf85039bbf419a1c612da10ea486915e3e3a Mon Sep 17 00:00:00 2001 From: nlscc <66028747+nlscc@users.noreply.github.com> Date: Thu, 8 Oct 2020 22:25:05 +0100 Subject: use cryptodomex instead of cryptodome --- samloader/auth.py | 2 +- samloader/crypt.py | 2 +- 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 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', -- cgit v1.2.3