Small rant incomming. I just went to look at applying to Walmart, and when going to make an account their password requirements were 8-11 characters. What kinda nonsense is that? Some terribly made backend I’d assume. It’s bad enough I gotta make a million accounts when applying to jobs but then you got my PII sitting behind such terrible password requirements it makes me wonder where else they are cutting corners on security.

  • Scott
    link
    fedilink
    431 day ago

    All stored passwords should be salted and hashed. That means each one uses the same amount of space, regardless of original length.

    There should definitely be a minimum length but not a maximum (within limits; let’s not break web standards or the laws of thermodynamics).

    • @[email protected]
      link
      fedilink
      251 day ago

      but not a maximum

      well if there is, at least be glad when they tell you. i once met a system that let you enter whatever, and then just ignored anything behind nth (where n was ~10) character…

      • @Fribbtastic
        link
        15
        edit-2
        19 hours ago

        Oh, let me tell you about Playstation that I had the pleasure of having to deal with it.

        I needed to log in to my Playstation account but it told me that my username or password was wrong. Okay, send me a reset link. I got the link and set my new password.

        I use Bitwarden and my password generator is set to 32 characters by default.

        I generate a new password, paste that into the new password field, click okay and everything is fine, password changed. I save that new password in my vault and go back to the login site. I use the just changed credentials: Wrong username or password.

        Well, turns out that the Password reset field is limited to 30 characters but the problem is that NOWHERE is it stated that your password has a max length. Not to mention that they don’t tell you that your password was modified and cut short. The login password field, however, does allow more than 30 characters.

        This means that you generate a 32-character password and paste that into the password reset field, this then gets cut short to 30 characters, click save and then use the same password on the login, which is 32 characters. This now obviously doesn’t work because those passwords aren’t the same.

        Fun times. The worst part is that the first support person just went “Well, everything looks fine on our side. Sucks for you. Goodbye”.

      • @[email protected]
        link
        fedilink
        5
        edit-2
        1 day ago

        I’ve once had a password that was over 200 characters long. That was in a custom email server where the admin either didn’t know or care about limitations. I mean, if you can have a super long password, then why not. I just kept on going until I felt like it was secure enough.

        I used a randomly generated character soup, so there’s no way I’m ever going to memorize that nightmare of a password. Even if I print it on paper and hand to you, there’s a pretty good chance that you wouldn’t be able to type it correctly without restoring to OCR.

        • subignition
          link
          fedilink
          320 hours ago

          I entered a gold tier password for Golden Sun: The Lost Age so I have that shit locked down

        • LostXOR
          link
          fedilink
          219 hours ago

          At that point why not use key based authentication?

          • @Fosheze
            link
            414 hours ago

            Pastes private key into password box.

    • @[email protected]OP
      link
      fedilink
      71 day ago

      you mentioned salting and hashing that reminds me of places that use to put companies on blast for storing passwords in plaintext.

  • @ohwhatfollyisman
    link
    231 day ago

    … 8-11 characters.

    they wanted to one up their retail competitor 7-11, maybe?

    • @ohwhatfollyisman
      link
      61 day ago

      … 8-11 characters.

      shouldn’t be a problem. take the dwarves and Snow White as a minimum. throw in the evil stepmom, woodsman, and magic mirror if you need them.

  • @graycube
    link
    823 hours ago

    If you allow unlimited length inputs of any kind, someone will break your system. 11 is way too short. But you do need some sort of maximum, even if it is very large.

    • @[email protected]
      link
      fedilink
      1417 hours ago

      If you’re storing the password in the form the user entered it, you’re doing it wrong already.

      • @graycube
        link
        312 hours ago

        Even if you aren’t storing it, if you allow unlimited length someone will break your stuff.

    • @[email protected]
      link
      fedilink
      6
      edit-2
      19 hours ago

      I just went to look at applying to Walmart

      I’m assuming they meant online. I don’t know what it’s like where you are, but basically every employer requires an account to submit an application…

    • @[email protected]
      link
      fedilink
      91 day ago

      Why stop there? 128 or 256 sound much nicer. Actually, while you’re at it, 4096 should be enough to fit a short story.

      • @cynar
        link
        321 hours ago

        There are use cases where long passwords could be problematic. 64 would be long enough for most purposes, but short enough not to cause issues for things like microcontrollers.

        It should be paired with a strongly recommended larger value, however.

  • @[email protected]
    link
    fedilink
    0
    edit-2
    23 hours ago

    I use my password manager to generate 32 character or 64 character passwords whenever possible.

    That’s actually a good part of why I trust cryptocurrency over my bank because my bank has all sorts of personally identifiable information and stupid short password requirements where cryptocurrency has no personally identifiable information and seeds are extremely long and complex.