• Lem453@lemmy.ca
    link
    fedilink
    arrow-up
    18
    arrow-down
    2
    ·
    11 months ago

    Most people that have password managers are already using different passwords for each website. Usually randomly generated. What’s the difference between that and a passkey?

    • AmberPrince@kbin.social
      link
      fedilink
      arrow-up
      8
      ·
      11 months ago

      A pass key is the private key in a private/public key pair. The private key is stored in the TPM on your device. The website contains the public key. When you use your “one password” you’re in effect giving your device permission to access the key storage in your TPM to fetch the private key to present it to the site.

      What this means in practice is that if a website has a data breach they won’t have your hashed password, only your public key which… is public. It doesn’t and can’t do anything on its own. It needs the private key, which again only you have and the website doesn’t store, to do anything at all.

      If you want to read more about it look into cryptographic key pairs. Pretty neat how they work.

      • meteokr@community.adiquaints.moe
        link
        fedilink
        arrow-up
        3
        ·
        11 months ago

        When you use your “one password” you’re in effect giving your device permission to access the key storage in your TPM to fetch the private key to present it to the site.

        Very small correction as I understand, but your private key is never presented. The web service should never interact with the private key directly. Your device is signing some bit of data, then the server uses your public key to verify that it was signed by your private key. Its a small distinction, but is one of the principal uses of asymmetric encryption is that the public key can truly be public knowledge and given to anyone, while the private key is 100% always only accessed by you the user.

        • Natanael@slrpnk.net
          link
          fedilink
          arrow-up
          2
          ·
          11 months ago

          Yeah, the TPM should perform the signature inside of the security chip, the key is always off limits from everything else

    • 📛Maven@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      1
      ·
      11 months ago

      Right. Most people that have password managers. Making a password manager easier and more convenient to use means some portion of people who aren’t using one may start.

      • Amju Wolf@pawb.social
        link
        fedilink
        arrow-up
        3
        ·
        11 months ago

        Realistically this is the biggest overall advantage.

        Sure, there are minor advantages to people already using password managers, but that’s such a tiny minority of people…

    • Natanael@slrpnk.net
      link
      fedilink
      arrow-up
      2
      ·
      11 months ago

      Passkeys use cryptographic keys held client side which are never transmitted, they user cryptographic challenge-response protocols and send a single use value back. You can’t intercept and reuse it unlike with passwords.