Re:Substack's UI and 1Password temporarily cost me $2k
by heavenlyblue on Tuesday March 23, 2021 @10:06AM
(#26555142)
> users who log in during the interval when the system is compromised
Why only then?
Re:Substack's UI and 1Password temporarily cost me $2k
by SAI_Peregrinus on Wednesday March 24, 2021 @09:49AM
(#26567137)
Because the server doesn't store the password, only the "password hash" of the password. So if the server isn't compromised during the login there's no way for the attacker to learn the password itself.
The key difference between storing plaintext passwords and hashed passwords is that with hashed passwords, you can only compromise users who log in during the interval when the system is compromised, and even then, only for worse compromises (eg if all the attacker gets is arbitrary disk read, compromising hashed passwords would be impossible in most scenarios.)