Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×
Security Privacy

New Passkey Specifications Will Let Users Import and Export Them (9to5mac.com) 29

9to5Mac's Filipe Esposito reports: Passkeys were introduced two years ago, and they replace traditional passwords with more secure authentication using a security key or biometrics. To make the technology even better, the FIDO Alliance published on Monday new specifications for passkeys, which ensure a way to let users import and export them. Currently, there's no secure way to move passkeys between different password managers. For example, if you've stored a specific passkey in Apple's Passwords app, you can't simply move it to 1Password, or vice versa. But that will change soon.

As just announced by the FIDO Alliance, the new specifications aim to promote user choice by offering a way to import and export passkeys. The draft of the new specifications establishes the Credential Exchange Protocol (CXP) and Credential Exchange Format (CXF) formats for transferring not only passkeys, but other types of credentials will also be supported. The new formats are encrypted, which ensures that credentials remain secure during the process. For comparison, most password managers currently rely on CSV files to import and export credentials, which is much less secure.

This discussion has been archived. No new comments can be posted.

New Passkey Specifications Will Let Users Import and Export Them

Comments Filter:
  • Good and bad (Score:5, Insightful)

    by NotEmmanuelGoldstein ( 6423622 ) on Monday October 14, 2024 @08:51PM (#64864911)

    ... import and export them.

    The inability to copy passkeys was originally touted as a benefit. Unfortunately that means, there always needs to be less secure means of authentication because hardware-based authentication must be replaced, sooner or later. This fixes that problem, returning us to all the old problems with authentication technology.

    ... formats for transferring not only passkeys, but other types of credentials ...

    We've had TOTP for 12 years, why did it take so long to make a necessary and much-needed inter-change standard?

    • Re:Good and bad (Score:5, Informative)

      by ctilsie242 ( 4841247 ) on Monday October 14, 2024 @09:20PM (#64864939)

      TOTP, as in Google Authenticator does have the ability to do backups, as it is just a shared secret. Most PW managers allow easy export and backups of that.

      PassKeys, on the other hand, are public/private keys. Unlike TOTP, where the hashing is symmetric, the security with PassKeys is public key. It also is highly resistant against phishing attempts [apple.com]. Normally they are bound to devices and can't get backed up. However, some apps like 1Password can back those up and allow them to work on different hardware.

      Overall, being able to back up PassKeys is a good one. Less need of dealing with recovery stuff.

      • by ls671 ( 1122017 )

        What could possibly go wrong indeed?

        • by Z00L00K ( 682162 )

          I'm just waiting for a hole in one of the passkey databases to see the world burn.

          Every database used to store authentication data is a risk. The smaller the database is the smaller the consequences. If there's a breach of 1Password I'd expect a disaster. If my password file is broken I'd get some headache and might lose some files.

          • by unrtst ( 777550 )

            I'm just waiting for a hole in one of the passkey databases to see the world burn.

            I suspect that's part of the justification for the original design discouraging transfer/use of passkeys on multiple devices. IE: let's not repeat the mistakes of past and store what is essentially the cleartext secret on the server side (password manager, or passkeys implementations like Google's and MS Windows Hello).

            On the plus side, individual sites would only be storing the public key part, and there is no harm in that getting out in the wild.

            Every database used to store authentication data is a risk.

            Sort of. Everything that is storing user credentials/secrets

      • Overall, being able to back up PassKeys is a good one. Less need of dealing with recovery stuff.

        If it can be exported intentionally, it can be exported unintentionally (stolen).

        If it can be stolen, it will be stolen.

        The better solution is to establish different passkeys on different hardware for the same user. Rather than having backup copies of the key, you have backup access via a different device.

    • "Non-exportable passkeys" are pretty simple: Use a YubiKey. The 5C NFC works on pretty much everything, and in most cases, is indistinguishable from a software passkey.
    • Re: (Score:2, Informative)

      by Anonymous Coward

      The inability to copy passkeys was originally touted as a benefit.

      A touted promise that is, at this level, difficult to guarantee.

      Passkeys slot in at the same level as session cookies, but being public/private key based instead of shared secret, that gave the optional benefit of secure private key management.

      Options are good. It's the promise that option is always available that is bad.
      PC 1 has a proper TPM chip that can store such keys, but PC 2 a year older with the same model number has an older TPM (or none) so falls back on some software solution that stores data on

    • Re:Good and bad (Score:4, Insightful)

      by AmiMoJo ( 196126 ) on Tuesday October 15, 2024 @04:08AM (#64865365) Homepage Journal

      Being able to copy Passkeys was touted as a feature from day one. They would sync accross devices, i.e. be copied.

      The advantages were never anything to do with not being copyable. They were things like not working with phishing sites (because they are tied to a specific domain), and being much more difficult to crack than the average user's password.

    • TOTP always had interchange via the original mechanisms (qr code or encoded string), even if apparently Google did not support them initially.

      My take is that passkeys suffer from lack of adoption.

    • > there always needs to be less secure means of authentication because hardware-based authentication must be replaced, sooner or later.

      Thats not the case; there is a much better approach which doesnt require a security compromise: spare passkeys pre-configured as fallbacks apriori.

      Google already implements this by requiring 2 passkeys when you enable their highest security settings. One is the active/primary, and the other serves as a backup in case your primary passkey gets lost or destroyed. So you can

    • The issue with passkeys isn't that you can't copy them. It's that you can't usually store multiple. This is a non-issue if every 2FA site has the ability store multiple second factors and multiple of each type.

  • by Sir Realist ( 1391555 ) on Monday October 14, 2024 @10:06PM (#64864975)
    "...CSV files to import and export credentials, which is much less secure."

    I was trying to come up with a joke, but I got nothin funnier than that titan of an understatement.

    • by jddj ( 1085169 )

      ...or alternatively in raw SQL";DROP TABLE passkeys;

    • For a password manager not running in a secure enclave, it's not much less secure. Okay, you could leave a copy in a cloud email archive, but what's more likely to get hacked? Your PC or a cloud provider?

      It's like all the blowhard accusations of disastrously poor safety when software doesn't encrypt stuff at rest even though it doesn't use its own password to start, often leveled at Firefox ... what's the bloody point if the decryption key is right there too?

  • ...to turn on iCloud keychain, which i #donotwant

    • by guruevi ( 827432 )

      Any password manager will sync your Passkeys. iCloud does it, using a password manager is a must, if you don't have one, iOS will keep badgering you to get one, that is good.

  • I use a password manager, probably most /. people do. If I need to log into a website, I can copy/paste the password into the browser. Unless I let it, the browser does not remember or process the password in any way.

    From what I'vecsern, that's not true with passkeys. They require a browser plugin, and your password manager has to hand off the passkey to the plugin. Like handing your car keys to a valet - maybe he's a stand-uo guy, and...maybe not.

    It's an extra step, one more agent that has to work, and h

    • by AmiMoJo ( 196126 )

      If you don't trust the browser then you are already screwed, because when you copy/paste your password in it can be snagged by malware.

      Most peolpe use the browser's built in password manager, or something like Bitwarden via an add-on.

    • Re:What I dislike (Score:4, Informative)

      by Sneftel ( 15416 ) on Tuesday October 15, 2024 @05:04AM (#64865433)

      They require a browser plugin, and your password manager has to hand off the passkey to the plugin.

      That's not how it works, no. The browser asks the server to authenticate; the server gives it a single-use challenge, the browser passes the challenge to the password manager, which produces a response; the browser returns the response to the server. The browser never has the keys that would be necessary to respond to the passkey challenge.

      Like handing your car keys to a valet - maybe he's a stand-uo guy, and...maybe not.

      It's just the opposite. Every time you paste a password into a browser, you're trusting it (and the site, and any plugins with permissions) not to leak it. With passkeys that is not a concern.

  • Maybe we could come up with a qr code that is readable by humans and they could use that with some kind of login name in place of a passkey, I would call it a password.

Two can Live as Cheaply as One for Half as Long. -- Howard Kandel

Working...