Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Cryptodome instead of Crypto #11

Open
healthcareguy opened this issue Jun 24, 2021 · 4 comments
Open

Use Cryptodome instead of Crypto #11

healthcareguy opened this issue Jun 24, 2021 · 4 comments

Comments

@healthcareguy
Copy link

healthcareguy commented Jun 24, 2021

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

@zerotypic
Copy link
Owner

Hmm does it not work properly with the regular pycryptodome package (that installs into the Crypto module) anymore?

@navoytak
Copy link

navoytak commented Mar 12, 2022

Pycryptodome is still working for me on Kubuntu 21.10 in virtualenv

@pvanthony
Copy link

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.

@KinBoon
Copy link

KinBoon commented Sep 5, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants