Projects / Ruby/Password


Ruby/Password is a set of useful methods for creating, verifying, and manipulating passwords. It includes an interface to CrackLib, a library commonly used for checking password strength. It is intended to be used by system administrators who need to write Ruby programs that prompt for, generate, verify, and encrypt passwords.

Operating Systems

Recent releases

  •  02 Mar 2006 22:23

    Release Notes: packer.h is no longer used when building. crack.h is now always required. This should fix build problems on Fedora Core 4 and possibly other systems.

    •  05 Sep 2004 04:28

      Release Notes: The build environment has been modified to search for the system dictionary in the additional location of /var/cache/cracklib/cracklib_dict.pwd, which is where it is on Debian Linux.

      •  13 Apr 2004 03:29

        Release Notes: Password.get would throw an exception in the unlikely event that STDIN reached EOF without any input. In addition, pwgen now supports a -v or --version switch.

        •  09 Apr 2004 12:41

          Release Notes: A new example program, pwgen, has been added, complete with man page. A new class method, Password.phonemic, generates phonemic passwords. The old Password.random method has been renamed Password.urandom and replaced by a new, portable Password.random. Password.get will now detect whether STDIN is connected to a tty. If not, no password prompt is displayed and no attempt will be made to manipulate terminal echo. A Password::CryptError exception is now raised if the salt passed to Password#crypt contains a bad character. RDoc documentation has been added.

          •  12 Nov 2003 12:04

            Release Notes: A warning that occurred when loading the library into Ruby 1.8.x is now avoided.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.