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

Fixed Crypto import and added requirements #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tristanbolton
Copy link

No description provided.

Copy link
Owner

@haseebT haseebT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Tristan,

Can you change your requirements.txt file to require pycryptodome and not pycrypto. Pycryptodome is a fork of PyCrypto and brings several enhancements to it, one being support for AES-GCM. All of its modules are under the Crypto package. Currently the script requires the pycryptodomex package which is why Cryptodome.Cipher is imported.

https://pypi.org/project/pycryptodome/

Your other commit is fine.

@lramphort
Copy link

lramphort commented Jul 20, 2022

Hi, you need to change this too in mremoteng_decrypt.py

- from Cryptodome.Cipher import AES
+ from Crypto.Cipher import AES

and maybe add to README.md to launch pip install pycryptodome

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

Successfully merging this pull request may close these issues.

3 participants