Better HN
top
new
best
ask
show
jobs
Log in
Sign up
fileworm
2 karma · joined Oct 19, 2018 (8y ago) · 4 submissions
Submissions
comment 8y ago ·
link
·
parent
There is such an API. It's called HTTP authentication. No one uses it.
comment 8y ago ·
link
·
parent
OK, what are the problems you have with password-authenticated key exchange?
comment 8y ago ·
link
·
parent
Your proposal is equivalent to sending plaintext passwords, because the client-calculated hash can be used like a password.
comment 8y ago ·
link
·
parent
It's worse than that. In the web app use case, if the browser is sending cleartext passwords to the server, all an attacker has to do is hijack the server IP with BGP, get a DV SSL cert and slurp up all the passwords.