3 ms·
> I wonder when I can just get a virtual yubikey built into my phone. No extra device. My phone is my device. Last year, Apple shipped the first version of thi
by acdha 4y ago
> I wonder when I can just get a virtual yubikey built into my phone. No extra device. My phone is my device.
Last year, Apple shipped the first version of this: you can enroll your phone (or TouchID-equipped Mac) on sites like GitHub.com and it’ll use the Secure Enclave for WebAuthn secrets. I’ve been doing this since 15.4 came out and it’s great. Prior to that, I used a Yubikey 5 with USB and NFC, which is still handy since that’s where I store TOTP seeds for less secure sites.
Passkeys extend that idea further by allowing you to register once and have it synced rather than having to register every device on every site[1].
That last part is important because AWS has a huge barrier: the number of MFA devices you get is one, which means you either need insecure things like synced TOTP seeds or you have to be comfortable never losing your Yubikey. I have been asking our TAM to prioritize fixing that for years so backups can be a real thing.
1. Over simplified a little - hear Adam Langley at https://securitycryptographywhatever.buzzsprout.com/1822302/11122508-passkeys-feat-adam-langley https://securitycryptographywhatever.buzzsprout.com/1822302/... for the right version
- judge2020 4y agoTo add, Chrome currently supports webauthn using your phone via BLE. When you try to enroll/sign in, if you click 'add an android device', that QR code will also work in the iOS camera app and allow you to use icloud to store & log in with that security key. The only real requirement here is a browser support and a desktop with bluetooth, something not super common on gaming / custom built PCs until a few years ago.
- acdha 4y agoApple did something similar: you can login using your phone’s WebAuthn credentials if you’re in BLE range. The main problem is that it’s Safari-only but the passkey spec should allow Firefox to implement it.
- mdeeks 4y agoTouchID unfortunately does not work with Firefox. Making it non viable for a large rollout. Yubikeys have the advantage of working with all browsers
- reissbaker 4y agoCorporate environments usually have no problem mandating a specific browser be used.
- saagarjha 4y agoRight, that's how we got IE6 :)
- staticassertion 4y agoRegarding AWS, it's truly insane that they only support 1 device (breaking from the FIDO2 recommendation) but you can also put AWS behind SSO, and then have 2FA on the SSO.
- Semaphor 4y ago> it's truly insane that they only support 1 device I recently got a notification to create a separate AWS account (I don’t use it), and thought might as well enable 2FA. Added the first key. Looked for a way to add the backup key. Was confused, removed 2FA. What is that, lockout Russian roulette?
- acdha 4y agoThis predates FIDO2 by at least a decade. SSO works great for everything except the root account, where you really do just need to lock it up tightly and make sure you know how to authenticate to support in a disaster.
- chinathrow 4y agoHow do you recover if you lose access to your device?
- aeyes 4y agocreate a second account or use the root account?
- tylerhou 4y agoBackup key on your keychain.
- chinathrow 4y agoDo you mean a physical key?
- acdha 4y agoI can't speak for them but that's exactly what I do with a Yubikey on my personal keys & work badgecard lanyard. My rationale is that the physical key prevents remote attacks since they can't use the token and anyone who finds/steals my keys won't have the password. Scenarios where the attacker has both aren't on my personal radar — that's the kind of situation where you're looking at things like duress codes.
- acdha 4y agoCurrently: use a hardware key or printed backup codes. Passkeys: same, or one of the other participating devices.
- zinekeller 4y ago> That last part is important because AWS has a huge barrier: the number of MFA devices you get is one, which means you either need insecure things like synced TOTP seeds or you have to be comfortable never losing your Yubikey. I have been asking our TAM to prioritize fixing that for years so backups can be a real thing. Actually, can we mark AWS as insecure? Seriously, it was a bother at the time it was rolled out but now I could say that Amazon is insecure. If they could not bother with this, there are definitely more security holes intentionally hidden from the general public.
- acdha 4y agoNo – the problem here is really the reverse: they limit the number of devices which can gate access to your account, on the theory that you'll handle a breach by contacting them. That's theoretically more secure but slower. (Non-root MFA can be reset by another admin or root so this is most of a concern for the root account)
- vinay_ys 4y agoSlowing things down is the right approach when resetting/reissuing/rebinding auth devices.
- acdha 4y agoWhen removing MFA, yes. What I'd like would be changing n=1 to n=2 so you could have a backup against a single failure.
- marcosdumay 4y ago> That's theoretically more secure I fail to see how that can be true. How will they validate that it is you on the phone?
- acdha 4y agoIf you haven't dealt with this before, it's not calling support and social-engineering someone into hitting the reset button. The last time I knew someone who had to reset an AWS root account password (broken Yubikey), it required multiple phone calls AWS initiated to the billing & technical contacts (which can only be set by root so an attacker can't easily change them) to confirm intention and then they had to sign a form in front of a notary who checked photo ID. I classed that as more secure since you can't do it remotely and the in-person portion further increases the difficulty.
- dx034 4y agoRecently my phone broke and it took a day to get a new one. I was so glad to have my 2fa codes somewhere else as well. I'd never want to rely solely on one device for access to everything. Apples plan is that I need to own several Apple devices for that, this is a non-starter for me.
- reissbaker 4y agoThe backup option can be a Yubikey rather than another Apple device.
- acdha 4y agoYour backup plan currently can be hardware devices (a $20 Yubikey works great) or printed codes. When vendors other than Apple ship passkeys, that should extend to include other devices.