aboutsummaryrefslogtreecommitdiffstats
path: root/util/sasl.lua
Commit message (Collapse)AuthorAgeFilesLines
* util.sasl: Added compatibility workaround for jwchat sending an encoded ↵Waqas Hussain2009-11-181-1/+1
| | | | trailing '\0' in SASL responses.
* util.sasl: Improved a log message.Waqas Hussain2009-11-131-1/+1
|
* util.sasl: Allow authzid=username (for compatibility with Smack's ↵Waqas Hussain2009-11-131-1/+1
| | | | non-compliant behavior).
* util.sasl: Return proper error when client provides authzid.Waqas Hussain2009-11-131-1/+1
|
* Uncertain merge with 0.5's SASLMatthew Wild2009-08-201-4/+4
|\
| * util.sasl: Fix 2 global sets (one a tpyo)Matthew Wild2009-08-201-2/+2
| |
| * Allow ampersands in passwords for SASL PLAIN mechanism and fixing a typo.Tobias Markmann2009-08-191-4/+4
| |
| * Change variable name. The previous choice was too ugly looking.Tobias Markmann2009-08-191-3/+3
| |
| * Do SASLprep for SASL PLAIN mechanism to be more conform with RFC 4616.Tobias Markmann2009-08-191-0/+3
| |
* | Moving realm at the beginning of the digest-md5 message send by the server.Tobias Markmann2009-08-091-1/+1
| |
* | Fixing a SASL issue by always passing the realm from SASL framework init to ↵Tobias Markmann2009-08-081-1/+1
| | | | | | | | the handlers.
* | Switch to using a more generic credentials_callback/handler for SASL auth.nick2009-07-241-56/+56
|/ | | | | | | Not all authentication mechanisms have the same requirements; it makes sense to provide them only with the information they require (and for them to depend on that) so that as many auth mechanisms as possible can be supported with a variety of credentials-storing schemes. This commit patches that together
* util.sasl: Convert spaces to tabsMatthew Wild2009-07-101-2/+2
|
* Move to-unicode conversion from mod_saslauth.lua to sasl.lua.Tobias Markmann2009-07-051-1/+2
|
* Adjust PLAIN and DIGEST-MD5 mechanisms to new password_handler API.Tobias Markmann2009-06-201-3/+3
|
* Adding COMPAT comment.Tobias Markmann2009-06-201-0/+1
|
* util.sasl: Remove some nastinessWaqas Hussain2009-06-041-2/+0
|
* .Tobias Markmann2009-05-151-1/+1
|
* Some beauty treatment.Tobias Markmann2009-05-151-27/+27
|
* Adding minimal support for authorization identities to workaround buggy SASL ↵Tobias Markmann2009-05-151-2/+11
| | | | implementations.
* adding RFC commentTobias Markmann2009-05-151-1/+3
|
* util/sasl: Removed unnecessary references to util.encodings.idnaWaqas Hussain2009-05-081-2/+0
|
* 0.3->0.4Matthew Wild2009-03-201-1/+1
|
* Adding TODO notice on UUIDs for usage with SASL ANONYMOUS.Tobias Markmann2009-02-141-0/+1
|
* Adding inital support for ANONYMOUS mechanism in SASL.Tobias Markmann2009-02-141-1/+12
|
* Update copyright notices for 2009Matthew Wild2009-01-301-1/+1
|
* sasl: Set realm to be the current realm when the client didn't send a realm, ↵Waqas Hussain2009-01-101-3/+3
| | | | or sent an empty one
* sasl: Don't fail for realm=""Waqas Hussain2009-01-091-3/+3
|
* 0.1 -> 0.2Matthew Wild2008-12-101-1/+1
|
* Removed the unnecessary idna.to_ascii applied to the DIGEST-MD5 disgest-uri ↵Waqas Hussain2008-12-081-2/+2
| | | | response values, which was causing auth failures with some clients.
* 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
|