Giter VIP home page Giter VIP logo

Comments (5)

vijayp avatar vijayp commented on July 20, 2024

There is a bloom filter of a bunch of common passwords. If any word on the
common password list appears, it penalizes it, see:
https://github.com/mitro-co/mitro/blob/master/browser-ext/login/frontend/static/js/passwords.js

On Thu, Jul 31, 2014 at 12:15 PM, Peter Eckersley [email protected]
wrote:

As you type a really strong password, the strength indicator goes up to
"strong" and then bounces back down to "weak" again.

Seems like it should either stick at "strong", or bounce back to "super
strong", "insanely strong", etc.


Reply to this email directly or view it on GitHub
#1.

from mitro.

vijayp avatar vijayp commented on July 20, 2024

(so that "this is great passwor" is treated as better than "this is great
password").

Happy to accept suggestions for a better algorithm.

On Thu, Jul 31, 2014 at 12:17 PM, Vijay Pandurangan [email protected] wrote:

There is a bloom filter of a bunch of common passwords. If any word on the
common password list appears, it penalizes it, see:
https://github.com/mitro-co/mitro/blob/master/browser-ext/login/frontend/static/js/passwords.js

On Thu, Jul 31, 2014 at 12:15 PM, Peter Eckersley <
[email protected]> wrote:

As you type a really strong password, the strength indicator goes up to
"strong" and then bounces back down to "weak" again.

Seems like it should either stick at "strong", or bounce back to "super
strong", "insanely strong", etc.


Reply to this email directly or view it on GitHub
#1.

from mitro.

sarciszewski avatar sarciszewski commented on July 20, 2024

The bloom filter idea there is pretty neat.

If you need a recommendation, https://github.com/dropbox/zxcvbn is a good library.

from mitro.

pde avatar pde commented on July 20, 2024

The bloom filter idea is not a bad one, it's just that the password strength measure should incorporate it in an entropy estimation model. For instance, if I start with this password:

pree!7fixee

it's labelled "good" ; but if I add an extra word on the end

pree!7fixeething

it becomes weak. In fact it's clearly a stronger password. The right way to do this is probably to estimate the entropy contributed by each character in the password (less if that character is in a dictionary word, more if it's not). zxcvbn seems to do this decently well, so we should probably just use it.

from mitro.

vijayp avatar vijayp commented on July 20, 2024

Yeah, this is a very good point.

On Fri, Aug 1, 2014 at 7:54 PM, Peter Eckersley [email protected]
wrote:

The bloom filter idea is not a bad one, it's just that the password
strength measure should incorporate it in an entropy estimation model. For
instance, if I start with this password:

pree!7fixee

it's labelled "good" ; but if I add an extra word on the end

pree!7fixee_thing_

it becomes weak. In fact it's clearly a stronger password. The right way
to do this is probably to estimate the entropy contributed by each
character in the password (less if that character is in a dictionary word,
more if it's not). zxcvbn seems to do this decently well
https://dl.dropboxusercontent.com/u/209/zxcvbn/test/index.html, so we
should probably just use it.


Reply to this email directly or view it on GitHub
#1 (comment).

from mitro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.