nose tests failing test_password_hasing

17 views
Skip to first unread message

Peter Bruinsma

unread,
Sep 27, 2012, 4:58:03 PM9/27/12
to cork-d...@googlegroups.com
The length asserted is 88, but length here is only 44.
I've stepped through every line and I can't figure it out.

Could it be that, since I'm located in Sweden, I'm subject to US export restrictions, and the Java library installed on my machine is crippled with 128 bit AES keys instead of 256 bits?

And in cork.py function _hash, the following generates an empty string:

h = crypto.generateCryptoKeys(username + pwd, salt, 10)

After which the following returns a 44 character string:

b64encode(salt + h)  # h is empty string!

Should I be concerned that beaker is not (as) secure outside USA?


Reply all
Reply to author
Forward
0 new messages