Languages and Frameworks:
- ๐ญ Iโm currently working on Chronos
- ๐ฌ Ask me about VueJS
- ๐ซ How to reach me: My LinkedIn Profile
- โก Fun fact: I love to program while outdoors.
Devise extension to prevent users from using a common password.
License: MIT License
Languages and Frameworks:
Currently it depends on rails (< 5.2, >= 4.2)
.
If you find that 100 passwords is not enough, here's my go-to password list:
https://github.com/danielmiessler/SecLists/tree/master/Passwords
I'm happy to create a PR for this, mainly checking if you are interested in the idea/think it makes sense for this gem.
I would like to add a configuration to uncommon_password to call
https://haveibeenpwned.com/API/v2#PwnedPasswords
This would be opt in, as people already using the gem may not want hashed user passwords being sent to a third party.
Hi!
Rails 7.1 was released on October 5.
Could you update the gem to support this version?
Thanks!
Rails 7.1: Dockerfiles, BYO Authentication, More Async Queries, and more!
Is this gem still maintained?
If so, it would be great if you can allow localization of the error message.
This block
devise-uncommon_password/lib/devise/uncommon_password/model.rb
Lines 33 to 37 in cca8f40
Should probably just have something like:
errors.add(:password, :common)
Which will just allow us to define the message in a localization file:
# config/locales/activerecord.en.yml
en:
activerecord:
errors:
models:
user:
attributes:
password:
common: "must not be a commonly used password"
I'm looking to potentially use this gem, but according to the gemspec and rubygems, Devise 4.8 isn't supported, so I'd have to downgrade.
Is it possible to add support for this? I'm not sure if this is trivial or difficult, but this version has been out for about 6 months now.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.