strong_password
strong_password copied to clipboard
Entropy-based password strength checking for Ruby and Rails.
I love the idea behind this library! I saw your todo of increasing the dictionary check, and realized that it lines up pretty closely with the work I did for...
It seems like it would be a good idea to update the suggested gem version in the installation instructions to the latest version, which is `0.0.10`. What do you think?
Does this Gem work with Rails 6.1 and Ruby 3. Coz I am running into the following error, there's no stack trace. `ArgumentError - wrong number of arguments (given 3,...
I noticed that the word length in a dictionary is restricted to 1000 characters. Is there a reason why the word length is restricted? Wouldn't it be better if we...
I noticed that the reverse of a password is not included in all the variants of a password. ``` # Returns all variants of a given password including the password...
Due to Rails 5 innovation - adding error.details will be cool to have an opportunity to customize it. Now it is -> ``` {:error=>:"password.password_strength", :use_dictionary=>true, :min_entropy=>14, :value=>""} ``` For some...
Is this expected? ``` irb(main):027:0> checker = StrongPassword::StrengthChecker.new(use_dictionary: true) => # irb(main):028:0> checker.calculate_entropy("bob.smith") => 9.5 irb(main):029:0> checker = StrongPassword::StrengthChecker.new(use_dictionary: true, extra_dictionary_words: ["bob", "smith"]) => # irb(main):030:0> checker.calculate_entropy("bob.smith") => 9.5 ```
I parsed a dictionary with words in french and english sorted in alphabetical order and I performed tests with a few passwords equal to dictionary words. I also tested without...