Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (27 sloc) 949 Bytes

Password Inquisition

Password Inquisition is a Ruby library that will put your passwords through a gauntlet of tests to see if they will crack under the pressure.

Note: Current a work in progress - nothing works yet


Create a new inquisition using the Inquisition::Default class:

require 'password-inquisition'
inquisition =

Use your inquisition to test the strength of passwords:

=> :weak

=> :very_strong

If you want to add additional rules, you can easily do so: do |password|
  rule("should not contain the username") do
    not password.includes?(params[:username])

If a password is to be considered "good", then it must not contain the username.


James Reeves (

Jump to Line
Something went wrong with that request. Please try again.