All Projects β†’ trimentor β†’ pwdcalc

trimentor / pwdcalc

Licence: MIT License
Take no risk and help your users to choose good passwords!

Programming Languages

ruby
36898 projects - #4 most used programming language
javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to pwdcalc

Cupp
The most common form of authentication is the combination of a username and a password or passphrase. If both match values stored within a locally stored table, the user is authenticated for a connection. Password strength is a measure of the difficulty involved in guessing or breaking the password through cryptographic techniques or library-based automated testing of alternate values.
Stars: ✭ 2,493 (+22563.64%)
Mutual labels:  password-strength, dictionary-attack
core
πŸ”₯ Antares Core Implemenation. Most important project layer, this is the heart for your app. ACL, notifiter, console, geoip, areas, utils and many more...
Stars: ✭ 24 (+118.18%)
Mutual labels:  asset-pipeline, form-validation
ATGValidator
iOS validation framework with form validation support
Stars: ✭ 51 (+363.64%)
Mutual labels:  form-validation, password-strength
Probable Wordlists
Version 2 is live! Wordlists sorted by probability originally created for password generation and testing - make sure your passwords aren't popular!
Stars: ✭ 7,312 (+66372.73%)
Mutual labels:  password-strength, dictionary-attack
socket.io-rails
Rails asset pipeline wrapper for socket.io
Stars: ✭ 57 (+418.18%)
Mutual labels:  gem, asset-pipeline
CustomFormViews
A clean collection of views used for forms.
Stars: ✭ 12 (+9.09%)
Mutual labels:  form-validation
jquery-datatables
Jquery datatables ruby gems for assets pipeline
Stars: ✭ 73 (+563.64%)
Mutual labels:  gem
slow-down
A centralized Redis-based lock to help you wait on throttled resources
Stars: ✭ 21 (+90.91%)
Mutual labels:  gem
formalizer
React hooks based form validation made for humans.
Stars: ✭ 12 (+9.09%)
Mutual labels:  form-validation
webpack-asset-pipeline
πŸš€ A missing link for the asset pipeline alternative with Webpack.
Stars: ✭ 31 (+181.82%)
Mutual labels:  asset-pipeline
log-symbols
A ruby πŸ’ŽgemπŸ’Ž for generating log symbols
Stars: ✭ 14 (+27.27%)
Mutual labels:  gem
yo-ruby
🌈 ✨ A super awesome Ruby wrapper of the Yo API.
Stars: ✭ 15 (+36.36%)
Mutual labels:  gem
ae page objects
Page Objects for Capybara
Stars: ✭ 26 (+136.36%)
Mutual labels:  gem
pretty trace
Love Your Ruby's Backtrace
Stars: ✭ 13 (+18.18%)
Mutual labels:  gem
form-validator-cljs
ClojureScript library to validate forms
Stars: ✭ 52 (+372.73%)
Mutual labels:  form-validation
enumerations
Better Rails Enumerations
Stars: ✭ 34 (+209.09%)
Mutual labels:  gem
formio
Formio, form definition and binding library for Java platform
Stars: ✭ 24 (+118.18%)
Mutual labels:  form-validation
svelte-form
JSON Schema form for Svelte v3
Stars: ✭ 47 (+327.27%)
Mutual labels:  form-validation
aaf-easypassword
πŸ”’ Easy Password is password management application. This application uses pattern locks to manage information that requires security.
Stars: ✭ 28 (+154.55%)
Mutual labels:  password-strength
rack-simple user agent
Rack::SimpleUserAgent is stupidly simple UA detector
Stars: ✭ 13 (+18.18%)
Mutual labels:  gem

pwdcalcΒΆ ↑

Improve the user experience and security of your web application within just a few seconds by installing the pwdcalc gem. It extends your password fields with a strength bar and hint, enforcing a minimum complexity for security reasons.

Take no risk and help your users to choose good passwords!

InstallationΒΆ ↑

Add pwdcalc to your Gemfile and bundle it up:

gem 'pwdcalc', :git => 'https://github.com/trimentor/pwdcalc.git'

Run the following command to install it:

bundle install

Run the installation generator:

rails g pwdcalc:install

UsageΒΆ ↑

Add the following directives to your JavaScript manifest file:

//= require jquery.YAPSM.min
//= require jquery.pwdcalc

Add the following directives to your CSS manifest file:

*= require pwdcalc

Use Pwdcalc::FormBuilder to automatically create password field/-strength meter combinations:

<%= form_for @user, builder: Pwdcalc::FormBuilder do |f| %>
  <div class="field">
    <%= f.label :username %><br>
    <%= text_field :username %>
  </div>

  <div class="field pwdcalc-form-group">
    <%= f.label :password %><br>
    <%= f.password_field :password %>
  </div>

  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

NOTE: It's required to wrap the control in pwdcalc-form-group.

Localized HintsΒΆ ↑

Add the following line somewhere inside your view (e.g. at the bottom of your form):

<%= pwdcalc_translated_hints %>

Dictionary AttacksΒΆ ↑

Many people have a tendency to choose passwords which are short, single words found in dictionaries or simple, easily-predicted variations on words, vulnerable for dictionary attacks.

It's easy to provide a list of obvious passwords. Just add the data-dictionary attribute to the input field:

<%= f.password_field, :data => { :dictionary => 'obviousPasswords()' } %>

Keep in mind that the value should evaluate to an array.

EventsΒΆ ↑

The pwdcalc-submit event is sent to the document when the user is attempting to submit the form.

$(document).on('pwdcalc-submit', handler(eventObject, origEventObject, field))

The pwdcalc-keyup-init event is sent to the document when the user releases a key on the keyboard and before a score and hint is shown or hidden.

$(document).on('pwdcalc-keyup-init', handler(eventObject, origEventObject, field))

The pwdcalc-keyup-complete event is sent to the document when the user releases a key on the keyboard and after a score and hint is shown or hidden.

$(document).on('pwdcalc-keyup-complete', handler(eventObject, origEventObject, field))

YAPSM (Yet Another Password Strength Meter)ΒΆ ↑

The project page of this jQuery plugin can be found here on GitHub!

Bug TrackerΒΆ ↑

Have a bug? Please create an issue here on GitHub!

github.com/trimentor/pwdcalc/issues

Note on Patches/Pull RequestsΒΆ ↑

  • Fork the project.

  • Make your feature addition or bug fix.

  • Add tests for it. This is important so I don't break it in a future version unintentionally.

  • Commit, do not mess with rakefile, version, or history.

  • Send me a pull request. Bonus points for topic branches.

Copyright Β© 2012 Kjel Delaey, released under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].