• bleistift2@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    2
    ·
    3 hours ago

    I forget. Are passkeys the access method that prevents you from logging in ever again if you lose access to a device?

    • Assassassin@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      10
      ·
      3 hours ago

      Typically, no. You’re thinking of TOTP/Authenticator based 2FA. Those still come with backup codes in case you break the phone that has the TOTP codes warehoused. I always recommend keeping those backup codes saved in the notes of whatever password manager you’re hopefully using.

      Passkeys are essentially just one half of a cryptographic key pair (like what you’d use for authenticating SSH without passwords). These allow you to authenticate once using password + 2FA, then use the generated passkey for future sessions. Since these are much more complex than passwords and remove the need to actually remember anything, they are significantly more secure.

      There are also some other features that I’m forgetting, and that may not be a perfectly accurate description, but I think you can get the gist.

      • Jesus_666@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        2 hours ago

        Passkeys are supposed to be bound to one device and protected by that device’s OS’s secure enclave. If you have a second device you’re supposed to create a second passkey.

        That’s why many sites will flat out refuse to let you create a passkey with a desktop browser since a PC-stored passkey doesn’t fit the security model.

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

          Yeah, that’s how I understood it to work, as well. I didn’t mention it because I’ve seen a bunch of different implementations that don’t seem to work that way. I didn’t want to speak too much on that specific point, since I don’t have a very thorough understanding of it.

    • 4am@lemmy.zip
      link
      fedilink
      arrow-up
      3
      ·
      2 hours ago

      Only if you use the OS built-in saving.

      Most password managers support them at this point, making them portable and secure.