summaryrefslogtreecommitdiffstats
path: root/samloader
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 /samloader
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
Diffstat (limited to 'samloader')
-rw-r--r--samloader/auth.py2
-rw-r--r--samloader/crypt.py2
2 files changed, 2 insertions, 2 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