riverloopsec / killerbee

IEEE 802.15.4/ZigBee Security Research Toolkit
http://www.riverloopsecurity.com
Other
742 stars 215 forks source link

Pycrypto - deprecated #273

Open DuckSound0 opened 1 year ago

DuckSound0 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

Any updates on this moving to supported versions?