| ▲ | throwawayffffas 4 hours ago | ||||||||||||||||||||||||||||||||||||||||
PKI already prevents man in the middle attacks. Users constantly fall for website impersonation, this can be solved by your password manager it just has to check the host and the certificate of the login page. Now browsers don't let password managers do that, I wonder why. But lets say you don't like the fact that passwords are sent over the wire. I get that I don't like that either. You could just take a random token and have an hmac signature on all your requests, for most cryptographic hashing functions that would probably be quantum secure as well. But lets just say you don't want to have a shared secret because you know servers get hacked all the time. Totally legit, I like the way you think, asymmetric cryptography it is. How could we possibly do it? Like ssh with pki on top. The spec could be literally these 25 words: Do what ssh does but request a PKI signed certificate instead of a key signature from the server and validate it against your known CAs. | |||||||||||||||||||||||||||||||||||||||||
| ▲ | danpalmer 4 hours ago | parent | next [-] | ||||||||||||||||||||||||||||||||||||||||
Passkeys are the consumer implementation of PKI to solve these problems. There's functionally no alternative for consumer logins, and certainly not one that doesn't require learning what PKI is. "like SSH with PKI" is a bit "draw the rest of the owl". | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
| ▲ | crote 2 hours ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||||||||
> this can be solved by your password manager it just has to check the host and the certificate of the login page Which is exactly what Passkeys does. And it also has built-in functionality to prevent any kind of "Oops! We changed our login method, just ignore the warning and retrieve it manually." social engineering, which a user would often genuinely see when random services move their login page to a different url. | |||||||||||||||||||||||||||||||||||||||||