News for hackers. Stuff that matters.
Re:Passkeys are just passwords that require a password manager by lukeschlather on Monday August 04, 2025 @11:21PM (#44793992)
Can I store a passkey on a YubiKey?
Re:Passkeys are just passwords that require a password manager by chipsrafferty on Monday August 04, 2025 @11:24PM (#44794007)
That's all it does.
Re:Passkeys are just passwords that require a password manager by 01HNNWZ0MV43FF on Monday August 04, 2025 @11:29PM (#44794038)
This "passkey" business has been so confusing.

I have had an HSM for years. I thought "Passkey" was that stupid Windows thing where they want you to use a 4-digit or 5-digit PIN.

If a "passkey" means an HSM, I'm already onboard. If it means PINs and TPMs, I'm not onboard

Re:Passkeys are just passwords that require a password manager by esseph on Tuesday August 05, 2025 @12:16AM (#44794289)
HSM can store a passkey that you optionally can use a touch + pin/password to unlock.
Re:Passkeys are just passwords that require a password manager by dingaling on Tuesday August 05, 2025 @12:42AM (#44794420)
Passkey is a catchy but vague name for ssh keys used for website auth.

Everything else about them, such as HSM, is industry overlay motivated by their own motivations and aspirations.

Re:Passkeys are just passwords that require a password manager by astrange on Tuesday August 05, 2025 @01:33AM (#44794626)
A TPM is an HSM.
Re:Passkeys are just passwords that require a password manager by sam_lowry_ on Tuesday August 05, 2025 @06:12AM (#44796273)
Nope, TPM secures your computer from you. HSM offloads sensitive tasks to a trusted device while letting you fiddle with the computer any way you want.
Re:Passkeys are just passwords that require a password manager by astrange on Tuesday August 05, 2025 @09:08PM (#44806512)
An HSM stores private keys securely. A TPM does this to implement secure boot and disk encryption. And for some reason a lot of people are afraid of disk encryption.
Re:Passkeys are just passwords that require a password manager by sam_lowry_ on Wednesday August 06, 2025 @03:10AM (#44808681)
> And for some reason a lot of people are afraid of disk encryption.

I can answer that.

Disk encryption is a risk factor. If my desktop fails and it is unencrypted, I can take the disk and put it into another desktop and it will work.

With encryption, I am less sure. I do encrypt my desktop with LUKS but I vaguely remember that setting up an encrypted disk in Linux is tricky, there is a loop device involved for the decryption layer, some LVM config. And the kernel has to support all that, which it probably does, but again. It's been a long time since I tried.

So while my desktop and my laptops have encrypted partitions, the server running my archives and backup is not, because I value simplicity and access more than the extra security.

People using Windows or Apple hardware should be even more afraid of disk encryption, as they understand it way less than me.

Re:Passkeys are just passwords that require a password manager by NewJazz on Monday August 04, 2025 @11:52PM (#44794169)
Not one that works across devices/browsers.
Re:Passkeys are just passwords that require a password manager by astrange on Tuesday August 05, 2025 @12:57AM (#44794474)
A Yubikey is a "device".
Re:Passkeys are just passwords that require a password manager by NewJazz on Tuesday August 05, 2025 @01:03PM (#44800762)
Not one that can store an arbitrary number of passkeys that work across different browsers/computers.
Re:Passkeys are just passwords that require a password manager by Arrowmaster on Tuesday August 05, 2025 @02:10PM (#44801925)
I don't think you understand how FIDO2 works.

If you are using non-discoverable keys, the type where you input your username to login and then it asks for the passkey, there is no limit because they are calculated from a single master key and seeded with the url.

If you are using discoverable keys when you don't even input a username to login, the latest Yubikey has a limit of 100 but other vendors hold more.

Physical hardware keys work across most devices and browsers as long as you have the key with you.

Re:Passkeys are just passwords that require a password manager by dboreham on Monday August 04, 2025 @11:52PM (#44794164)
Passkey is literally a software emulation of a yubikey.
Re:Passkeys are just passwords that require a password manager by ianburrell on Tuesday August 05, 2025 @02:42PM (#44802375)
Passkey is a security key used as password. Yubikey implements security key in hardware, it can store passkeys. Password managers implement security key in software, they can store passkeys.
Re:Passkeys are just passwords that require a password manager by vaylian on Tuesday August 05, 2025 @03:17AM (#44795180)
Yes. That's one of the primary use cases of a YubiKey (or other FIDO 2 hardware keys).

Please note that there are 2 types of passkeys:

- resident keys: Actually stored on the hardware key

- non-resident keys: Keys that are recalculated on the fly based on a secret seed value, the domain that the service is for and the username. The advantage is that these don't take up any storage space

Resident keys have the advantage that they remember the username. But there is only a limited number of keys (about 100 on new YubiKeys but there are still a lot of older hardware tokens being used) that you can store on a hardware token. Non-resident keys have the advantage that you can "store" an infinite number of them on your hardware token.

See https://fy.blackhats.net.au/blog/2024-04-26-passkeys-a-shatt...

Re:Passkeys are just passwords that require a password manager by timmyc123 on Wednesday August 06, 2025 @02:43PM (#44815959)
> Please note that there are 2 types of passkeys

This is not really correct. Non-resident keys are not passkeys.

The two types of passkeys are synced and device-bound. Synced passkeys are typically stored in software-based credential managers, while device-bound passkeys are typically stored in hardware security keys or hardware-based credential managers.