cocagne / pysrp

Python implementation of the Secure Remote Password protocol (SRP)
MIT License
116 stars 45 forks source link

Unable to "python srp\test_srp.py" #44

Closed clementoys closed 3 years ago

clementoys commented 3 years ago

The error I received:

Traceback (most recent call last): File "H:\Downloads\pysrp-master\pysrp-master\srp\test_srp.py", line 32, in import srp._ctsrp as _ctsrp File "H:\Downloads\pysrp-master\pysrp-master\build\lib\srp_ctsrp.py", line 197, in load_func( 'BN_new', [], BIGNUM ) File "H:\Downloads\pysrp-master\pysrp-master\build\lib\srp_ctsrp.py", line 194, in load_func raise ImportError('Unable to load required functions from SSL dlls') ImportError: Unable to load required functions from SSL dlls

Tried to solve this issue by renaming all _ctsrp to srp._ctsrp in the test_srp.py functions, but given "AttributeError: module 'srp' has no attribute '_ctsrp'"

Does anyone have a solution?