wbond / oscrypto

Compiler-free Python crypto library backed by the OS, supporting CPython and PyPy
MIT License
320 stars 70 forks source link

Can't use On Python3.7, Mac brew install python3 #28

Closed jacksonpan closed 6 years ago

jacksonpan commented 6 years ago

today i upgrade to python3.7 with brew. but now i can't run my project and i find the problem was oscrypto.

image

i find the file(_libcrypto_ctypes.py) line: 258, libcrypto.EVP_MD_CTX_new.argtypes = [] when run here then raise FFIEngineError('Error initializing ctypes') and the pic you can see in the libcrypto object, there is no object named EVP_MD_CTX_new.

can you fix it, soon?

when i use python3.6, it runs well

wbond commented 6 years ago

This bug has been fixed in master (83e2a06085b5b09ee5cd6c28a2ae1c52352c9e53, #22), but there hasn't been a release yet. Hopefully I can get one out somewhat soon. Until then, you can use pip to install from this git repo.

drdaeman commented 5 years ago

@wbond Sorry to bother - can you please consider creating a new release? There were a lot of useful bugfixes since 0.19.1...

wbond commented 5 years ago

Yes, I would like to do a release. I just had my fifth child, so free time is a bit sparse right now. Sorry!

wbond commented 4 years ago

Version 1.0.0 is out on PyPi - https://pypi.org/project/oscrypto/