Commit Graph

6 Commits

Author SHA1 Message Date
Justin Crawford ae8d5bff1d
Implemented access control for SFTP 2019-11-23 01:49:27 -08:00
Justin Crawford 4a39525809
Added 3 new password hashing schemes
Support for bcrypt, sha256, pbkdf2 and plain text ofc.
This makes password-based auth actually secure.
2019-10-06 00:11:13 -07:00
Justin Crawford 0635ea7a35
Fixed a bug (open on the upstream fork), also rewote config.
Fixed a bug that caused sessions to get overwritten and some of them
would seem to freeze, the whole thing relied on undefined behavior.
This bug was a static variable that copied sessions all around globally.

Rewrote the config to support a few more options (the PasswordType is coming soon)
and explained how the new authorized_users files work.

Public key authentication now has the same number of retires that
password authentication has (this aligns with how OpenSSH does it)
and the number of retries can now be configured in the configuration.
2019-10-03 21:07:00 -07:00
Haarolean 7330b1eead Fix codestyle 2018-05-06 19:42:57 +03:00
Haarolean f034cef465 Attempted fix for 1.12. 2017-11-13 18:00:44 +03:00
Ryan Michela e98113397d Initial commit. 2013-11-13 23:17:51 -08:00