Celelibi
|
84b73bb89f
|
Tidy up imports and define __all__ in modules (#660)
|
2020-06-18 15:47:20 -07:00 |
|
James Lu
|
eba5d91299
|
Default hash method to pbkdf2-sha256 & allow customizing CryptContext options
This introduces a new login::cryptcontext_settings config option.
Closes #645.
|
2019-06-07 14:13:39 -07:00 |
|
James Lu
|
1b68bfadc6
|
coremods, plugins, protocols: drop now redundant allowAuthed=False in is_oper() calls
|
2018-06-11 23:56:44 -07:00 |
|
James Lu
|
108d4b86d9
|
login: fix login for legacy accounts (#590)
|
2018-05-26 01:27:12 -07:00 |
|
James Lu
|
9e936f1612
|
Rewrite login handling (Closes #590)
* Move identify command and login helpers into coremods.login
- corecommands._login -> login._irc_try_login
* Add login._get_account() function to consistently fetch login block info
* Rename functions in coremods.login to snake case:
- checkLogin -> check_login
- verifyHash -> verify_hash
* Replace explicit returns in login checks with raising utils.NotAuthorizedError()
|
2018-05-25 23:50:55 -07:00 |
|
James Lu
|
b23a887edd
|
login: remove all__vary_rounds setting (deprecated in Passlib 1.7)
|
2017-03-08 22:58:17 -08:00 |
|
James Lu
|
d6a6d069bc
|
Move 'mkpasswd' to the commands plugin
|
2017-01-22 16:42:46 -08:00 |
|
James Lu
|
fd12a5d919
|
core: make passlib an optional dependency
|
2017-01-22 16:42:46 -08:00 |
|
James Lu
|
e7e2f2c98e
|
core: update "missing dependencies" errors
Closes #363.
|
2016-12-09 17:15:53 -08:00 |
|
James Lu
|
ffc271a53a
|
login: Use a slightly faster CryptContext
|
2016-11-19 17:47:55 -08:00 |
|
James Lu
|
b1e4b34b79
|
Switch 'identify' to use the new login backend, add passlib to README dependencies
This new backend supports optional encryption (sha256_crypt / sha512_crypt via passlib). Closes #322.
|
2016-11-19 17:21:45 -08:00 |
|
James Lu
|
69066029f1
|
Simplify/rewrite the login module
|
2016-11-19 17:01:05 -08:00 |
|
James Lu
|
3308db0cd2
|
Import coremods/login.py (abstracted login checking) from @IotaSpencer's repo
|
2016-11-19 17:01:00 -08:00 |
|