Issue #8 new

Update PyPI?

Kenneth Falck avatarKenneth Falck created an issue

It seems that the version on PyPI (0.5.5) does not work on Mac OS X when you specify the r or p arguments:

>>> import scrypt
>>> scrypt.hash('abc', '123456789012', 2**14, p=1)
Floating point exception: 8

Another example:

>>> scrypt.hash('abc', '123456789012', 2**14, r=8)
scrypt.error: hash parameters are wrong (r*p should be < 2**30, and N should be a power of two > 1)

When using the latest version from Bitbucket, it works fine.

Comments (2)

  1. Magnus Hallin

    I've noticed the same issue.

    The reason why I've been waiting with a PyPI release is that it is no longer built as a python module, but as a "traditional" shared object and imported by ctypes. But I guess since no issues have been reported on the latest BitBucket version, I could upload it to PyPI by now.

  2. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.