5 ms·
This so much. Same with https errors (so people keep using http) and client side hashing in password forms ("but an active attacker could replace the Javascript
by lucb1e 8y ago
This so much. Same with https errors (so people keep using http) and client side hashing in password forms ("but an active attacker could replace the Javascript and make you submit the unhashed version of your password" so we should just let passive listeners listen?)
- nothrabannosir 8y ago> Same with https errors… That's a branding issue: we've been selling "https://" https://" as secure, so we can't go back now and reeducate users. We should have decoupled the idea of security from the protocol used (https can be insecure) and used a separate channel entirely to communicate security, e.g. what browsers are doing now with padlocks or colour schemes. But it's too late to change the SSL UX.
- jazoom 8y agoSeems what Chrome is doing is a good idea. "Secure" is being phased out, then there will only be "insecure" for http, which it most certainly will be since there's no encryption.
- ameliaquining 8y agoThe problem with client-side hashing in password forms is that the hash is now the password; as such, it provides no defense at all against even a passive attacker impersonating you. The only attack it provides any defense against is password reuse.
- jenscow 8y agoNot when the password is hashed with a nonce from the server.
- move-on-by 8y agoThis is digest encryption. While it's a great alternative to sending passwords in cleartext, it does have some major disadvantages. > It prevents the use of a strong password hash (such as bcrypt) when storing passwords (since either the password, or the digested username, realm and password must be recoverable) [1] Much better to have bcrypt'ed passwords stored on the server and your private SSL keys. If your compromised, revoke the SSL keys, and force users to change their passwords. With strong bcrypt'ed passwords, you can be reasonably sure passwords can't be recovered, but best to enforce resets anyways. With digested passwords, those will be recovered and end up in Troy Hunt's Pwned Passwords database. [1] https://en.m.wikipedia.org/wiki/Digest_access_authentication#Disadvantages https://en.m.wikipedia.org/wiki/Digest_access_authentication...
- Dylan16807 8y agoThose disadvantages are based on the particular implementation. You could replace MD5 with bcrypt.