To install this gem onto your local machine, run bundle exec rake install. You can also run bin/console for an interactive prompt that will allow you to experiment. W, -skip-url-unsafe Skip the use of url (Web) unsafe characters in passwordsĪfter checking out the repo, run bin/setup to install dependencies. U, -skip-upper-case Skip the use of upper case letters in passwords S, -skip-symbols Skip the use of symbols in passwords P, -skip-phonetic Skip creation of the phonetic password L, -skip-lower-case Skip the use of lower case letters in passwords D, -skip-digits Skip the use of digits in passwords C, -skip-confusables Skip the use of letters which are easily confused e.g. s, -symbols string Minimum number of symbols to use. l, -length string The length of the password (default 12) d, -digits string Minimum number of digits to use. There is also an executable linked to this gem which allows you to generate passwords within bash scripts etc. You can also pass the options parameter to the 'generate_password' method to override the settings for a specific password creation. configure ( :skip_lower_case => true, :digits => 4 ) :skip_phonetic true | false - Skip the creation of the phonetic password.:symbols - Force a specific minimum number of symbols in the password.:digits - Force a specific minimum number of digits in the password.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |