Commit Graph

385 Commits (edc52a67f0351e48e1663d12fece2da413d617c5)

Author SHA1 Message Date
Tobias Markmann edc52a67f0 Adding sasl_cyrus.lua. A sasl.lua drop-in replacement to use CyrusSASL for all c2s authentication. 16 years ago
Brian Cully 348b2532e3 util.prosodyctl: Saner determination of Prosody executable path 16 years ago
Matthew Wild d7d5b34c60 util.timer: Use luaevent's built-in method of repeating an event (fixes a weird crash) 16 years ago
Matthew Wild d930baaa0c util.datamanager: Store data stores with no host in '_global' folder 16 years ago
Matthew Wild 7be6d854c1 util.pluginloader: Don't specify a host for the plugin data store (clever waqas...) 16 years ago
Matthew Wild 6428065b5e util.dependencies: Fix package name of LuaFilesystem 16 years ago
Matthew Wild 7add1f641e util.pluginloader: Support for fetching plugins from the data store 16 years ago
Waqas Hussain 7e555e0bd9 util.sasl.plain: Allow empty authzid (thanks bjc). 16 years ago
Waqas Hussain cf8aa9d61c util.hmac: Optimized. 16 years ago
Waqas Hussain 2d859c3dcd util.sasl.scram: Optimized binaryXOR. 16 years ago
Waqas Hussain 8ecc1e8ca2 util.sasl.scram: Fixed a variable redeclaration. 16 years ago
Tobias Markmann 2100104326 util.sasl.scram: Making =2D and =3D substitution actually work. 16 years ago
Matthew Wild 70c975bfe0 util.stanza: Add stanza:get_child(name, xmlns) to find a child tag given a name/xmlns 16 years ago
Waqas Hussain 8fcbba4b0f util.sasl.plain: A little refactoring. 16 years ago
Tobias Markmann 513d6dfa4a util.sasl.digest-md5: Fixing some variable access. 16 years ago
Tobias Markmann b022ba7fc2 Make some more variables to locals. 16 years ago
Tobias Markmann d3bf83037f util.sasl: Move some variables to local space. Fix a bug. 16 years ago
Matthew Wild 9f1852c763 util.sasl.plain: Fail gracefully on empty <auth/> tag 16 years ago
Matthew Wild 243dc405ce util.jid: Add join(node, host, resource) function to join the components and return nil if invalid 16 years ago
Tobias Markmann 44b3480e14 util.sasl: Adding clean_clone() method. 16 years ago
Matthew Wild 2e3f2e68d7 util.serialization: Correctly serialize tables with 'false' as a key, fixes an issue with rosters not saving (thanks mathias, Tobias) 16 years ago
Florian Zeitz 22d8917d8c util.dataforms: Don't require type when parsing form XML 16 years ago
Tobias Markmann 212ef3eca2 SASL: Using locally mapped s_gmatch instead of unavailable gmatch. 16 years ago
Matthew Wild 38e55888e5 util.dependencies: Log an error if the current version of LuaSec installed contains The Bug (thanks Remko) 16 years ago
Matthew Wild 49916630b9 util.datamanager: Replace popen(mkdir) with lfs.mkdir, keeping the just-in-time creation until we have the new datamanager API 16 years ago
Matthew Wild a918d40c04 util.dependencies: Missed a Debian/ 16 years ago
Matthew Wild 86de468002 util.dependencies: Clearer message, add homepages, etc. 16 years ago
Matthew Wild b3b2728598 util.dependencies: Add LuaFileSystem as a hard dependency 16 years ago
Waqas Hussain 5b41760cec util.serialization: Replaced commas with semi-colons between table fields. 16 years ago
Waqas Hussain 8d13f90bed util.serialization: Concise output for empty tables. 16 years ago
Matthew Wild a1cca576be util.dependencies: Make the commands line up properly in the "missing dependency" output. Yes, this was the commit you didn't know you were waiting for! 16 years ago
Matthew Wild 723b03c6bf util.timer: Fix libevent timers (event.base doesn't exist...) 16 years ago
Matthew Wild 89fa12376a util.timer: Use libevent for lightweight timers if available and configured (use_libevent option) 16 years ago
Tobias Markmann 315e7ac799 Reduce needed roundtrips during DIGEST-MD5 login. 16 years ago
Tobias Markmann b32b0e118d Adding some human readable error messages. 16 years ago
Tobias Markmann 547b733736 Fail if username or password don't pass SASLprep. 16 years ago
Tobias Markmann d5511aa898 Typo. 16 years ago
Tobias Markmann 6117baa28d Handle , and = in usernames for SCRAM. 16 years ago
Tobias Markmann 406173262f Cleaning up. 16 years ago
Tobias Markmann 517d02616e Tidying up. 16 years ago
Tobias Markmann 2519d3119c Enable restriction of supported mechanisms in the SASL library. 16 years ago
Tobias Markmann fd57560a96 SASLprep authentication and password in SASL PLAIN implementation. 16 years ago
Tobias Markmann 7815630d28 SASLprep usernames and passwords. 16 years ago
Matthew Wild 4cac67d580 util.sasl: Add COMPAT comment 16 years ago
Waqas Hussain ae703e45bf util.sasl: Added compatibility workaround for jwchat sending an encoded trailing '\0' in SASL responses. 16 years ago
Tobias Markmann b0f89bf885 Making interop with libpurple. (Thanks darkrain). 16 years ago
Tobias Markmann 12c7adc2e7 Add check for forbidden char sequences in validate_username(). 16 years ago
Tobias Markmann 1fa16fc88c Completed SCRAM-SHA-1 implementation to a ready-to-test state. 16 years ago
Tobias Markmann edd37a1e34 Added missing require for generate_uuid. 16 years ago
Tobias Markmann 9a1b93edc7 Initial commit of SCRAM SASL mechanism. 16 years ago