Commit graph

48 commits

Author SHA1 Message Date
Kim Alvefur
71c6728e69 mod_auth_internal_*: Apply saslprep to passwords
Related to #1560
2020-05-23 14:17:04 +02:00
Kim Alvefur
d464d7edb1 mod_auth_internal_hashed: Pass on errors from password hash function (fixes #1477) 2019-12-23 22:42:39 +01:00
Kim Alvefur
73b75571e6 core.usermanager, various modules: Disconnect other resources on password change (thanks waqas) (fixes #512) 2017-07-28 13:15:29 +02:00
Kim Alvefur
4234f60c4a mod_auth_internal_hashed: Split long lines [luacheck] 2017-04-04 01:26:26 +02:00
Kim Alvefur
5386166909 mod_auth_internal_hashed: Rename unused 'self' to _ [luacheck] 2017-04-04 01:26:09 +02:00
Kim Alvefur
938380cacc mod_auth_internal_hashed: Use util.hex 2015-05-18 21:00:41 +02:00
Florian Zeitz
e4186638c7 mod_auth_interal_hashed: Update salt and iteration count when setting a new password 2014-02-12 13:45:16 +01:00
Kim Alvefur
a10c051fb2 mod_auth_internal_hashed: Log calls to provider methods and be consistent with mod_auth_internal_plain 2013-08-10 20:19:40 +02:00
Kim Alvefur
31c364ad7f mod_auth_internal_hashed: Use logger setup by moduleapi instead of going for util.logger directly 2013-08-10 20:17:45 +02:00
Kim Alvefur
6ee727dd25 mod_auth_internal_hashed: Remove this 'initializing' message too 2013-08-10 20:15:25 +02:00
Florian Zeitz
1d833bb807 Remove all trailing whitespace 2013-08-09 17:48:21 +02:00
Kim Alvefur
61e1281073 mod_auth_internal_hashed, mod_auth_internal_plain, mod_privacy, mod_private, mod_register, mod_vcard, mod_muc: Use module:open_store() 2013-04-19 16:14:06 +02:00
Waqas Hussain
b1f22daa93 mod_auth_internal_plain, mod_auth_internal_hashed: No need to nodeprep here. 2013-01-22 08:26:08 +05:00
Kim Alvefur
ce8ed66881 mod_auth_internal_{plain,hashed}: Add support for iterating over accounts 2012-09-21 17:26:12 +02:00
Waqas Hussain
92515e7aa6 mod_auth_*: Use module:provides(). 2012-09-12 21:41:51 +05:00
Waqas Hussain
2e28c81f01 mod_auth_internal_hashed: Get rid of useless wrapper function new_hashpass_provider. 2012-09-12 21:40:00 +05:00
Matthew Wild
90342aaf3c mod_auth_internal_hashed: Remove COMPAT code (upgrading old hashed storage format from pre-0.8) 2012-04-28 03:59:31 +01:00
Matthew Wild
a4d38eb601 mod_auth_internal_hashed: Remove unused imports 2012-04-28 03:55:25 +01:00
Matthew Wild
afebf2da34 mod_auth_internal_{plain,hashed}: Clarify log messages on initialization 2012-03-11 20:56:09 +00:00
Waqas Hussain
9c85f1fccd mod_auth_*: Get rid of undocumented and broken 'sasl_realm' config option. 2011-02-23 01:34:46 +05:00
Matthew Wild
2e28b24183 mod_auth_internal_*: Support for delete_user method 2011-01-04 17:12:28 +00:00
Waqas Hussain
aa144af70e util.sasl.*, mod_auth_*, mod_saslauth: Pass SASL handler as first parameter to SASL profile callbacks. 2010-12-27 19:57:04 +05:00
Kim Alvefur
e535c73ca3 mod_auth_internal_hashed: Fix deleting users 2010-08-16 18:51:22 +02:00
Matthew Wild
a6e1eb7590 usermanager, mod_auth_internal_hashed, mod_legacyauth: New order of parameters for usermanager.test_password - username, host, password 2010-07-21 21:01:36 +01:00
Waqas Hussain
41da5ba5b5 mod_auth_internal_hashed: Fixed SCRAM-SHA-1 mechanism to not traceback on non-existent users. 2010-07-17 19:34:06 +05:00
Matthew Wild
c60ae1fda2 mod_auth_internal, mod_auth_internal_hashed: Remove checking for nil or empty password and pretending it means the user doesn't exist. Hopefully with more success than Custer. 2010-07-08 20:59:53 +01:00
Matthew Wild
02dddbbc8d mod_auth_internal_hashed: Update TODO comments to COMPAT 2010-06-22 20:54:15 +01:00
Matthew Wild
6cd96e6121 mod_auth_internal_hashed: Remove far too many instances of inline hex conversion using gsub, which was creating useless closures and what-not 2010-06-22 20:52:43 +01:00
Matthew Wild
067898649a mod_auth_internal, mod_auth_internal_hashed: Remove is_admin method from providers 2010-06-22 19:14:55 +01:00
Waqas Hussain
1a8e5b9950 mod_auth_internal_hashed: Log as "auth_internal_hashed", not as "usermanager". 2010-06-15 09:12:49 +05:00
Waqas Hussain
c44856d4d0 mod_auth_internal_hashed: Don't assume user doesn't exist if no recognizable authentication data is found. 2010-06-15 09:11:10 +05:00
Waqas Hussain
20e4e09b0e mod_auth_internal_hashed: Removed all checks for Cyrus SASL. 2010-06-15 09:08:02 +05:00
Waqas Hussain
8fcc2761e6 mod_auth_internal_hashed: Fixed a traceback in account creation. 2010-06-13 04:07:38 +05:00
Matthew Wild
79fcb39d49 mod_auth_internal{,_hashed}: Update is_admin to only report the admin status of the current host (ignores global admin rights), fixes global access traceback 2010-06-09 21:25:59 +01:00
Waqas Hussain
bb572575a3 mod_auth_internal_hashed: Removed some useless code. 2010-06-09 22:01:47 +05:00
Waqas Hussain
2c20356058 Merge with Tobias. 2010-06-09 21:34:32 +05:00
Tobias Markmann
b0cd9c5a9a mod_auth_internal_hashed: Empty hashpass after conversion to stored_key/server_key and store new authentication database. 2010-06-09 17:58:20 +02:00
Tobias Markmann
480fa4dd0a mod_auth_internal_hashed: Remove debugging output. 2010-06-09 17:55:04 +02:00
Tobias Markmann
282c761001 mod_auth_internal_hashed: Convert hashpass to server_key/stored_key on SCRAM-SHA-1 login. 2010-06-09 17:54:34 +02:00
Tobias Markmann
d543622be3 mod_auth_internal_hashed: Convert hashpass to server_key/stored_key on PLAIN login. 2010-06-09 17:51:08 +02:00
Kim Alvefur
6ef96921f5 Fix missing parameter in mod_auth_internal_hashed. 2010-06-09 03:41:24 +02:00
Tobias Markmann
9cbe1a3742 mod_auth_internal_hashed: Coverting salted password to stored_key and server_key. 2010-06-08 15:02:53 +02:00
Tobias Markmann
392a5dc56c mod_auth_internal_hashed: Store stored_key and server_key when setting a password. 2010-06-08 14:54:47 +02:00
Tobias Markmann
9e9c409297 mod_auth_internal_hashed: Store StoredKey and ServerKey instead of salted hashed password. 2010-06-08 10:47:55 +02:00
Waqas Hussain
21d34b1fb9 mod_auth_internal_hashed: Added SCRAM-SHA-1 support for SASL. 2010-06-07 03:07:58 +05:00
Waqas Hussain
4e378598de mod_auth_internal, mod_auth_internal_hashed: Fixed a global access. 2010-06-07 02:38:20 +05:00
Waqas Hussain
e42b058b2b mod_auth_internal, mod_auth_internal_hashed: Updated to provide get_sasl_handler. 2010-06-07 02:33:40 +05:00
Matthew Wild
3846f08f09 Rename mod_defaultauth -> mod_auth_internal, mod_hashpassauth -> mod_auth_internal_hashed, and the providers to internal and internal_hashed respectively. Also no longer auto-load defaultauth, but instead auto-load the plugin selected for each host at startup based on the provider name. 2010-06-04 14:33:36 +01:00
Renamed from plugins/mod_hashpassauth.lua (Browse further)