aboutsummaryrefslogtreecommitdiffstats
path: root/util/sasl.lua
Commit message (Collapse)AuthorAgeFilesLines
* Return error when the given realm value does not match the sent realm value. ↵Waqas Hussain2008-12-081-1/+5
| | | | Prevents impersonation of an account on one virtual host, but a user with the same username on another host.
* Latin1 support for SASL DIGEST-MD5 (second, and possibly final commit)Waqas Hussain2008-12-081-4/+3
|
* Latin1 support for SASL DIGEST-MD5 (initial commit)Waqas Hussain2008-12-071-1/+34
|
* Fix for handling latin1 encoded hostnames in SASLWaqas Hussain2008-12-031-1/+2
|
* Insert copyright/license headersMatthew Wild2008-12-031-1/+14
|
* Converting latin encoded responsed to utf-8 when needed.Tobias Markmann2008-11-301-0/+7
|
* Automerge with waqas.Tobias Markmann2008-11-301-0/+16
|\
| * Added function latin1toutf8 to sasl.lua, for processing non-utf8 responsesWaqas Hussain2008-11-301-0/+16
| |
* | Remove that idn stuff for realm because it's either an ugly hack that the ↵Tobias Markmann2008-11-301-2/+2
|/ | | | password_handler isn't ready for or something worse.
* idna-to-unicode so password_handler looks for the right domain.Tobias Markmann2008-11-301-1/+2
|
* Do idna-to-ascii to the realm we send first in Digest-MD5.Tobias Markmann2008-11-301-1/+1
|
* Apply IDNA to ASCII on hostnames.Tobias Markmann2008-11-291-1/+1
|
* Forced merge.Tobias Markmann2008-11-291-1/+1
|\
| * Added a FIXMEWaqas Hussain2008-11-291-1/+1
| |
| * Improved the regexp used to parse the client response a bit. Authenticating ↵Waqas Hussain2008-11-291-1/+1
| | | | | | | | with non-ascii realm values now works.
* | Do idna_to_ascii when building own response.Tobias Markmann2008-11-281-2/+3
|/
* Completely switched to new hashes library from the old md5 libraryWaqas Hussain2008-11-281-7/+7
|
* Some ends too much.Tobias Markmann2008-11-231-2/+2
|
* Some changes to report more correct SASL failures. Support for disabled ↵Tobias Markmann2008-11-231-2/+4
| | | | accounts.
* Checking some variables for nil so no errors occur that'll break the server.Tobias Markmann2008-11-231-0/+7
|
* Removing some debug messages.Tobias Markmann2008-11-161-8/+0
|
* Providing some human readable error messages and some fixes.Tobias Markmann2008-11-151-27/+27
|\
* | Made SASL module fit the new interface.Tobias Markmann2008-11-151-98/+86
|/
* Started using realm in password hashing, and added support for error message ↵Waqas Hussain2008-11-161-1/+1
| | | | replies from sasl
* Set username in a SASL object.Tobias Markmann2008-11-151-1/+6
|
* Made PLAIN method in sasl.lua module follow new interface.Tobias Markmann2008-11-151-18/+19
|
* Rewrote SASL Digest-MD5 responce generating code, fixed some realm related ↵Tobias Markmann2008-11-121-55/+50
| | | | issue and tested it successfully with Psi. Thanks to dwd, remko and jake.
* Forward response stanzas to sasl.lua and some other stuff.Tobias Markmann2008-11-101-4/+6
|
* Fixing some parsing and some other stuff.Tobias Markmann2008-11-091-11/+8
|
* Some early attempts on DIGEST-MD5.Tobias Markmann2008-11-091-2/+144
|
* Fix for using wrong auth token as username (fixes Gajim login)Matthew Wild2008-10-041-1/+1
|
* SASL!Matthew Wild2008-10-021-17/+26
| | | | | (but before you get too excited, no resource binding yet. And yes, there are still plenty of rough edges to the code...) ((eg. must move <stream:features> out of xmlhandlers.lua o_O ))
* Fix quoting in util/sasl.luaMatthew Wild2008-09-301-3/+3
|
* module table was missingTobias Markmann2008-08-261-0/+1
|
* * missing base64 decode of SASL responseTobias Markmann2008-08-261-1/+1
|
* adding SASL lib with PLAIN support, not tested yetTobias Markmann2008-08-261-0/+33