Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

py3k-bcrypt #4

Open
extantpedant opened this issue Jun 22, 2017 · 0 comments
Open

py3k-bcrypt #4

extantpedant opened this issue Jun 22, 2017 · 0 comments

Comments

@extantpedant
Copy link

The dependency on py3k-bcrypt version 0.3 makes this hard to use on Windows, since it has a build step. Psycopg2 has a build step as well, but there are Anaconda/Miniconda packages for it. Conda also has pre-built versions of the Python 'bcrypt' package as follows, but not py3k-bcrypt.

bcrypt 2.0.0 py27_0 defaults
2.0.0 py34_0 defaults
2.0.0 py35_0 defaults
3.1.0 py27_0 defaults
3.1.0 py34_0 defaults
3.1.0 py35_0 defaults
3.1.1 py27_0 defaults
3.1.1 py34_0 defaults
3.1.1 py35_0 defaults
3.1.2 py27_0 defaults
. 3.1.2 py34_0 defaults
3.1.2 py35_0 defaults
3.1.2 py36_0 defaults
3.1.3 py27_0 defaults
3.1.3 py35_0 defaults
3.1.3 py36_0 defaults

py3k-bcrypt seems to be defunct. The github page linked to on pypi is 404.

The main difference that I can see with the 'brcypt' package, is that its hashpw function won't use a str, it needs bytes. I spent some time trying to decode('utf8') the strings, but it still fails with messages like 'invalid salt'. Any ideas on how we could make this happen?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant