Ask HN: Why is OS X so slow at verifying a wrong password at sign-in?
When I type my password in on OSX, if it is correct it will sign me in almost instantly. If the password is wrong, it spins for several seconds, then fails to login. Why is it so slow to verify my password?
5 comments
[ 4.0 ms ] story [ 25.2 ms ] thread> This is a security thing, it's not actually taking long to realize it. 2 vulnerabilities this solves:
> 1. this throttles login attempts, meaning someone can't pound the system as fast as it can go trying to crack it (1M attempts a sec? I don't know).
> 2. If it did it as soon as it verified your credentials were incorrect, you could use the amount of time it took for it to invalidate your credentials to help guess if part of your credentials were correct, dramatically reducing the guessing time.
[1] https://en.wikipedia.org/wiki/Pluggable_authentication_modul...
[2] https://unix.stackexchange.com/questions/2126/why-is-there-a...