Edit: @[email protected] solved it. It says “one special character”. Not “at least one”.

  • SpaceCowboy
    link
    fedilink
    arrow-up
    2
    ·
    8 days ago

    IMO it should even be hashed on the client side before being sent so that it doesn’t show up as plaintext in any http requests or logs. Then salted and hashed again server side before being stored (or checked for login).

    But if someone got that hashed version they could hack the client to have client side hashing code just send that hashed value to the server. You’d want to have the server to send a rotating token of some sort to use for encrypting the password on the client and then validate it on the server side that it was encrypted with the same token the server sent.

    Seems complicated to me… https is probably has good enough encryption, so eh, whatever.

    • Buddahriffic@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      8 days ago

      Yeah, if they are able to intercept traffic or access the logs, they probably already have other access to the account without needing the password. If you don’t reuse passwords, then your other accounts will be safe from that.