Go to file
y 2aec68c07d attempt to avoid a suspicious crash 2019-07-04 21:53:26 +01:00
.gitignore initial 2019-07-01 15:40:20 +01:00
LICENSE license 2019-07-03 20:34:39 +01:00
README.md Update README.md 2019-07-03 20:43:09 +01:00
depends.txt initial 2019-07-01 15:40:20 +01:00
init.lua attempt to avoid a suspicious crash 2019-07-04 21:53:26 +01:00
mod.conf initial 2019-07-01 15:40:20 +01:00
weak_passwords.txt functional 2019-07-01 18:34:52 +01:00

README.md

This minetest mod resets the accounts of players who have weak passwords.

By default, a password is considered "weak" if it is blank, or is among the 100 most-common passwords found amongst many large leaked password lists.

Frequently asked question

Isn't resetting a player's account pretty harsh?

Yes, it is. However, I consider having a weak password to be a serious threat to the server. Your account might be hacked at any point in time, and you could lose much more than your current inventory. Also, trolls/hackers can use accounts with weak passwords to get around the IP blocking features of SBAN.

For a moment, I thought I might prefer if a player with a weak password was given an impassible pop-up demanding that they change their password to something better, but this doesn't help w/ the issue of trolls/hackers getting into a player's account. Resetting a player, and re-verifying them, feels like the safer option.

Caveat

Because authentication data of new users is not set at the time that the prelogin hooks are executed, We cannot reject them before they actually log into the server. At this point, they are kicked, and their passwords reset. However, that part of the process seems to be a bit buggy due to some race condition...