3 ms·
> Passwords/passphrases could be salted hashed by the browser in JavaScript Not the worst idea from the developer's point of view, but it doesn't protect the u
by wtbob 11y ago
> Passwords/passphrases could be salted hashed by the browser in JavaScript
Not the worst idea from the developer's point of view, but it doesn't protect the user: the site could still serve bad JavaScript which didn't properly hash the password (this, for example, is why Mozilla accounts are completely, totally and utterly insecure, and why Firefox password storing should never be used by anyone who doesn't wish to share his passwords with Mozilla, any Mozilla employee and any state which can compel any Mozilla employee). The browser needs to natively support doing this.
There's also the issue of replays. This topic has been well-studied; I believe that Secure Remote Password (SRP) is currently the gold standard for this.