Giter Site home page Giter Site logo

Comments (5)

internalfx avatar internalfx commented on July 20, 2024 1

Complexity is not a metric we should measure. That is part of the problem with the way most of us (including me at one time) used to think about password security.

The fact is...

Complexity != Security

So we should measure for security not complexity, and anything under 10 chars (depending on slowness of the algorithm) is inherently insecure.

I think we should also check against leaked password lists if we want to be more proactive. But "composition rules" need to go, and short passwords do too.

https://nakedsecurity.sophos.com/2016/08/18/nists-new-password-rules-what-you-need-to-know/

from core.

ToastWallet avatar ToastWallet commented on July 20, 2024 1

Looks like exactly what we need thanks!

from core.

ToastWallet avatar ToastWallet commented on July 20, 2024

Hi Bryan

Thanks for the pull request.

Entering passphrase on mobile is a pain. Shorter passphrase with a greater complexity is advantageous in this setting. But I agree it makes it more likely that users will forget their passphrase, and also more likely users will pick short passphrase they merely think are complex when they aren't.

Rather than remove the other rules and replace them with a minimum 10 char length, it might be better to come up with an algorithm to test complexity (or find an existing one that isn't too heavy weight). Then according to that algorithm we will let them set the requested passphrase or not. So a short passphrase with high complexity would pass, as would a long phrase with low complexity, but a short passphrase with low complexity would fail.

Interested to see what you come up with!

from core.

ToastWallet avatar ToastWallet commented on July 20, 2024

Sorry let me clarify: when I say complexity I actually mean entropy per character taking into account password lists and common brute force techniques. This is what I think we should measure.

from core.

internalfx avatar internalfx commented on July 20, 2024

Sounds like we're on the same page.

Have you considered zxcvbn?

https://github.com/dropbox/zxcvbn

from core.

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.