ergo/irc
Daniel Oaks 6260869068 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-08-05 22:51:15 -04:00
..
caps review fix 2018-06-25 22:55:50 -04: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 optimize IsLoggingRawIO 2018-05-01 06:00:39 -04:00
mkcerts Move mkcerts package under lib/ 2018-02-04 05:34:26 +10:00
modes atomic bitset implementations of caps.Set and modes.ModeSet 2018-06-25 18:17:47 -04:00
passwd Upgrade password hashing. 2018-08-05 22:51:15 -04:00
sno Only allow valid snomasks to be set 2018-04-16 13:20:37 +10:00
utils refactor rehash to rely more on server.config 2018-07-16 03:46:40 -04:00
accounts.go Upgrade password hashing. 2018-08-05 22:51:15 -04:00
batch.go Make batch IDs smaller 2018-01-28 00:45:16 +10:00
channel.go refactor rehash to rely more on server.config 2018-07-16 03:46:40 -04:00
channelmanager.go implement SAJOIN, allow channel founders to join unconditionally 2018-05-25 02:47:50 -04:00
channelreg.go add CHANSERV UNREGISTER 2018-06-04 05:02:22 -04:00
chanserv.go some tweaks to account/channel unregistration 2018-06-19 04:03:40 -04:00
client.go refactor rehash to rely more on server.config 2018-07-16 03:46:40 -04:00
client_lookup_set.go changes to nick reservation 2018-02-18 04:46:14 -05:00
commands.go implement SAJOIN, allow channel founders to join unconditionally 2018-05-25 02:47:50 -04:00
config.go move handling of RecoverFromErrors into LoadConfig 2018-07-16 04:08:24 -04:00
constants.go Setup v0.12.0-unreleased devel ver 2018-04-16 02:28:06 +10:00
database.go refactor rehash to rely more on server.config 2018-07-16 03:46:40 -04:00
dline.go Move all errors into errors.go 2018-02-03 22:03:36 +10:00
errors.go Upgrade password hashing. 2018-08-05 22:51:15 -04:00
fakelag.go fix fakelag double-rate issue 2018-04-16 04:32:57 -04:00
fakelag_test.go fix fakelag double-rate issue 2018-04-16 04:32:57 -04:00
gateways.go Merge remote-tracking branch 'origin/master' into vhosts.4 2018-04-23 21:46:12 -04:00
getters.go move handling of RecoverFromErrors into LoadConfig 2018-07-16 04:08:24 -04:00
handlers.go refactor rehash to rely more on server.config 2018-07-16 03:46:40 -04:00
help.go implement SAJOIN, allow channel founders to join unconditionally 2018-05-25 02:47:50 -04:00
hostserv.go review fixes, bug fixes 2018-04-23 02:38:35 -04: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.go refactor rehash to rely more on server.config 2018-07-16 03:46:40 -04:00
modes_test.go refactor rehash to rely more on server.config 2018-07-16 03:46:40 -04:00
monitor.go Um... name monitor subcommands handler properly 2018-04-12 10:11:45 +10:00
nickname.go Merge pull request #247 from slingamn/vhosts.3 2018-05-19 08:51:16 +10:00
nickserv.go some tweaks to account/channel unregistration 2018-06-19 04:03:40 -04:00
numerics.go Make ERR_CANNOT_RESUME use RPL_NONE numeric 2018-02-04 21:25:08 +10:00
responsebuffer.go review fix 2018-06-25 22:55:50 -04:00
roleplay.go modes refactor, #255 2018-04-22 19:36:15 -04:00
semaphores.go add Semaphore and ServerSemaphores 2018-04-26 06:03:10 -04:00
server.go refactor rehash to rely more on server.config 2018-07-16 03:46:40 -04:00
services.go services: Explicitly show when commands have been disabled in the HELP output 2018-05-19 09:00:22 +10:00
snomanager.go Only allow valid snomasks to be set 2018-04-16 13:20:37 +10:00
socket.go reduce copying of output lines 2018-05-01 05:23:40 -04:00
stats.go Stats for LUSERS logic now seperated, fixed params in LUSERS 2018-04-20 22:48:15 +02:00
strings.go Move all errors into errors.go 2018-02-03 22:03:36 +10:00
strings_test.go strings: Follow latest advice on PRECIS regarding string stabilizing 2017-09-06 14:38:55 +10:00
types.go modes refactor, #255 2018-04-22 19:36:15 -04:00
whowas.go refactor rehash to rely more on server.config 2018-07-16 03:46:40 -04:00
whowas_test.go fix formatting issue 2018-05-04 04:28:01 -04:00