scrypt version 1.1 released

In a post here last week, I announced the scrypt key derivation function and the availability of source code for both the key derivation function and a file encryption utility which used it. At that point, the scrypt encryption utility only ran on FreeBSD; after a week of struggling with autoconf, I am now happy to announce that version 1.1 of the scrypt code should now run on linux and other unix-like operating systems.

I'd like to make scrypt as portable as possible, but I don't have access to a very wide range of systems to test with; so I'd like to ask my readers to help me with testing scrypt on non-FreeBSD systems. Please

  1. download the scrypt source code,
  2. verify the gpg signed SHA256 hash,
  3. extract the source code tarball,
  4. run ./configure && make,
  5. encrypt a file via ./scrypt enc origfile encryptedfile,
  6. decrypt the file via ./scrypt dec encryptedfile decryptedfile, and
  7. compare origfile and decryptedfile to confirm that the file was decrypted correctly.
Finally, please add a comment below indicating
  1. what sort of system (OS and hardware) you tried scrypt on,
  2. whether scrypt built and worked correctly, and
  3. if scrypt didn't work, what went wrong (e.g., what compiler errors were output).

In order to provide full disclosure: The next version of the tarsnap client code will be using scrypt, so I have an ulterior motive for wanting to check that the scrypt code is portable. That said, I think it's important for people to use strong cryptography, so I would want scrypt to be as portable as possible and usable as widely as possible even in the absence of tarsnap -- which is why scrypt is BSD licensed.

UPDATE: I coded a test for MAP_NOCORE backwards in version 1.1 of this code. This is fixed in version 1.1.1; if you tried version 1.1 and it failed with an error about MAP_NOCORE being undeclared, please download version 1.1.1 and try again (I've adjusted the links above).

Posted at 2009-05-16 08:25 | Permanent link | Comments
blog comments powered by Disqus

Recent posts

Monthly Archives

Yearly Archives


RSS