Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util.sasl: Preserve 'userdata' field between clones | Matthew Wild | 13 days | 1 | -3/+8 |
| | | | | | | | | | | | | | | The :clean_clone() method is designed to provide a new cloned SASL handler, to be used when starting a fresh SASL negotiation on an existing connection. The userdata field is currently populated by mod_saslauth with the "read-only" information that the channel binding methods need to do their stuff. When :clean_clone() does not preserve this, it causes tracebacks in the cb profile handlers due to the property being nil. This does mean that SASL handlers should now not be reused (even when cloned) across different connections, if they ever could. | ||||
* | util.sasl: Fix a singulars | Kim Alvefur | 2023-04-07 | 1 | -1/+1 |
| | | | | | Thanks timeless, your mere existence inspires us to improve our spelling, tho this was more syntax. | ||||
* | util: Prefix module imports with prosody namespace | Kim Alvefur | 2023-03-17 | 1 | -5/+5 |
| | |||||
* | util.sasl: Add SASL OAUTHBEARER mechanism (RFC 7628) | Matthew Wild | 2023-03-01 | 1 | -4/+5 |
| | |||||
* | Spelling: Fix various spelling mistakes (thanks timeless) | Kim Alvefur | 2022-03-07 | 1 | -2/+2 |
| | | | | | | Words, sometimes I wonder how they even work Maybe I missed something. | ||||
* | Fix various spelling errors (thanks codespell) | Kim Alvefur | 2021-07-27 | 1 | -1/+1 |
| | | | | | Also special thanks to timeless, for wordlessly reminding me to check for typos. | ||||
* | util.sasl.digest-md5: Remove, obsolete since 2011 | Kim Alvefur | 2020-04-14 | 1 | -1/+0 |
| | | | | | | | RFC 6331 lists several problems with this outdated authentication mechanism. The code here was also completely ignored by lint checks and has probably not been used for a long time, as it is incompatible with SCRAM-hashed password storage. | ||||
* | vairious: Add annotation when an empty environment is set [luacheck] | Kim Alvefur | 2018-02-28 | 1 | -0/+1 |
| | |||||
* | util: Various minor changes to please [luacheck] | Kim Alvefur | 2017-11-10 | 1 | -4/+4 |
| | |||||
* | util.*: Remove use of module() function, make all module functions local and ↵ | Kim Alvefur | 2015-02-21 | 1 | -4/+7 |
| | | | | return them in a table at the end | ||||
* | util.sasl: Fix logic for when mechanisms with channel binding support are ↵ | Kim Alvefur | 2014-03-22 | 1 | -6/+8 |
| | | | | offered | ||||
* | util.sasl: Remove unused print() import. | Waqas Hussain | 2013-10-07 | 1 | -1/+0 |
| | |||||
* | util.sasl: Make registerMechanism a public function (again) | Waqas Hussain | 2013-10-07 | 1 | -1/+1 |
| | |||||
* | Merge Tobias SCRAM-PLUS work | Kim Alvefur | 2013-09-22 | 1 | -2/+45 |
|\ | |||||
| * | Only advertise mechanisms needing channel binding if a channel binding ↵ | Tobias Markmann | 2011-02-07 | 1 | -2/+25 |
| | | | | | | | | backend is avaliable. | ||||
| * | util.sasl: New method to add channel binding handler to a SASL instance. | Tobias Markmann | 2011-01-17 | 1 | -0/+9 |
| | | |||||
| * | Check whether we support the proposed channel binding type. | Tobias Markmann | 2011-01-15 | 1 | -0/+11 |
| | | |||||
* | | util.sasl.external: Add SASL EXTERNAL mechanism | Kim Alvefur | 2013-06-13 | 1 | -0/+1 |
| | | |||||
* | | util.sasl: Make registerMechanism a public function | Matthew Wild | 2012-06-18 | 1 | -1/+1 |
| | | |||||
* | | util.sasl: Cache the calculated mechanisms set for SASL profiles ↵ | Waqas Hussain | 2010-12-29 | 1 | -5/+9 |
|/ | | | | (profile.mechanisms table). | ||||
* | util.sasl, util.sasl_cyrus: Mechanism selection cleaned up to be more ↵ | Waqas Hussain | 2010-11-02 | 1 | -6/+4 |
| | | | | consistent. | ||||
* | util.sasl, util.sasl_cyrus: Load mechanisms list early rather than lazily, ↵ | Waqas Hussain | 2010-11-02 | 1 | -14/+10 |
| | | | | as they are always loaded anyway. | ||||
* | util.sasl: Simplified some code a bit. | Waqas Hussain | 2010-08-03 | 1 | -9/+5 |
| | |||||
* | util.sasl, util.sasl_cyrus: Removed a ton of unused variables. | Waqas Hussain | 2010-08-03 | 1 | -15/+1 |
| | |||||
* | util.sasl: Removed method:forbidden() and its side effects. | Waqas Hussain | 2010-08-02 | 1 | -21/+5 |
| | |||||
* | util.sasl, util.sasl_cyrus: s/self.mechanisms()/self:mechanisms()/ in ↵ | Waqas Hussain | 2010-07-15 | 1 | -1/+1 |
| | | | | method:select(). | ||||
* | util.sasl, util.sasl_cyrus: Use method:mechanisms() in method:select(), ↵ | Waqas Hussain | 2010-07-14 | 1 | -1/+1 |
| | | | | instead of using the mechanisms list directly (fixes a traceback). | ||||
* | util.sasl, util.sasl_cyrus: Updated method:mechanisms() to cache and re-use ↵ | Waqas Hussain | 2010-07-14 | 1 | -7/+10 |
| | | | | list of mechanisms. | ||||
* | util.sasl: Use the proper session-specific table of mechanisms when ↵ | Waqas Hussain | 2010-07-14 | 1 | -2/+2 |
| | | | | selecting a mechanism, and not the global table. | ||||
* | SASL: Simplified sasl_handler:mechanisms() to return a set, and not an array. | Waqas Hussain | 2010-07-14 | 1 | -1/+1 |
| | |||||
* | SASL: Minor cleanup. | Waqas Hussain | 2010-06-03 | 1 | -5/+2 |
| | |||||
* | Merge with tip. | Tobias Markmann | 2010-03-12 | 1 | -1/+1 |
|\ | |||||
| * | util.sasl: Fixed a nil global access. | Waqas Hussain | 2010-03-02 | 1 | -1/+1 |
| | | |||||
* | | util.sasl: 2009 -> 2010 in copyright header. | Tobias Markmann | 2010-03-12 | 1 | -1/+1 |
| | | |||||
* | | util.sasl: Moving SASL authentication backends documentation to the ↵ | Tobias Markmann | 2010-02-28 | 1 | -21/+0 |
|/ | | | | mechanism files. | ||||
* | util.sasl: Move some variables to local space. Fix a bug. | Tobias Markmann | 2009-11-28 | 1 | -4/+5 |
| | |||||
* | util.sasl: Adding clean_clone() method. | Tobias Markmann | 2009-11-26 | 1 | -0/+5 |
| | |||||
* | Cleaning up. | Tobias Markmann | 2009-11-18 | 1 | -5/+5 |
| | |||||
* | Tidying up. | Tobias Markmann | 2009-11-18 | 1 | -7/+3 |
| | |||||
* | Enable restriction of supported mechanisms in the SASL library. | Tobias Markmann | 2009-11-18 | 1 | -4/+20 |
| | |||||
* | Making interop with libpurple. (Thanks darkrain). | Tobias Markmann | 2009-11-17 | 1 | -1/+1 |
| | |||||
* | Merge with sasl branch. | Tobias Markmann | 2009-11-16 | 1 | -219/+84 |
|\ | |||||
| * | Adding support for digest-md5 profile in DIGEST-MD5 implementation. | Tobias Markmann | 2009-11-13 | 1 | -1/+1 |
| | | |||||
| * | Change of the digest-md5 profile. | Tobias Markmann | 2009-11-13 | 1 | -1/+2 |
| | | |||||
| * | Add support for plain profile in digest-md5 implementation. | Tobias Markmann | 2009-11-13 | 1 | -7/+11 |
| | | |||||
| * | Getting PLAIN mechanism work with the new API. | Tobias Markmann | 2009-11-13 | 1 | -3/+6 |
| | | |||||
| * | Move each mechanism in an own file. | Tobias Markmann | 2009-11-12 | 1 | -214/+4 |
| | | |||||
| * | Fail if mechanism has already been selected. | Tobias Markmann | 2009-08-28 | 1 | -0/+4 |
| | | |||||
| * | Store stage in SASL object. | Tobias Markmann | 2009-08-28 | 1 | -91/+88 |
| | | |||||
| * | Importing SASL Digest-MD5 code. Now for real. | Tobias Markmann | 2009-08-28 | 1 | -0/+182 |
| | |