-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
Description
hashes.py uses hashlib.algorithms_guaranteed:
pwntools/pwnlib/util/hashes.py
Line 8 in 26ccb97
| for _algo in hashlib.algorithms_guaranteed: |
According to python documentation
algorithms_guaranteed exists from version 2.7.9 and up.
But i don't knonw if Python2 support will be dropped soon for pwntools.
So, for now setup.py should probably specify python_requires = '>=2.7.9'.
Edit: It worth mantioning I needed pwntools on a Python 2.7.6 machine so, if Python2 support is important, somthing like:
hashlib.algorithms_guaranteed or hashlib.algorithms
Would probably be batter.