We’ve all been there.

  • SkadusX@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 year ago

    Also fun is when the field to initially set the password is also character limited and you choose a password that’s longer than the field but don’t notice until you’ve set it and get repeated login failures afterward

    • TheNH813@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      ·
      1 year ago

      Yeah that nearly makes me want to smash something when it happens. Anyone that silently truncates passwords should NOT do it, or at least truncate the creation AND login forms. Just say the limit and give a error, or handle extra input the way you’re supposed to in the enceyption algorithm and hash it to to the correct length. A length limit of say, the amount of bits the encryption key has, like 32/64/128 chracters for 256/512/1024 bit, is reasonable, any other limit is stupid.