Commit Graph

58 Commits (53295e052d0b5fde8f2d94cb8f41427876c82935)

Author SHA1 Message Date
Matthew Wild 7f7d80a4e8 util.sasl: Fix 2 global sets (one a tpyo) 17 years ago
Tobias Markmann c03e9b5ddc Allow ampersands in passwords for SASL PLAIN mechanism and fixing a typo. 17 years ago
Tobias Markmann 38bc2857bd Change variable name. The previous choice was too ugly looking. 17 years ago
Tobias Markmann fdf06e3692 Do SASLprep for SASL PLAIN mechanism to be more conform with RFC 4616. 17 years ago
Matthew Wild 1127f01f91 util.sasl: Convert spaces to tabs 17 years ago
Tobias Markmann ef8c8fb19f Move to-unicode conversion from mod_saslauth.lua to sasl.lua. 17 years ago
Tobias Markmann f5a6ea54cf Adjust PLAIN and DIGEST-MD5 mechanisms to new password_handler API. 17 years ago
Tobias Markmann 8be1d2e2d6 Adding COMPAT comment. 17 years ago
Waqas Hussain f39a3c3f1c util.sasl: Remove some nastiness 17 years ago
Tobias Markmann b35bf3760e . 17 years ago
Tobias Markmann 11bbb47e9c Some beauty treatment. 17 years ago
Tobias Markmann a8d9ed20fa Adding minimal support for authorization identities to workaround buggy SASL implementations. 17 years ago
Tobias Markmann 00122588ee adding RFC comment 17 years ago
Waqas Hussain babc0d7992 util/sasl: Removed unnecessary references to util.encodings.idna 17 years ago
Matthew Wild c80f91dc02 0.3->0.4 17 years ago
Tobias Markmann ee76996984 Adding TODO notice on UUIDs for usage with SASL ANONYMOUS. 17 years ago
Tobias Markmann 5affd107f0 Adding inital support for ANONYMOUS mechanism in SASL. 17 years ago
Matthew Wild c5ee166aa9 Update copyright notices for 2009 17 years ago
Waqas Hussain 9015fd411c sasl: Set realm to be the current realm when the client didn't send a realm, or sent an empty one 17 years ago
Waqas Hussain 5d25f17e02 sasl: Don't fail for realm="" 17 years ago
Matthew Wild d3ad4a5123 0.1 -> 0.2 17 years ago
Waqas Hussain ca2df50f6b Removed the unnecessary idna.to_ascii applied to the DIGEST-MD5 disgest-uri response values, which was causing auth failures with some clients. 17 years ago
Waqas Hussain 5b3c2cf167 Return error when the given realm value does not match the sent realm value. Prevents impersonation of an account on one virtual host, but a user with the same username on another host. 17 years ago
Waqas Hussain 2e6fcdb2d0 Latin1 support for SASL DIGEST-MD5 (second, and possibly final commit) 17 years ago
Waqas Hussain 0595c7a86c Latin1 support for SASL DIGEST-MD5 (initial commit) 17 years ago
Waqas Hussain 7ec231373f Fix for handling latin1 encoded hostnames in SASL 17 years ago
Matthew Wild 0c5cc83112 Insert copyright/license headers 17 years ago
Tobias Markmann 93aceeb147 Converting latin encoded responsed to utf-8 when needed. 17 years ago
Waqas Hussain 8932fbc85c Added function latin1toutf8 to sasl.lua, for processing non-utf8 responses 17 years ago
Tobias Markmann ae8f24b0bf Remove that idn stuff for realm because it's either an ugly hack that the password_handler isn't ready for or something worse. 17 years ago
Tobias Markmann d69635ec56 idna-to-unicode so password_handler looks for the right domain. 17 years ago
Tobias Markmann 9535a107ff Do idna-to-ascii to the realm we send first in Digest-MD5. 17 years ago
Tobias Markmann e20fe5e467 Apply IDNA to ASCII on hostnames. 17 years ago
Waqas Hussain c070aa7279 Added a FIXME 17 years ago
Waqas Hussain fa1df6cfe4 Improved the regexp used to parse the client response a bit. Authenticating with non-ascii realm values now works. 17 years ago
Tobias Markmann 8e2b0deb94 Do idna_to_ascii when building own response. 17 years ago
Waqas Hussain 631e249397 Completely switched to new hashes library from the old md5 library 17 years ago
Tobias Markmann 009fe2e38b Some ends too much. 17 years ago
Tobias Markmann 8e11baf028 Some changes to report more correct SASL failures. Support for disabled accounts. 17 years ago
Tobias Markmann 3bc6fdb526 Checking some variables for nil so no errors occur that'll break the server. 17 years ago
Tobias Markmann 74f2b0fd6f Removing some debug messages. 17 years ago
Tobias Markmann a06fac33d5 Made SASL module fit the new interface. 17 years ago
Waqas Hussain a055e3c41b Started using realm in password hashing, and added support for error message replies from sasl 17 years ago
Tobias Markmann 0d8a36b732 Set username in a SASL object. 17 years ago
Tobias Markmann ffae5a0713 Made PLAIN method in sasl.lua module follow new interface. 17 years ago
Tobias Markmann 18e785078a Rewrote SASL Digest-MD5 responce generating code, fixed some realm related issue and tested it successfully with Psi. Thanks to dwd, remko and jake. 17 years ago
Tobias Markmann c4d2deffc6 Forward response stanzas to sasl.lua and some other stuff. 17 years ago
Tobias Markmann 346b695b79 Fixing some parsing and some other stuff. 17 years ago
Tobias Markmann 07e0d852f5 Some early attempts on DIGEST-MD5. 17 years ago
Matthew Wild 3bac5046af Fix for using wrong auth token as username (fixes Gajim login) 18 years ago