r/passkey • • 5d ago

Passkey's Session Binding Gap

https://tide.org/blog/passkeys-session-binding-gap
3 Upvotes

4 comments sorted by

1

u/ToTheBatmobileGuy 5d ago

At some point, you need to switch back to a session token scheme.

The second you do that, the victim becomes vulnerable.

Unless this "session bound public key" is going to be used to digitally sign a new challenge for every single backend request, it's pretty much useless anyways.

Nice thought experiment though.

1

u/tidefoundation 5d ago

Unless this "session bound public key" is going to be used to digitally sign a new challenge for every single backend request, it's pretty much useless anyways.

That's exactly DPoP. That's the solution.

1

u/ToTheBatmobileGuy 5d ago

Without UV and UP it’s essentially exactly the same as DBSC (Google implemented in Chrome) except with the extra overhead of another round trip.

With UV and UP… yeah I don’t want to imagine performing bio for every backend request (our front end makes dozens of tiny requests on page load)…

1

u/tidefoundation 5d ago

there's no bio for any subsequent request past authn. there's (should be) access to the TPM to use that key for every request. That's already how DPoP (RFC 9449) works. It's just entirely decoupled from the Webauthn `navigator.credentials` calls now. Just like DBSC. Check the repo. Interested to hear your thoughts.