Open healthcareguy opened 3 years ago
Hmm does it not work properly with the regular pycryptodome package (that installs into the Crypto module) anymore?
Pycryptodome is still working for me on Kubuntu 21.10 in virtualenv
Changes to wasg-register.py
#from Crypto.Cipher import AES
from Cryptodome.Cipher import AES
This has been useful for me on Fedora 37. Thank you for sharing.
Update for Ubuntu 24.04 Noble
Changes to wasg-register.py
#from Crypto.Cipher import AES
to
from Cryptodome.Cipher import AES
Command that works for me with wasg-register.py in the folder you are currently in
python3 wasg-register.py -r HPWITH65 DDMMYYYY
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