From c4fb3c87246bcf021c0f1467f81d3965dfa3aa72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lim=20Whiteley?= Date: Tue, 2 Nov 2021 16:40:15 +0000 Subject: [PATCH] Update to use from pycryptodome AES instead of pycrpto version as CCM is no longer present As python3-pycryptodome was already part of the install dependencies it seems maybe this was forgotten or python 3.8 on Ubuntu 20.04 based distros caused it to break. Otherwise it throws a module 'Crypto.Cipher.AES' has no attribute 'MODE_GCM' Error and exits after the password is entered. --- andotp_decrypt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/andotp_decrypt.py b/andotp_decrypt.py index 48c896a..32a4804 100755 --- a/andotp_decrypt.py +++ b/andotp_decrypt.py @@ -18,7 +18,7 @@ import struct from getpass import getpass -from Crypto.Cipher import AES +from Cryptodome.Cipher import AES from Crypto.Hash import SHA256 from docopt import docopt