You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This line will only work for linux and doesn't support windows and osx and it should throw a exception if the env variable is set but the library can't be loaded. At the moment i set the env variable and i get no feedback.
This line will also fail in the official Python docker image python:3.6-alpine. (See issue).
The implementation of find_library is a hack. It calls ldconfig -p and parses the output, hoping that the library is in the cache. As a fallback it calls gcc to find the library. This is obviously very fragile.
https://github.com/richardkiss/pycoin/blob/master/pycoin/ecdsa/native/library.py#L21
This line will only work for linux and doesn't support windows and osx and it should throw a exception if the env variable is set but the library can't be loaded. At the moment i set the env variable and i get no feedback.
I would prefer this implementation:
https://github.com/uwdata/termite-stm/blob/master/web2py/gluon/contrib/pbkdf2_ctypes.py#L122
Tested on windows. I will create a pull request later.
The text was updated successfully, but these errors were encountered: