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

Pycrypto - deprecated #273

Open
DuckSound0 opened this issue Apr 17, 2023 · 4 comments
Open

Pycrypto - deprecated #273

DuckSound0 opened this issue Apr 17, 2023 · 4 comments

Comments

@DuckSound0
Copy link

DuckSound0 commented Apr 17, 2023

Is this project being maintained anymore?

Finally installed Killerbee on my Kali due to enormous amount of error regarding newer/older versions.
Is there any fix for 'pycrypto' as it's not a suitable thing to be used anymore?

I installed python3-dev and pycryptodome instead as per some guides but none of the commands can be run due to it expecting pycrypto.

zbid
Traceback (most recent call last):
File "/usr/local/bin/zbid", line 4, in
import('pkg_resources').run_script('killerbee==3.0.0b2', 'zbid')
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/pkg_resources/init.py", line 3251, in
@_call_aside
^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/pkg_resources/init.py", line 3235, in _call_aside
f(*args, **kwargs)
File "/usr/local/lib/python3.11/dist-packages/pkg_resources/init.py", line 3264, in _initialize_master_working_set
working_set = WorkingSet._build_master()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/pkg_resources/init.py", line 583, in _build_master
ws.require(requires)
File "/usr/local/lib/python3.11/dist-packages/pkg_resources/init.py", line 900, in require
needed = self.resolve(parse_requirements(requirements))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/pkg_resources/init.py", line 786, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pycrypto' distribution was not found and is required by killerbee

@DuckSound0
Copy link
Author

Solved this by changing setup.py file to use pycryptodome instead of pycrypto, will see if this works but it's not returning error above.

@tc-26
Copy link

tc-26 commented May 31, 2023

Thank you for reporting, we should definitely move off of unsupported dependencies. I'll try with pycryptodome as well and see if it's that easy of a switch or if there are issues laying in wait

@DuckSound0
Copy link
Author

Any updates on this moving to supported versions?

@jamesleytevidal
Copy link

I used pycryptodome the last time I installed this on a new machine and it's worked fine so far, but I haven't tested all the utilities exhaustively.

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

3 participants