Shivaram Lingamneni
dfb0a57040
refactor the password hashing / password autoupgrade system
5 anos atrás
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/
6 anos atrás
Daniel Oaks
a72de2f4d2
Update changelog
5 anos atrás
Daniel Oaks
d52dfb8df5
Merge pull request #279 from slingamn/cleanup.1
refactor rehash to rely more on server.config
6 anos atrás
Shivaram Lingamneni
7154f14781
move handling of RecoverFromErrors into LoadConfig
6 anos atrás
Shivaram Lingamneni
1383190249
refactor rehash to rely more on server.config
6 anos atrás
Daniel Oaks
1a5db02236
Merge pull request #278 from slingamn/bitset_again
simplify CAS logic a bit
6 anos atrás
Shivaram Lingamneni
318da22448
simplify CAS logic a bit
6 anos atrás
Daniel Oaks
6ba741814d
Merge pull request #275 from slingamn/confirmations.1
some tweaks to account/channel unregistration
6 anos atrás
Daniel Oaks
477a9023ff
Merge pull request #277 from slingamn/bitset.3
implement #263
6 anos atrás
Shivaram Lingamneni
1e513a717c
expand bitset tests
6 anos atrás
Shivaram Lingamneni
a1bbe0c7f2
review fix
6 anos atrás
Shivaram Lingamneni
2a33c1483b
atomic bitset implementations of caps.Set and modes.ModeSet
6 anos atrás
Shivaram Lingamneni
cdbb369a9c
add benchmarks for caps.Set
6 anos atrás
Shivaram Lingamneni
02a4aaf583
some tweaks to account/channel unregistration
6 anos atrás
Daniel Oaks
f4a284675d
Merge pull request #274 from slingamn/chanunreg.1
add CHANSERV UNREGISTER
6 anos atrás
Shivaram Lingamneni
c3b66b5236
add a verification code to CS UNREGISTER
6 anos atrás
Shivaram Lingamneni
31f386f5a9
add CHANSERV UNREGISTER
6 anos atrás
Daniel Oaks
7bf18443a8
Merge pull request #270 from slingamn/amode.1
frontend for persistent account modes in channels
6 anos atrás
Daniel Oaks
45b8d9e6fa
Update snomask to work with HOPM
6 anos atrás
Daniel Oaks
4bfa5fc66e
Merge pull request #271 from slingamn/sajoin.3
implement SAJOIN, allow channel founders to join unconditionally
6 anos atrás
Shivaram Lingamneni
495705f538
implement SAJOIN, allow channel founders to join unconditionally
6 anos atrás
Shivaram Lingamneni
d3815fbe61
review fixes and updates
6 anos atrás
Daniel Oaks
13aba9e64c
Merge pull request #269 from slingamn/operfail
fix #268
6 anos atrás
Shivaram Lingamneni
444bebc40d
force travis to use go 1.10.x
6 anos atrás
Shivaram Lingamneni
7122fb180c
add a test
6 anos atrás
Shivaram Lingamneni
1016f86f70
implement CHANSERV AMODE
6 anos atrás
Shivaram Lingamneni
f408d0f37b
review fix: add nil receivers to other read-only ModeSet methods
6 anos atrás
Shivaram Lingamneni
0751f52f37
fix #268
6 anos atrás
Daniel Oaks
f142bf065d
services: Explicitly show when commands have been disabled in the HELP output
6 anos atrás
Daniel Oaks
de7b679fc5
Merge pull request #247 from slingamn/vhosts.3
initial vhosts implementation, #183
6 anos atrás
Daniel Oaks
8227822d3e
Merge pull request #264 from slingamn/deps.1
reduce copying of output lines
6 anos atrás
Daniel Oaks
555010b02c
Merge pull request #265 from slingamn/issue262.1
fix #262
6 anos atrás
Shivaram Lingamneni
510f4320d0
fix formatting issue
6 anos atrás
Shivaram Lingamneni
c0885f9cba
add gofmt check to `make test`
6 anos atrás
Shivaram Lingamneni
f6373f7a4d
fix #262
6 anos atrás
Shivaram Lingamneni
3508865a2f
review fix
6 anos atrás
Shivaram Lingamneni
be588076e9
optimize IsLoggingRawIO
6 anos atrás
Shivaram Lingamneni
3150f4e23b
reduce copying of output lines
6 anos atrás
Shivaram Lingamneni
5b416a0922
update irc-go to latest
6 anos atrás
Daniel Oaks
00949442e0
Merge pull request #260 from slingamn/perftesting.12
optimizations related to #237
6 anos atrás
Shivaram Lingamneni
ebfef1e848
add Semaphore and ServerSemaphores
6 anos atrás
Shivaram Lingamneni
6533893863
optimized implementation of Channel.Names()
6 anos atrás
Shivaram Lingamneni
ef35c587fc
remove redundant friends computation
6 anos atrás
Shivaram Lingamneni
b97ae00fe3
refactor channel join and part
6 anos atrás
Shivaram Lingamneni
74fa58dda0
Merge remote-tracking branch 'origin/master' into vhosts.4
6 anos atrás
Daniel Oaks
22ec6139bf
Merge pull request #256 from slingamn/issue255.2
modes refactor, #255
6 anos atrás
Shivaram Lingamneni
abbbd2c899
review fix
6 anos atrás
Shivaram Lingamneni
cc9941cb07
review fixes, bug fixes
6 anos atrás
Daniel Oaks
78c0825e2a
Merge pull request #257 from slingamn/issue253
have travis enforce gofmt, #253
6 anos atrás