Log

util/sasl.lua @ 13270:14bbfb2cc8dd default tip

description author age
util.sasl: Fix a singulars Kim Alvefur Fri, 07 Apr 2023 17:18:23 +0200
util: Prefix module imports with prosody namespace Kim Alvefur Fri, 17 Mar 2023 16:23:16 +0100
util.sasl: Add SASL OAUTHBEARER mechanism (RFC 7628) Matthew Wild Wed, 01 Mar 2023 12:55:00 +0000
Spelling: Fix various spelling mistakes (thanks timeless) Kim Alvefur Mon, 07 Mar 2022 00:13:56 +0100
Fix various spelling errors (thanks codespell) Kim Alvefur Tue, 27 Jul 2021 00:13:18 +0200
util.sasl.digest-md5: Remove, obsolete since 2011 Kim Alvefur Tue, 14 Apr 2020 16:51:24 +0200
vairious: Add annotation when an empty environment is set [luacheck] Kim Alvefur Wed, 28 Feb 2018 20:06:26 +0100
util: Various minor changes to please [luacheck] Kim Alvefur Fri, 10 Nov 2017 05:42:32 +0100
util.*: Remove use of module() function, make all module functions local and return them in a table at the end Kim Alvefur Sat, 21 Feb 2015 10:36:37 +0100
util.sasl: Fix logic for when mechanisms with channel binding support are offered Kim Alvefur Sat, 22 Mar 2014 14:45:04 +0100
util.sasl: Remove unused print() import. Waqas Hussain Mon, 07 Oct 2013 18:02:58 -0400
util.sasl: Make registerMechanism a public function (again) Waqas Hussain Mon, 07 Oct 2013 17:57:06 -0400
Merge Tobias SCRAM-PLUS work Kim Alvefur Sun, 22 Sep 2013 00:44:20 +0200
Only advertise mechanisms needing channel binding if a channel binding backend is avaliable. Tobias Markmann Mon, 07 Feb 2011 13:24:42 +0100
util.sasl: New method to add channel binding handler to a SASL instance. Tobias Markmann Mon, 17 Jan 2011 16:50:21 +0100
Check whether we support the proposed channel binding type. Tobias Markmann Sat, 15 Jan 2011 17:59:15 +0100
util.sasl.external: Add SASL EXTERNAL mechanism Kim Alvefur Thu, 13 Jun 2013 18:20:49 +0200
util.sasl: Make registerMechanism a public function Matthew Wild Mon, 18 Jun 2012 16:57:46 +0100
util.sasl: Cache the calculated mechanisms set for SASL profiles (profile.mechanisms table). Waqas Hussain Wed, 29 Dec 2010 18:45:31 +0500
util.sasl, util.sasl_cyrus: Mechanism selection cleaned up to be more consistent. Waqas Hussain Tue, 02 Nov 2010 18:58:11 +0500
util.sasl, util.sasl_cyrus: Load mechanisms list early rather than lazily, as they are always loaded anyway. Waqas Hussain Tue, 02 Nov 2010 18:04:56 +0500
util.sasl: Simplified some code a bit. Waqas Hussain Tue, 03 Aug 2010 18:19:45 +0500
util.sasl, util.sasl_cyrus: Removed a ton of unused variables. Waqas Hussain Tue, 03 Aug 2010 17:11:40 +0500
util.sasl: Removed method:forbidden() and its side effects. Waqas Hussain Mon, 02 Aug 2010 18:47:33 +0500
util.sasl, util.sasl_cyrus: s/self.mechanisms()/self:mechanisms()/ in method:select(). Waqas Hussain Thu, 15 Jul 2010 22:07:45 +0500
util.sasl, util.sasl_cyrus: Use method:mechanisms() in method:select(), instead of using the mechanisms list directly (fixes a traceback). Waqas Hussain Wed, 14 Jul 2010 20:21:51 +0500
util.sasl, util.sasl_cyrus: Updated method:mechanisms() to cache and re-use list of mechanisms. Waqas Hussain Wed, 14 Jul 2010 20:10:35 +0500
util.sasl: Use the proper session-specific table of mechanisms when selecting a mechanism, and not the global table. Waqas Hussain Wed, 14 Jul 2010 20:05:25 +0500
SASL: Simplified sasl_handler:mechanisms() to return a set, and not an array. Waqas Hussain Wed, 14 Jul 2010 19:56:57 +0500
SASL: Minor cleanup. Waqas Hussain Thu, 03 Jun 2010 17:48:50 +0500
Merge 0.7->trunk Matthew Wild Sun, 23 May 2010 23:11:00 +0100
util.sasl: Moving SASL authentication backends documentation to the mechanism files. Tobias Markmann Sun, 28 Feb 2010 22:32:12 +0100
Merge Tobias's fancy SASL branch->trunk Matthew Wild Wed, 05 May 2010 11:29:10 +0100
Merge with tip. Tobias Markmann Fri, 12 Mar 2010 18:41:05 +0100
util.sasl: 2009 -> 2010 in copyright header. Tobias Markmann Fri, 12 Mar 2010 18:37:51 +0100
util.sasl: Moving SASL authentication backends documentation to the mechanism files. Tobias Markmann Sun, 28 Feb 2010 22:32:12 +0100
Merge 0.6->0.7 Matthew Wild Mon, 22 Mar 2010 17:24:55 +0000
Update copyright headers for 2010 Matthew Wild Mon, 22 Mar 2010 17:06:15 +0000
util.sasl.plain: Allow empty authzid (thanks bjc). Waqas Hussain Tue, 01 Dec 2009 22:32:37 +0500
util.sasl: Fixed a nil global access. Waqas Hussain Tue, 02 Mar 2010 00:51:27 +0500
util.sasl: Move some variables to local space. Fix a bug. Tobias Markmann Sat, 28 Nov 2009 18:23:25 +0100
util.sasl: Adding clean_clone() method. Tobias Markmann Thu, 26 Nov 2009 23:11:02 +0100
Merge with trunk. Tobias Markmann Thu, 19 Nov 2009 17:53:52 +0100
Cleaning up. Tobias Markmann Wed, 18 Nov 2009 23:25:27 +0100
Tidying up. Tobias Markmann Wed, 18 Nov 2009 22:59:43 +0100
Enable restriction of supported mechanisms in the SASL library. Tobias Markmann Wed, 18 Nov 2009 22:56:50 +0100
Making interop with libpurple. (Thanks darkrain). Tobias Markmann Tue, 17 Nov 2009 22:39:18 +0100
Merge with sasl branch. Tobias Markmann Mon, 16 Nov 2009 21:43:57 +0100
Adding support for digest-md5 profile in DIGEST-MD5 implementation. sasl Tobias Markmann Fri, 13 Nov 2009 11:24:22 +0100
Change of the digest-md5 profile. sasl Tobias Markmann Fri, 13 Nov 2009 11:21:21 +0100
Add support for plain profile in digest-md5 implementation. sasl Tobias Markmann Fri, 13 Nov 2009 10:54:17 +0100
Getting PLAIN mechanism work with the new API. sasl Tobias Markmann Fri, 13 Nov 2009 09:21:19 +0100
Move each mechanism in an own file. sasl Tobias Markmann Thu, 12 Nov 2009 21:57:37 +0100
Fail if mechanism has already been selected. sasl Tobias Markmann Fri, 28 Aug 2009 22:03:11 +0200
Store stage in SASL object. sasl Tobias Markmann Fri, 28 Aug 2009 22:01:58 +0200
Importing SASL Digest-MD5 code. Now for real. sasl Tobias Markmann Fri, 28 Aug 2009 19:57:09 +0200
Importing SASL Digest-MD5 code. sasl Tobias Markmann Fri, 28 Aug 2009 19:56:54 +0200
List RFC numbers. sasl Tobias Markmann Fri, 28 Aug 2009 19:43:33 +0200
Allow ampersands in passwords for SASL PLAIN mechanism. sasl Tobias Markmann Fri, 28 Aug 2009 19:20:12 +0200
Making mod_saslauth use the new SASL API. sasl Tobias Markmann Fri, 28 Aug 2009 13:04:38 +0200
Adjust SASL PLAIN mechanism to the new API. sasl Tobias Markmann Thu, 27 Aug 2009 21:29:36 +0200
Adding some docu. sasl Tobias Markmann Sun, 16 Aug 2009 23:20:02 +0200
Mostly making the code run; includes fixing typos and so on. sasl Tobias Markmann Mon, 10 Aug 2009 23:04:19 +0200
Initial commit of the SASL redesign. sasl Tobias Markmann Mon, 10 Aug 2009 12:14:40 +0200
util.sasl: Add COMPAT comment Matthew Wild Wed, 18 Nov 2009 03:35:42 +0000
util.sasl: Added compatibility workaround for jwchat sending an encoded trailing '\0' in SASL responses. Waqas Hussain Wed, 18 Nov 2009 06:21:59 +0500
util.sasl: Improved a log message. Waqas Hussain Fri, 13 Nov 2009 06:29:37 +0500
util.sasl: Allow authzid=username (for compatibility with Smack's non-compliant behavior). Waqas Hussain Fri, 13 Nov 2009 06:10:46 +0500
util.sasl: Return proper error when client provides authzid. Waqas Hussain Fri, 13 Nov 2009 04:24:17 +0500
Uncertain merge with 0.5's SASL Matthew Wild Thu, 20 Aug 2009 13:57:50 +0100
util.sasl: Fix 2 global sets (one a tpyo) Matthew Wild Thu, 20 Aug 2009 04:15:41 +0100
Allow ampersands in passwords for SASL PLAIN mechanism and fixing a typo. Tobias Markmann Wed, 19 Aug 2009 22:16:27 +0200
Change variable name. The previous choice was too ugly looking. Tobias Markmann Wed, 19 Aug 2009 22:04:14 +0200
Do SASLprep for SASL PLAIN mechanism to be more conform with RFC 4616. Tobias Markmann Wed, 19 Aug 2009 21:34:28 +0200
Moving realm at the beginning of the digest-md5 message send by the server. Tobias Markmann Sun, 09 Aug 2009 21:19:03 +0200
Fixing a SASL issue by always passing the realm from SASL framework init to the handlers. Tobias Markmann Sat, 08 Aug 2009 21:13:18 +0200
Switch to using a more generic credentials_callback/handler for SASL auth. nick Fri, 24 Jul 2009 01:34:25 +0100
util.sasl: Convert spaces to tabs Matthew Wild Fri, 10 Jul 2009 02:26:43 +0100
Move to-unicode conversion from mod_saslauth.lua to sasl.lua. Tobias Markmann Sun, 05 Jul 2009 19:02:55 +0200
Adjust PLAIN and DIGEST-MD5 mechanisms to new password_handler API. Tobias Markmann Sat, 20 Jun 2009 22:19:24 +0200
Adding COMPAT comment. Tobias Markmann Sat, 20 Jun 2009 19:06:04 +0200
util.sasl: Remove some nastiness Waqas Hussain Thu, 04 Jun 2009 20:27:53 +0500
. Tobias Markmann Fri, 15 May 2009 17:28:39 +0200
Some beauty treatment. Tobias Markmann Fri, 15 May 2009 17:28:22 +0200
Adding minimal support for authorization identities to workaround buggy SASL implementations. Tobias Markmann Fri, 15 May 2009 17:24:52 +0200
adding RFC comment Tobias Markmann Fri, 15 May 2009 17:05:26 +0200
util/sasl: Removed unnecessary references to util.encodings.idna Waqas Hussain Fri, 08 May 2009 01:05:53 +0500
0.3->0.4 Matthew Wild Fri, 20 Mar 2009 20:16:25 +0000
Adding TODO notice on UUIDs for usage with SASL ANONYMOUS. Tobias Markmann Sat, 14 Feb 2009 19:39:46 +0100
Adding inital support for ANONYMOUS mechanism in SASL. Tobias Markmann Sat, 14 Feb 2009 18:57:50 +0100
Update copyright notices for 2009 Matthew Wild Fri, 30 Jan 2009 17:59:26 +0000
sasl: Set realm to be the current realm when the client didn't send a realm, or sent an empty one Waqas Hussain Sat, 10 Jan 2009 20:14:47 +0500
sasl: Don't fail for realm="" Waqas Hussain Fri, 09 Jan 2009 20:49:39 +0500
0.1 -> 0.2 Matthew Wild Wed, 10 Dec 2008 15:44:03 +0000
Removed the unnecessary idna.to_ascii applied to the DIGEST-MD5 disgest-uri response values, which was causing auth failures with some clients. Waqas Hussain Mon, 08 Dec 2008 03:27:02 +0500
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. Waqas Hussain Mon, 08 Dec 2008 03:23:37 +0500
Latin1 support for SASL DIGEST-MD5 (second, and possibly final commit) Waqas Hussain Mon, 08 Dec 2008 00:18:01 +0500
Latin1 support for SASL DIGEST-MD5 (initial commit) Waqas Hussain Sun, 07 Dec 2008 23:43:08 +0500
Fix for handling latin1 encoded hostnames in SASL Waqas Hussain Wed, 03 Dec 2008 22:08:49 +0500
Insert copyright/license headers Matthew Wild Wed, 03 Dec 2008 14:39:07 +0000
Converting latin encoded responsed to utf-8 when needed. Tobias Markmann Sun, 30 Nov 2008 17:34:47 +0100
Automerge with waqas. Tobias Markmann Sun, 30 Nov 2008 17:18:31 +0100
Remove that idn stuff for realm because it's either an ugly hack that the password_handler isn't ready for or something worse. Tobias Markmann Sun, 30 Nov 2008 02:26:37 +0100
Added function latin1toutf8 to sasl.lua, for processing non-utf8 responses Waqas Hussain Sun, 30 Nov 2008 20:58:48 +0500
idna-to-unicode so password_handler looks for the right domain. Tobias Markmann Sun, 30 Nov 2008 01:35:40 +0100
Do idna-to-ascii to the realm we send first in Digest-MD5. Tobias Markmann Sun, 30 Nov 2008 00:44:23 +0100
Apply IDNA to ASCII on hostnames. Tobias Markmann Sat, 29 Nov 2008 12:17:21 +0100
Forced merge. Tobias Markmann Sat, 29 Nov 2008 11:24:59 +0100
Do idna_to_ascii when building own response. Tobias Markmann Fri, 28 Nov 2008 18:32:54 +0100
Added a FIXME Waqas Hussain Sat, 29 Nov 2008 05:57:57 +0500
Improved the regexp used to parse the client response a bit. Authenticating with non-ascii realm values now works. Waqas Hussain Sat, 29 Nov 2008 05:56:09 +0500
Completely switched to new hashes library from the old md5 library Waqas Hussain Fri, 28 Nov 2008 01:16:26 +0500