In password security, the longer the better. With a password manager, using more than 24 characters is simple. Unless, of course, the secure password is not accepted due to its length. (In this case, through STOVE.)

Possibly indicating cleartext storage of a limited field (which is an absolute no-go), or suboptimal or lacking security practices.

  • @OsKe@lemm.ee
    link
    fedilink
    English
    520 days ago

    At least they tell you. I signed up with websites that just cut the password after the 12th character. No way of signing in with the password again (not without trying a couple of times, at least)

  • @tarsisurdi@lemmy.eco.br
    link
    fedilink
    English
    4
    edit-2
    22 days ago

    I once registered an account with a random ~25 characters long password (Keepass PM) for buying tickets on https://uhuu.com.br/

    The website allowed me to create the account just fine, but once I verified my e-mail, I couldn’t log into it due to there being a character limit ONLY IN THE LOGIN PASSWORD FIELD. Atrocious.

    EDIT: btw, the character limit was 12

    • Skull giver
      link
      fedilink
      English
      322 days ago

      PayPal did the same. Registration took 40 characters, login only half of that. Editing the login form didn’t work unfortunately.

    • @FiniteLooper@lemm.ee
      link
      fedilink
      English
      121 days ago

      I’ve had this exact same thing happen.

      I’ve also had it happen where you have the two fields to verify the password is the same. One had a maxlength set in it, and the other didn’t. I was for sure entering the same password and I was so confused until I opened up the dev tools and inspected the inputs.

      • @scintilla@lemm.ee
        link
        fedilink
        English
        -221 days ago

        I understand a cap of like 64 characters or something to keep storage space down for a company with millions of users. other than that it doesn’t make a ton of sense.

        • Redjard
          link
          fedilink
          English
          321 days ago

          That is a huge red flag if ever given as a reason, you never store the password.
          You store a hash which is the same length regardless of the password.

        • @mic_check_one_two@lemmy.dbzer0.com
          link
          fedilink
          English
          0
          edit-2
          21 days ago

          The cap should actually be due to the hashing algorithm. Every password should be the exact same length once it is salted and hashed, so the actual length of the password doesn’t make a difference in regards to database size. The hash will be a set length, so the storage requirements will be the same regardless. Hashing algorithms have a maximum input length. IIRC the most popular ones return a result of 64-255 characters, and cap at 128 characters for input; Even an input of just “a” would return a 64 character hash. But the salt is also counted in that limit. So if they’re using a 32 character salt, then the functional cap would be 96 characters.

          Low character caps are a huge red flag, because it means they’re likely not hashing your password at all. They’re just storing them in plaintext and capping the length to save storage space, which is the first mortal sin of password storage.

  • katy ✨
    link
    fedilink
    English
    420 days ago

    when you varchar(24) and forget about the hash

  • @bunnyBoy@pawb.social
    link
    fedilink
    English
    420 days ago

    One of the accounts that I have to use at my job is like this but much much worse. It only accepts letters and numbers, no capitalization, no symbols and can only be 8 digits long maximum. It’s like they want to account to be easy to compromise.

    • @JcbAzPx@lemmy.world
      link
      fedilink
      English
      320 days ago

      That sounds like the limitations of an ancient mainframe system. If so, then someone trying to brute force their way in would be more likely to crash the system instead.

  • @MolecularCactus1324@lemmy.world
    link
    fedilink
    English
    321 days ago

    At least they tell you. I’ve had inputs take the full password and then truncate it silently, so you don’t actually know what they saved. Then, you try to login and they tell you wrong password.

    • Liz
      link
      fedilink
      English
      121 days ago

      I once encountered a system that truncated your submitted password if you logged in through their app, but not through their website. So you would set your password through the website, verify that the login was working (through the website) and then have that same login fail through the app.

    • @Tenkard@lemmy.ml
      link
      fedilink
      English
      121 days ago

      Yes I’ve had issues with this as well, since I’m a child I’ve set my password generator length at 69 characters… A small trick I’ve found is to delete and rewrite the last character of one of the two repeated passwords since often the validity check gets triggered on write but not on paste

    • @pleasejustdie@lemmy.world
      link
      fedilink
      English
      5
      edit-2
      20 days ago

      The problem is a password hash is a fixed length regardless of the password, so if this is implemented correctly there is no need for a maximum password length. These things raise my security flag because it makes me think they are storing the password in plain text instead of doing proper practice and storing the hash only.

  • Rei
    link
    fedilink
    English
    221 days ago

    The password should be hashed anyway, which has a fixed output

  • magic_lobster_party
    link
    fedilink
    222 days ago

    What’s more frustrating is when the password creation page is silently cutting off too long passwords and don’t inform you about it.

  • @kepix@lemmy.world
    link
    fedilink
    English
    221 days ago

    i once used 20 for a bank. the website havent told me it was too long just clipped off 2 and accepted the rest. not even the banking support was able to help me. took me a few days to solve this by accident.

    • Nora (She/Her)
      link
      fedilink
      English
      120 days ago

      This shit always pisses me off. I’ve encountered it in like 2-3 places over the years since I started using a password manager, and every time it’s so frustrating and hard to figure out.

  • @UpperBroccoli@lemmy.blahaj.zone
    link
    fedilink
    English
    221 days ago

    We have a customer, a big international corporation, that has very specific rules for their intranet passwords:

    • Must contain letters
    • Must contain numbers
    • Must contain special characters
    • No repeats
    • Passwords must be changed every two months
    • Not the same password as any of the last seven
    • PASSWORDS MUST BE EXACTLY EIGHT CHARACTERS LONG

    I can only assume that whoever came up with these rules is either an especially demented BofH, or they have some really really weird legacy infrastructure to deal with.

    • @drewcarreyfan@lemm.ee
      link
      fedilink
      English
      121 days ago

      I am a designer, but I once did a project with a very very major and recognizable tech corporation that, no joke, implemented an 8 character limit on passwords for storage reasons.

      This company made in the tune of tens of billions of dollars per year, and they were penny-pinching on literal bytes of data.

      I can’t say who it is, but their name begins with ‘M’ and ends in ‘cAfee.’

      • JackbyDev
        link
        fedilink
        English
        121 days ago

        If password length affects storage size then something has gone very wrong. They should be hashed, not encrypted or in plaintext.

    • @blacia@lemmy.blahaj.zone
      link
      fedilink
      English
      121 days ago

      I worked in IT for a big national company for a short time. Passwords rules were : at least 8 characters, at least one uppercase letter, at least one number, change password every 2/3 months and different than the 3 previous ones. Several workers had a post-it on the screen with the 4 passwords they use. One of them had name of child and year of birth, I don’t know if it was his children or his relatives’ children too.

    • Omega
      link
      fedilink
      English
      -121 days ago

      No repeats??? Like, you cant have ‘aaaa123@’ as a password?

      You’re just making it easier to brute force…

  • @Kissaki@feddit.orgOP
    link
    fedilink
    English
    122 days ago

    I’ve had a case in the past where I reduced my password to the limit, but after account creation, I was not able to log in.

    Turns out they had an off-by-one issue, and a password with a length slightly below the limit worked fine.

  • @mcat@lemmy.world
    link
    fedilink
    English
    121 days ago

    My worst experience so far was a webpage that trimmed passwords to 20 characters in length without telling you. Good luck logging in afterwards…

    • @Randelung@lemmy.world
      link
      fedilink
      English
      121 days ago

      Common mistake for amateurs that found a password library and used it without reading the documentation. E. g. bcrypt will tell you to salt and hash the password before digesting it into constant length output for your database.

      Salting before doing anything else is basic password security. I assume the webpage in question doesn’t do that, either.

    • @drewcarreyfan@lemm.ee
      link
      fedilink
      English
      121 days ago

      One of my favorite memories of how much Something Awful’s sysadmins were absolutely amateur hour back in the early 2000s was the “lappy” to “laptop” debacle. Apparently Lowtax found the term “lappy” so annoying that he ordered his system administrator to do a find/replace for every instance of “lappy,” replacing them with “laptop.”

      Unfortunately this included usernames and passwords, as well as anything that just managed to have the letters “lappy” in that order anywhere in the word. So, there was one user named ‘Clappy’ who woke up one day to find his name changed to ‘Claptop.’ Apparently this is also how people discovered that they were storing password unsalted in plain text in a fucking MySQL database, which if you’re old enough, you probably already remember that the combination of MySQL and PHPmyAdmin were like Swiss cheese when it comes to site defense. :p

  • @TheObviousSolution@lemm.ee
    link
    fedilink
    English
    121 days ago

    Some people even suggest typing a longer password over a simpler one with more special characters. It’s harder to brute force.

    • @veni_vedi_veni@lemmy.world
      link
      fedilink
      English
      1
      edit-2
      21 days ago

      I thought the use vocabulary lookup tables effectively nullifies the entropy benefits, if everyone started using phrases as password

      • KubeRoot
        link
        fedilink
        English
        221 days ago

        Obligatory xkcd.

        I don’t know enough to say how accurate the numbers are, but the sentiment stands - if it’s a password you’re memorizing, longer password will probably be better.

        • Jyek
          link
          fedilink
          English
          220 days ago

          That’s not even the case though. Using a memorized passphrase that can be broken down into individual words is susceptible to dictionary attacks provided you know what the length of the password is. You can algorithmically sort away swathes of the dictionary based on how many likely word combinations exist before searching unusual word combinations. The thing is, passwords suck. It doesn’t matter how long the password is, if someone wants in, they’ll crack the password or steal it via some other means. Instead of relying on a strong password, you need to be relying on additional proof factors for sign in. Proper MFA with actual secure implementation is far more secure than any password scheme. And additionally, hardware key authentication is even more secure. If you are signing into an account and storing important data there, you do not want to rely on passwords to keep that data secure.

          The reason for the character limit on passwords is often to prevent malicious attacks via data dumping in the password dialogue box. Longer numbers take more CPU cycles to properly salt and encrypt. Malicious actors may dump as many characters in a password system as they wish if they wanted to take down a service or at least hurt performance.

          Additionally, even if you just used lowercase letters, an 18 character password would take 12 RTX 5090s approximately 284 thousand years to crack according to the recent Hive Systems report.

          24 characters is more than enough to be secure as far as passwords alone go. Just know that, nobody is out here brute forcing passwords at any length these days, there are infinite more clever ways of hacking accounts than that.

  • @4am@lemm.ee
    link
    fedilink
    English
    1
    edit-2
    21 days ago

    Don’t worry, pretty soon they will just block password managers from autofilling fields on their login page so that you HAVE to remember your password! Then you’ll be happy it can’t be that long, you can only fit so much on a post-it note on the side of your monitor

    /s

    EDIT: I think there should be a law against blocking password managers for filling in fields. Any brute force bots are going to submit HTTP requests directly anyway; no one is hitting the DOM to do that

    • @bleistift2@sopuli.xyz
      link
      fedilink
      English
      021 days ago

      think there should be a law against blocking password managers for filling in fields.

      I’ve never heard of anyone trying to do that. I couldn’t even imagine how a website could detect a password manager.

      • @PracticalParrot@discuss.tchncs.de
        link
        fedilink
        English
        121 days ago

        I’ve seen a couple of times. It’s the same ones that block copy/paste on password fields. The workaround is to write a short python script using pyautogui or similar to “type” out the clipboard content.

      • @BradleyUffner@lemmy.world
        link
        fedilink
        English
        1
        edit-2
        21 days ago

        I’ve had banks do it in the past. It’s not that they can “detect” the password manager, they just use a method that’s incompatible with them.

        They have a fake input field and capture keypress events via JavaScript directly from the dom, then just make it look like you typed in to the input field. They don’t read the password from the input field, they build it up in memory from those key press events.

        It also completely breaks accessibility software, which is the main reason I think the industry moved away from doing it for the most part.