-
Notifications
You must be signed in to change notification settings - Fork 85
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
PBKDF2 hash is not 32 bytes long on 64bit #34
Comments
Thank you for your bug report. I replicated the problem on a 64bit system, however I got an empty hash, not a longer one. |
i'm seeing a similar problem, but in my case - the hash is empty (''). thanks! |
not sure why, but uninstall and reinstall pycrypto seem to have fixed the problem |
Empty hashes are due to a bug in Beaker - see patch in bbangert/beaker#42 |
@tloris - how long was the hash that you got? Was Cork running on Jython? Can you provide steps to reproduce it? Thanks |
hey.
I'm new to all of this; I usually just use the tools provided by awesome ppl like you, so I'm not sure how relevant this is.
As part of a project I am working on your library was included, and there was no problem on 32bit python2.7 version at work. But at home I'm using a 64bit one and I kept getting
"RuntimeError("The PBKDF2 hash is not 32 bytes long. The pycrypto library might be missing.")".
I looked around a bit and figured the problem was the hash was too long, not to short, so I shortened it. It works (apparently) flawlessly now. Since couple of ppl on the same project had this problem, and didn't find any solution on the internet, I thought I might mention this here.
The text was updated successfully, but these errors were encountered: