Commit Graph

9 Commits

Author SHA1 Message Date
Justin Crawford e0080fb1a0
Added hover text and click to copy for /mkpasswd
- Added hover text and click to copy so you can now copy your hash
to the clipboard.
- Added default values for the configuration in case none were set for some reason.
- Validate permissions from the config (something I forgot to do)
- Tell the user permission denied if they don't have permission to run the command.
- Added a default pseudo-user for global permissions and rules.
- Updated some verbage in the config comments
2020-03-26 21:50:39 -07: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 3e45f7ebf4
Tweak the SSH MOTD a bit 2019-10-03 22:16:29 -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
Justin Crawford 0458179597
Add support for authorized_keys files.
Each user can have a set of authorized keys for public key authentication.
This is better to support as it lets us use different algorithms and not
just RSA. In the age of security, it's good to have variety.

I also added additional libraries to support ed25519-based public keys.

I updated the SSH libraries so any upstream bug fixes are applied, fixed
some warnings and a few other things.
2019-10-02 19:14:56 -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 2326c7e2cb get bukkit 1.7.2 to compile 2013-12-28 22:47:19 -08:00
Ryan Michela e98113397d Initial commit. 2013-11-13 23:17:51 -08:00