Use Cryptodome instead of Crypto.
pip3 install pycryptodomex
Changes to wasg-register.py
#from Crypto.Cipher import AES
from Cryptodome.Cipher import AES
Instructions should probably mention that its perhaps best to register using mobile app or Wireless@Sgx Application on Mac or Windows and just retrieve here. Saves a ton of hassle :-)
Command that worked for me
python ./wasg-register.py -r HPWITHOUT65 DDMMYYYY
Use Cryptodome instead of Crypto.
pip3 install pycryptodomexChanges to wasg-register.py
#from Crypto.Cipher import AESfrom Cryptodome.Cipher import AESInstructions should probably mention that its perhaps best to register using mobile app or Wireless@Sgx Application on Mac or Windows and just retrieve here. Saves a ton of hassle :-)
Command that worked for me
python ./wasg-register.py -r HPWITHOUT65 DDMMYYYY