I tried the gen_ekb.py and I got an issue. I’m using Ubuntu 18.04.5 LTS
Here is the traces:
$ ./example.sh
Traceback (most recent call last):
File "gen_ekb.py", line 32, in <module>
from Crypto.Cipher import AES
File "/usr/lib/python3/dist-packages/Crypto/Cipher/AES.py", line 50, in <module>
from Crypto.Cipher import _AES
ImportError: cannot import name '_AES' from 'Crypto.Cipher' (/usr/lib/python3/dist-packages/Crypto/Cipher/__init__.py)
This happen because I’m using an old version of python3-cryptography