3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-21 19:39:43 +01:00
ergo/irc
Daniel Oaks bf04dc24f9 Upgrade password hashing.
Previously, we generated and prepended a long salt before generating
password hashes. This resulted in the hash verification cutting off long
before it should do. This form of salting is also not necessary with
bcrypt as it's provided by the password hashing and verification
functions themselves, so totally rip it out.

This commit also adds the functionality for the server to automagically
upgrade users to use the new hashing system, which means better
security and more assurance that people can't bruteforce passwords.

No need to apply a database upgrade to do this, whoo! \o/
2018-04-01 17:12:41 +10:00
..
caps (hopefully) fix labeled-response behaviour 2018-02-11 08:57:15 +10:00
connection_limits fix confusing ips-per-subnet name 2018-02-26 23:52:15 -05:00
custime dline/kline: Allow year/month/day durations 2017-03-07 19:56:21 +10:00
isupport Add 'are supported by this server' to translatable strings 2018-01-23 23:31:29 +10:00
languages Split language into a subpackage 2018-02-03 19:46:14 +10:00
logger logger: Fix comments 2017-10-06 12:44:11 +10:00
mkcerts Move mkcerts package under lib/ 2018-02-04 05:34:26 +10:00
modes Split modes into a subpackage (this is painful, but will force us to simplify and improve the API for interacting with modes) 2018-02-03 20:21:32 +10:00
passwd Upgrade password hashing. 2018-04-01 17:12:41 +10:00
sno Add license stuff to the top of caps/ and sno/ files I guess 2017-09-29 17:33:29 +10:00
utils Refactor nickserv.go to better support NS HELP and translations 2018-04-01 11:22:06 +10:00
accounts.go Upgrade password hashing. 2018-04-01 17:12:41 +10:00
batch.go Make batch IDs smaller 2018-01-28 00:45:16 +10:00
channel.go fix #204 2018-03-01 11:10:46 -05:00
channelmanager.go fix #204 2018-03-01 11:10:46 -05:00
channelreg.go Misc refactoring 2018-02-03 21:15:07 +10:00
chanserv.go Refactor chanserv.go to match nickserv.go, unify the two 2018-04-01 11:51:34 +10:00
client_lookup_set.go changes to nick reservation 2018-02-18 04:46:14 -05:00
client.go Merge pull request #218 from slingamn/socketwriter.1 2018-03-28 13:26:03 -04:00
commands.go implement fakelag (#189) 2018-03-22 11:04:21 -04:00
config.go Merge pull request #218 from slingamn/socketwriter.1 2018-03-28 13:26:03 -04:00
constants.go Setup v0.10.4-unreleased devel ver 2017-12-28 13:41:36 +10:00
database.go Split passwd into its' own subpackage 2017-10-06 00:03:53 +10:00
dline.go Move all errors into errors.go 2018-02-03 22:03:36 +10:00
errors.go Upgrade password hashing. 2018-04-01 17:12:41 +10:00
fakelag_test.go default fakelag to off, add explicit cooldown config 2018-03-28 13:18:08 -04:00
fakelag.go default fakelag to off, add explicit cooldown config 2018-03-28 13:18:08 -04:00
gateways.go Move all errors into errors.go 2018-02-03 22:03:36 +10:00
getters.go Merge pull request #218 from slingamn/socketwriter.1 2018-03-28 13:26:03 -04:00
handlers.go implement fakelag (#189) 2018-03-22 11:04:21 -04:00
help.go Fix registered-only modes in docs (it's +R, not +r) 2018-04-01 09:50:22 +10:00
idletimer.go fix bad interaction between nickTimer.Stop() and accounts.Logout() 2018-03-14 08:43:50 -04:00
kline.go Centralise all command handlers in handlers.go 2018-02-03 19:28:02 +10:00
modes_test.go Fix broken modes tests 2018-02-03 20:28:02 +10:00
modes.go Get labeled-reply working just fine 2018-02-06 00:21:08 +10:00
monitor.go Get labeled-reply working just fine 2018-02-06 00:21:08 +10:00
nickname.go implement #199 2018-02-26 22:48:52 -05:00
nickserv.go nickserv.go: Fix comment 2018-04-01 11:52:37 +10:00
numerics.go Make ERR_CANNOT_RESUME use RPL_NONE numeric 2018-02-04 21:25:08 +10:00
responsebuffer.go refactor account registration, add nick enforcement 2018-02-11 05:30:40 -05:00
roleplay.go Get labeled-reply working just fine 2018-02-06 00:21:08 +10:00
server.go Fix name of ISUPPORT token (REGCOMMANDS -> ACCCOMMANDS) 2018-04-01 12:04:25 +10:00
snomanager.go refactor ClientManager 2017-11-22 05:09:38 -05:00
socket.go fix #190 2018-03-17 23:26:07 -04:00
strings_test.go strings: Follow latest advice on PRECIS regarding string stabilizing 2017-09-06 14:38:55 +10:00
strings.go Move all errors into errors.go 2018-02-03 22:03:36 +10:00
types.go Split modes into a subpackage (this is painful, but will force us to simplify and improve the API for interacting with modes) 2018-02-03 20:21:32 +10:00
whowas.go refactor ClientManager 2017-11-22 05:09:38 -05:00