• towerful@programming.dev
    link
    fedilink
    arrow-up
    9
    ·
    1 year ago

    Client side hashing of a password just makes the hashed result the password, as far as security is concerned.
    Unless there is some back-and-forth with the server providing a one-time-use salt or something to make each submission of the password unique and only valid once, at which point that might get snooped as well.
    Better off relying on client certificates if you are that concerned

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

      Passkey’s approach is actually relatively close to client side certificates. It’s just in a form that is compatible with using a password manager. From the user standpoint once everything supports it properly, logins become relatively transparent and man-in-the-middle is pretty effectively mitigated. The other upside is of course unless you’re hosting your own stuff, no one supports client side certificates. This is an opportunity for all the big players to actually push people into better security.