Update leekspin's requirements.txt
In a fresh python2 virtualenv enviroment, I cloned and installed leekspin and the requirements with "pip install -r requirements.txt". After running "leekspin -n 20" I received the following error:
Code highlighting:
{{{#!python
Traceback (most recent call last):
File "/mypath/python2env/bin/leekspin", line 37, in <module>
from leekspin import generator
File "/mypath/python2env/lib/python2.7/site-packages/leekspin/generator.py", line 27, in <module>
import OpenSSL
File "/mypath/python2env/lib/python2.7/site-packages/OpenSSL/__init__.py", line 8, in <module>
from OpenSSL import rand, crypto, SSL
File "/mypath/python2env/lib/python2.7/site-packages/OpenSSL/SSL.py", line 105, in <module>
SSL_ST_INIT = _lib.SSL_ST_INIT
AttributeError: 'module' object has no attribute 'SSL_ST_INIT'
}}}
I changed in "requirements.txt" the entry PyOpenSSL==0.14 to PyOpenSSL==16.2.0
Now it works fine :)