News for hackers. Stuff that matters.
Re:Passkeys are a trap. Do not use them by mschuster91 on Monday October 12, 2026 @03:35AM (#50052691)
Just go into r/Magisk, about 9 of 10 posts is a user whose banking app fails attestation.

Fuck banks with a cactus for forcing us to relinquish our freedoms as a precondition of interacting with them, which is a precondition to exist in most societies.

Re:Passkeys are a trap. Do not use them by lxgr on Monday October 12, 2026 @03:58AM (#50052934)
Sure, mobile device app attestation is a big problem for openness, but it has nothing to do with passkeys, where attestation is effectively dead for non-enterprise uses.

Arguably, even passkeys with attestation would be a step forward compared to that, as banks could require an external authenticator tap on a rooted device, or signature of some sandboxed secure element that runs independently from the application OS.

Re:Passkeys are a trap. Do not use them by notpushkin on Monday October 12, 2026 @04:15AM (#50053079)
> Sure, mobile device app attestation is a big problem for openness, but it has nothing to do with passkeys, where attestation is effectively dead for non-enterprise uses.

It’s dead so far. Again, X.com could ask you to re-enroll your passkey next time you sign in, but this time requiring attestation. It’ll be phrased like “we’re upgrading your account security, please click ‘Accept’ to proceed”.

> banks could require [...a] signature of some sandboxed secure element that runs independently from the application OS

They can. Why don’t they?

Re:Passkeys are a trap. Do not use them by lxgr on Monday October 12, 2026 @04:18AM (#50053097)
> Again, X.com could ask you to re-enroll your passkey next time you sign in, but this time requiring attestation.

How? Almost none of their users own an authenticator capable of attestation (i.e., a Yubikey or similar).

> They can. Why don’t they?

They can't, because open/neutral access secure elements do not exist yet, and nobody really wants to carry an external one.

Re:Passkeys are a trap. Do not use them by notpushkin on Monday October 12, 2026 @04:37AM (#50053275)
> How? Almost none of their users own an authenticator capable of attestation (i.e., a Yubikey or similar).

I haven’t checked, but I suppose both Google and Apple have passkeys implementations capable of attestation? (If not, it should be fairly easy to add, and considering Google has been pushing for various “integrity” bullshit, this would be a no-brainer for them.)

> They can't, because open/neutral access secure elements do not exist yet, and nobody really wants to carry an external one.

I’m not 100% sure if this would work: https://developer.android.com/privacy-and-security/security-...

Presumably, banks trust Google, so if Android doesn’t erase attestation information from the HSM when unlocking the bootloader, they could use this process to verify that the key they’ve generated is stored there, regardless of whatever other software the user is running. (If Android does erase attestation info then eh, it’s just as bad as relying on Play Integrity APIs.)

Re:Passkeys are a trap. Do not use them by lxgr on Monday October 12, 2026 @04:47AM (#50053365)
Apple used to support attestation but removed it. That alone makes it non-viable for sites to enforce attestation.

> I’m not 100% sure if this would work: [...]

I believe it might, but like you I'm not sure if they really don't measure some secure boot properties into that keystore these days.

It's also usually implemented in TEEs and attested by the device manufacturer, which means there's a high chance of getting either insecure implementations in the mix or ending up with a heterogeneous mess of supported and non-supported manufacturers varying from bank to bank.

FIDO at least has their manufacturer directory; not sure if Google has something similar for Android (and if it does, whether non Google certified Android OEMs may apply).

Re:Passkeys are a trap. Do not use them by notpushkin on Monday October 12, 2026 @04:59AM (#50053439)
Okay, I’ve thought about it a bit, and I’d be okay with attestation in WebAuthn if it required that the keys are transferable between providers, and that if you require attestation you don’t require any specific provider. I.e. ban vendor lock-in: if I have a key, I should be able to use it, and move my passkey to another one if I need to.

> Apple used to support attestation but removed it. That alone makes it non-viable for sites to enforce attestation.

Again, for now. Apple might have less incentives to bring it back than Google, sure, but their products are not really known for being open platforms either.

Re:Passkeys are a trap. Do not use them by fc417fc802 on Monday October 12, 2026 @05:22AM (#50053636)
> the keys are transferable between providers

So I set up my own self hosted provider, and transfer the keys to it, and ... how is this any different from not being attested? The entire point of attestation is to whitelist providers so a requirement for universal transfer would seem to defeat the purpose.

I appreciate an enterprise wanting attestation for certain things, but I don't think consumer oriented protocols should support it. I also think it would make more sense for protocols to support some sort of arbitrarily extensible co-signing scheme instead of device attestation. So corporate keeps a registry of secure elements they own and which users are associated with each one. So there's no way for a vendor to lock authentication (or whatever else) to a specific OEM but corporate IT (or an end user or etc) would still be capable of binding credentials to some subset of physical devices.

Re:Passkeys are a trap. Do not use them by notpushkin on Monday October 12, 2026 @05:57AM (#50053981)
> So I set up my own self hosted provider

...get it certified, then transfer the keys to it. Or more likely you get an HSM and use its certification.

> I don't think consumer oriented protocols should support it.

Ideally yeah, that’s my point of view as well. In the corporate land however...

> binding credentials to some subset of physical devices

I don’t think that’s the goal. My guess is, they want to be able to transfer some passkeys but not allow any copies, and this only works if one device trusts another. It could work still with your scheme (store a private key on each device; when transferring a secret, make one device encrypt it to the other and immediately destroy its own copy, and make IT department sign any transfer requests so they can check whether they own both devices).

Re:Passkeys are a trap. Do not use them by fc417fc802 on Monday October 12, 2026 @01:35PM (#50059866)
> My guess is, they want to be able to transfer some passkeys but not allow any copies,

Who are we taking about here?

For regular users it's no one's business if and when I copy my keys, for backups or any other purpose. Any scheme which attempts to prevent that must inherently infringe on my freedom.

For corporate I believe the goal is to know which registered (ie explicitly approved) device a login is coming from. Co-signing would accomplish that. The user key can be reused (not that you'd want to) and any session will still be tied to a known device. Plus you could bind a given user key to a given device on the server side so mission accomplished (assuming the hardware doesn't allow export of its key but then these are specifically approved devices so of course it won't if IT cares about that).

Re:Passkeys are a trap. Do not use them by notpushkin on Wednesday October 14, 2026 @03:24AM (#50083710)
> Who are we taking about here?

The corporate.

> I believe the goal is to know which registered (ie explicitly approved) device a login is coming from.

They can do that with non-transferrable passkeys already (assuming they hand out the devices, and trust the manufacturer to actually prevent transferring the keys out). No cosigning required here.

Re:Passkeys are a trap. Do not use them by fc417fc802 on Wednesday October 14, 2026 @12:09PM (#50089951)
Right but when it comes to that plus BYOD isn't that how we end up at attestation in the first place? I figure the alternative is to manually enroll each device as its own known entity, then require two "regular" signatures to authenticate. Basically it's just the observation that if you care about whitelisting the hardware then you must either have attestation or else accomplish the same thing manually. The former is less labor intensive but comes at the cost of enabling abuse.
Re:Passkeys are a trap. Do not use them by lxgr on Monday October 12, 2026 @05:18AM (#50053607)
> if you require attestation you don’t require any specific provider. I.e. ban vendor lock-in: if I have a key, I should be able to use it, and move my passkey to another one if I need to.

Unfortunately this is fundamentally at odds attestation: If you trust anybody capable of providing a syntactically valid signature, it's not attestation anymore.

You can try and set up a neutral clearinghouse vetting attestation providers, but that itself will probably become a centralizing force itself, requiring expensive audits etc. – think web PKI certificate authorities, but even more complex (as you need keys in shipped end user devices, not just somebody's data center HSMs).

I think shunning attestation is largely the right move, with a very short list of exceptions (high trust e-signatures, high value bank transactions but not daily payment confirmation etc.)

Re:Passkeys are a trap. Do not use them by notpushkin on Monday October 12, 2026 @06:11AM (#50054103)
> You can try and set up a neutral clearinghouse vetting attestation providers, but that itself will probably become a centralizing force itself, requiring expensive audits etc.

It is a problem, but isn’t FIDO acting as this body already wrt attestation in WebAuthn? I’m only building on top of this existing process.

Regardless, a sibling commenter has a good idea of how to sidestep this in corporate environment, and I think it should work for most of actually useful purposes.

> I think shunning attestation is largely the right move

I’m glad we’re on the same page :-) But as long as we have attestation for passkeys, I think we should at least make it as hard as humanly possible to (ab)use it as a general device attestation scheme.

Re:Passkeys are a trap. Do not use them by mschuster91 on Monday October 12, 2026 @04:29AM (#50053204)
Every iPhone, every supported macOS device, all Windows machines capable of running Windows 11 and all mainstream Android devices capable of running Netflix have a Secure Enclave of some sort capable of doing remote attestation, and for virtually all of them, Secure Boot providing the foundation for it is enabled and enforced.

It just took a decade worth of waiting after the first failed attempt by MS to push TPM support.

The only device categories where Secure Boot and Remote Attestation are either disabled, unsupported or not usable for the purpose of trusted attestation are many Linux systems and Android devices not sanctioned by Google.

Re:Passkeys are a trap. Do not use them by lxgr on Monday October 12, 2026 @04:34AM (#50053249)
No, Apple used to support passkey attestation on iOS, but has since removed that feature. The same is true for macOS. Android still supports it, but not for synchronized passkeys as far as I know.

Not sure how DRM factors in here; it's a completely different problem space. Or is your stance something like "anything even theoretically capable of performing trusted computing is evil"?

Re:Passkeys are a trap. Do not use them by notpushkin on Monday October 12, 2026 @04:40AM (#50053306)
Okay, so it’s possible, but Google is not doing it correctly yet, so they won’t be doing it ever despite the fact they have all the incentives to do so?
Re:Passkeys are a trap. Do not use them by lxgr on Monday October 12, 2026 @04:48AM (#50053373)
I think you got it the wrong way around. Apple has abandoned attestation, Google still supports it.
Re:Passkeys are a trap. Do not use them by notpushkin on Monday October 12, 2026 @05:02AM (#50053473)
Google still supports it, but only for some configurations (non-copyable, non-transferable). My point is, they could implement it for other variants as well.
Re:Passkeys are a trap. Do not use them by TeMPOraL on Monday October 12, 2026 @08:30AM (#50055466)
If they had it and then removed it, what's stopping them from adding it again?
Re:Passkeys are a trap. Do not use them by roenxi on Monday October 12, 2026 @06:43AM (#50054383)
Misplaced annoyance with the banks, they're responding to legislative pressures and incentives. Blame the regulators.
Re:Passkeys are a trap. Do not use them by goodpoint on Monday October 12, 2026 @08:25AM (#50055404)
There are no laws requiring remote attestation.
Re:Passkeys are a trap. Do not use them by roenxi on Monday October 12, 2026 @08:30AM (#50055458)
You've read all the laws? Regardless, there is likely a legal framework preventing competition and requiring the banks to standardise and coordinate. Otherwise people would go start their own bank that didn't require remote attestation; because the best way to pick up customers is to be flexible about letting them access their own money. In a free market there is a lot of pressure on financial service companies to butter their customers up (at least until the customer owes them cash).

If you're dealing with a legal oligopoly then it is expected that the quality won't be so great.

Re:Passkeys are a trap. Do not use them by mschuster91 on Monday October 12, 2026 @11:29AM (#50057858)
EU PSD2 is behind that push for "secure" banking. As if they couldn't be arsed to use the bank card we all carry for security...

(The thing that banks are afraid is malware spoofing the bank app's UI and the user then approves a fraudulent transaction... not sure how to prevent that tbh)

Re:Passkeys are a trap. Do not use them by throwawayffffas on Monday October 12, 2026 @06:33PM (#50064015)
Easily fixed kick banks that wont reverse transactions out of payment networks. Kick banks that won't follow through with criminal investigations out of payment networks.
Re:Passkeys are a trap. Do not use them by brnt on Monday October 12, 2026 @07:29AM (#50054814)
Fuck Play Integrity, which is what Google implements, with these drawbacks very much intentionally in place, and 'recommended' banks implement for security. Fuck Google for doing everything they can to make custom roms fail these API's ever more.

There is an alternative* of which I haven't heard in a while.

* https://uattest.net

Re:Passkeys are a trap. Do not use them by lxgr on Monday October 12, 2026 @08:10AM (#50055242)
How is that alternative supposed to work without OEM support?
Re:Passkeys are a trap. Do not use them by throwawayffffas on Monday October 12, 2026 @06:22PM (#50063895)
Fuck all of that. We don't need attestation. We have been handling money online without attestation for over 30 years. Sandboxes and operating system isolation is only getting better. Pwned devices is not the main problem, people getting phissed is the main problem. You don't need attestation to defend against that.
Re:Passkeys are a trap. Do not use them by tiagod on Monday October 12, 2026 @08:36AM (#50055532)
On my GrapheneOS phone, the only things that I came across that require (and thus fail) maximum level attestation are Google Pay and the app for McDonald's for some reason.
Re:Passkeys are a trap. Do not use them by Melatonic on Monday October 12, 2026 @02:52PM (#50061058)
Hamburglar is running infosec now and he's taking it reaaaaal serious