3 ms·
Why don't browsers send password hashes instead of actual passwords? This way password manager wouldn't have to store them in cleartext either. Would be pain t
by dzhiurgis 7y ago
Why don't browsers send password hashes instead of actual passwords?
This way password manager wouldn't have to store them in cleartext either. Would be pain to enter them manually tho...
- fpoling 7y agoThen stilling the hash is enough to login.
- 0xb100db1ade 7y agoSo? If someone can steal the hash, they could probably hijack the session anyway.
- tialaramex 7y agoNow the effective password (the secret shared between client and server to authenticate) is the hash. So you actually do still need to store the cleartext of this secret. This might be fine, one of the built-in mechanisms of HTTP that we essentially never use works this way (Digest authentication) but it's far too late to agree it now (every client would need to agree to do this or else you need a complicated fallback plan) and it doesn't do much for you security-wise. You could use an asymmetric PAKE and that gets you a few more benefits but again every client has to implement this so the back compatibility story is horrible.
- zokier 7y agoDigest auth is a thing, although the user-agent needs the cleartext password for that
- bouke 7y agoSecure Remote Password (SRP) is a protocol for verifying a password without knowledge of the actual password. Now we only need all browsers and applications to support it! Well and a way for initial setup (sharing the seeds).
- Vinnl 7y agoIf browsers started doing that now, passwords that used to work would stop working.
- anfilt 7y agoThis has been thought about. Digest auth is a thing, but is stuck on MD5. However, with how flexible a web-form is there really is no way to enforce it so idea never really went that far.