logoalt Hacker News

valenterryyesterday at 9:10 AM2 repliesview on HN

It should be noted that that is not an inherential advantage of passkeys over passwords. It is possible to achieve the same with passwords, e.g. by using a hash-cascade.


Replies

lxgryesterday at 10:11 AM

Sure, but then you still need a protocol between user agent and website. If you just do this in Javascript, you're not protected against phishing sites just forwarding the password entered directly.

Passkeys can in fact be backed by exactly this, i.e. a HMAC-only stateless implementation backed by a single password: https://github.com/lxgr/brainchain

show 1 reply
mi_lkyesterday at 9:22 AM

is it fair to say all passkey implementations have this advantage while only some password implementations can match?

show 1 reply