mik2k2 bd345ce012 Move password authentication handling into sshd/auth (fixes #394).
Password authentication is now completely handeled in Auth. The normal
keyboard-interactive handler checks if passwords are supported and asks
for them, removing the need to override the callbacks.

Brute force throttling is removed; I'd like to base it on IP address
banning, which requires changes to the checks.

I'm not sure, but I think timing attacks against the password are fixed:
- The hashing of the real password happens only at startup.
- The hashing of a provided password is something an attacker can do
themselves; It doesn't leak anything about the real password.
- The hash comparison is constant-time.
2021-05-27 13:06:10 +02:00
..
2020-04-01 20:40:56 -04:00
2017-06-14 09:07:24 -04:00
2019-02-24 09:40:47 -06:00
2017-06-14 09:07:24 -04:00
2020-04-12 12:37:55 -04:00