• Strider@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    6 hours ago

    I still stand by xkcd 936.

    Since no one can know which characters you used, you have to assume all/most. Throw one character in there to be safe, in the middle of a word.

    Banks on the other hand: no you’re only allowed 4 numbers!

  • stopforgettingit@lemmy.world
    link
    fedilink
    arrow-up
    29
    ·
    20 hours ago

    Nothing infuriates me more than when they ask me to reduce my 20 char alphanumeric+symbols unique password to a 4 char numeric pin for my security.

    • Aeder@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      19 hours ago

      My (soon to be ex) bank recently decided to make everyone use their ID card number which can be obtained from many sources and does not change, a username with symbols and numbers and minimal length requirements which cannot be changed and a 4 digit pin code. No 2FA at all, so its only saving grace is that you get locked out at 3 tries.

      I’m guessing they are trying to align everything to their legacy ATM pin code system instead of making the ATM system better.

      • JoeBigelow@lemmy.ca
        link
        fedilink
        arrow-up
        1
        ·
        10 hours ago

        There is something about ATM system architecture that must be so ancient it ran on punch cards. In reality I’m sure it’s COBOL being COBOL but there’s hardly any excuse for a machine to take SO LONG to process a simple transaction.

      • Warl0k3@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        16 hours ago

        Credit unions really are refreshing (as much as a financial institution can be, at least). Mine’s utter shit, but they’ve still gone to unrestricted length ATM pins and options for 2FA / 3FA online access and they support FIDO2 for auth & transaction confirmation. It’s ridiculous how behind the establishment banks are getting.

  • lightnsfw@reddthat.com
    link
    fedilink
    arrow-up
    12
    ·
    24 hours ago

    I have 5-6 apps I log into for work that all have different password requirements and are on different expiration periods. One of them is so crazy that I have to take 3-4 spins on a password generator before I get one it will accept. We also don’t have a password manager that’s approved to install. So, the result of all this is that I store my passwords in onenote. Very secure. Great job everyone. At least for the less severe ones I can just put whatever number I’m tagging on the end of the usual password I use.

    • chiliedogg@lemmy.world
      link
      fedilink
      arrow-up
      11
      ·
      21 hours ago

      We had a system at one of my old companies that with each password change, you couldn’t have any of the same characters that were in your last password (12 character max so it was never impossible to solve), you couldn’t have the same character in the same place as any of your last 10 passwords, or the same character type (letter or number) in the same space as the last password. Also no special characters.

      The end result was everyone ended up using a1a1a1a1 for the first password, then 2b2b2b2b, c3c3c3c3, 4d4d4d4d, etc. The draconian password requirements resulted in everyone using the same passwords.

    • Hansae@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      3
      ·
      21 hours ago

      At work my main password has to be changed every two weeks and has insane requirements and we can only use some shit company approved password manager which I cant even install on a rooted phone. This has resulted me in just changing 1 digit every 2 weeks, 10/10 guys!

  • OddMinus1@sh.itjust.works
    link
    fedilink
    arrow-up
    3
    ·
    18 hours ago

    Do you want your password to be sent raw into a service to analyze your password entropy and detect common patterns, OR do you want a simple rule which can be checked client side?

  • CocaineShrimp@sh.itjust.works
    link
    fedilink
    arrow-up
    117
    ·
    2 days ago

    It’s also a gigantic red flag when sites say there’s a password limit

    Bitch, my password is supposed to be hashed so even if I uploaded the LOTR trilogy extended edition in 4K, it should still come out the same length as any other SHA256 hash

    • Toes♀@ani.social
      link
      fedilink
      arrow-up
      24
      ·
      2 days ago

      I appreciate the enthusiasm but my load balancer will get sad if I let you send more than 1500 bytes.

      • u/lukmly013 💾 (lemmy.sdf.org)OP
        link
        fedilink
        arrow-up
        6
        arrow-down
        1
        ·
        1 day ago

        First round of hashing could be done client-side, and then send that to the server.
        Would be cool to also add salt so that the hash couldn’t get re-used across services even with the same source password/file if somehow captured.

        Idea:

        1. Enter username
        2. Server sends salt to client
        3. Enter password or key file
        4. Client computes hash of the password or file with salt added (I have no idea how it’s used. If appended, some hashing functions could truncate the data, losing the salt. If prepended along with truncation, you just made the password even shorter. XOR?)
        5. Client sends hash to server
        6. Server hashes the hash same way as if it was password
        7. If it matches, you’re in

        Basically, the hash is your password. Data can be whatever.
        Most websites already use JavaScript, so why not.

        • takeda@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          2
          ·
          12 hours ago

          You could write a browser extension that converts your password to a hash. You could pick the hash yourself so the server has no way to figure what the original password was.

          You would essentially achieve the same thing.

        • Toes♀@ani.social
          link
          fedilink
          arrow-up
          4
          arrow-down
          1
          ·
          20 hours ago

          So, I was having trouble sleeping last night and found myself mulling over your idea.

          As any good sleep deprived tech I went down a rabbit hole. There are solutions that prepare the encrypted payload on the client side. But, why you don’t see solutions offering you to authenticate with the entire lotr series is that you hit a ceiling really fast where more data is the same security threshold as the former smaller data.

          If you want to derive security from large data there’s already a scalable solution in the form of private public key pairs, where the size of the key is directly tied to the security. So if you convert lotr to a prime number you can get somewhere with that approach.

          • NiHaDuncan@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            7 hours ago

            I’ve thought of the point where password length becomes irrelevant as well. Unless there some maths I don’t know that plays a role here, longer passwords become useless when x^n > K. Where x is the character set available for the password, n is the smallest length that meets the criteria of the formula, and K is the hash functions key space. Effectively, this would be due to the fact that brute forcing would be just as likely to find a collision as it would the actual password used.

        • Axolotl.cpp@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          4
          ·
          edit-2
          22 hours ago

          I’d rather not make the client do anything like that, you cannot trust a client, EVER; what if some script kiddie tries to send the clear passwd by modifyng the request? Ofc it’s a very minor problem but still…

            • Orygin@sh.itjust.works
              link
              fedilink
              arrow-up
              2
              ·
              21 hours ago

              I wouldn’t send the salt to the client. Have it hash the password, then the server hashes that with the salt for comparison and storage.
              But that would mean you can’t verify the password complexity server side, which can be bad for certain accounts.

              • u/lukmly013 💾 (lemmy.sdf.org)OP
                link
                fedilink
                arrow-up
                2
                arrow-down
                1
                ·
                20 hours ago

                If there would be an advantage to doing so, the server could still do that anyway. You’d just end up storing client salt and server salt.
                My main concern was MITM which doesn’t modify the webpage if web UI is used, such as on corporate networks which require client devices to have that network’s root certificate for scanning and activity logging.

                • Orygin@sh.itjust.works
                  link
                  fedilink
                  arrow-up
                  2
                  ·
                  14 hours ago

                  The client salt would need to be consistent and “public” since the client needs it before login. It’s basically useless.

        • SlurpingPus@lemmy.world
          link
          fedilink
          arrow-up
          3
          arrow-down
          1
          ·
          edit-2
          17 hours ago

          Basically, the hash is your password

          Exactly, this is equivalent to using a password of a particular length with only hex digits. It may be long, but the original data is completely unnecessary here.

          The salt adds nothing, since you can’t change it, as you need to produce the stored hash in the end on the server. There are methods of challenge-response authentication wherein the server sends a random challenge and the client hashes it, but that requires storing the password in cleartext on the server.

          • u/lukmly013 💾 (lemmy.sdf.org)OP
            link
            fedilink
            arrow-up
            2
            arrow-down
            1
            ·
            17 hours ago

            The salt adds nothing

            It prevents cross-service re-use, should the original password hash be obtained (if other services used the same system).

            Example (MD5 in b64 used for simplicity): Same password is used on website1 and website2. The password is password.
            password produces KGdV+tBIacpSMyCszg3GpA== which can be used for both websites.
            Now, if website1 adds sbo2 as salt, and website2 addsx3e5, you get:
            passwordsbo2 -> d0bd511zpYqG3//3vLGYRQ==
            passwordx3e5 -> 788BnQKx7B2KOSju2jviiQ==

            So if you are on a corporate network that does MITM (you had to add their root cert) for monitoring, they’ll only see a hash for each website separately, without being able to re-use it.
            Though that’s quite a bit of an edge case, and assumes no client modification or other monitoring.

            • SlurpingPus@lemmy.world
              link
              fedilink
              arrow-up
              2
              ·
              16 hours ago

              True, I got engrossed in thinking through your proposal and forgotten about the original intent of a salt. Happens to me from time to time, particularly with security topics for some reason.

        • SlurpingPus@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          20 hours ago

          If you mean that as sarcasm, there are multiple calculations of the complexity of such a password, in which it performs no worse than a random password of a typical length. Although for myself I still prefer random passwords stored in a password manager, with extra special characters and quite some reserve in length.

          • Axolotl.cpp@lemmy.dbzer0.com
            link
            fedilink
            arrow-up
            2
            ·
            19 hours ago

            Nah, it was not sarcasm, i’d use them myself if i wasn’t lazy, i just make my password manager generate and store the password

  • nullspace@lemmy.world
    link
    fedilink
    arrow-up
    30
    ·
    1 day ago

    Your password must be at least 10 characters long.

    ERROR: INVALID PASSWORD ENTERED!!!

    PASSWORD MUST NOT EXCEED 12 CHARACTERS!

  • Monument@piefed.world
    link
    fedilink
    English
    arrow-up
    58
    ·
    2 days ago

    In systems that accept whitespace, “Live, Laugh, Love” is considered a strong password.

    With that being said, “In systems that accept whitespace, “Live, Laugh, Love” is considered a strong password.” is an even stronger password.

    • taiyang@lemmy.world
      link
      fedilink
      arrow-up
      27
      ·
      2 days ago

      I love systems that accept “With that being said, “In systems that accept whitespace, “Live, Laugh, Love” is considered a strong password.” is an even stronger password.” as my password.

      • otacon239@lemmy.world
        cake
        link
        fedilink
        arrow-up
        19
        ·
        2 days ago

        For those that have full Unicode support, including newline characters and a very high or nonexistent character limit, using:

        For those that have full Unicode support, including newline characters and a very high or nonexistent character limit, using:

        I love systems that accept “With that being said, “In systems that accept whitespace, “Live, Laugh, Love” is considered a strong password.” is an even stronger password.” as my password.

        as your password is an even stronger password.

        as your password is an even stronger password.

  • shirasho@feddit.online
    link
    fedilink
    English
    arrow-up
    16
    ·
    1 day ago

    Requiring specific characters reduces the number of permutations. The only thing that makes a password more secure is increasing the minimum length. As the OP suggests, enforcing special characters makes most people just put a special character at the end. What you have effectively done is make the last character so easy to guess that it might as well not exist.

  • gastroglizzy@piefed.social
    link
    fedilink
    English
    arrow-up
    31
    arrow-down
    3
    ·
    2 days ago

    Fun fact: As an anti-scam measure, if you type your password in a comment, Lemmy will automatically censor it for you.

    Like this:

    ************

    Cool, right?

  • QualifiedKitten@discuss.online
    link
    fedilink
    English
    arrow-up
    14
    ·
    1 day ago

    My new job has us doing various security trainings every month and they also send out fake phishing emails. I initially ignored the emails prompting me to do the training because they require you to click a personalized link in the email to access the training. Eventually, my manager reached out and asked why I hadn’t done the training, so I explained, but finally clicked through to do it. That month’s training was about how a long passphrase is more secure than a list of character type requirements. Guess whose password requirements are a list of character type requirements?