From ee76996984e89100a912ef8e6a2fe5b135883ec2 Mon Sep 17 00:00:00 2001 From: Tobias Markmann Date: Sat, 14 Feb 2009 19:39:46 +0100 Subject: Adding TODO notice on UUIDs for usage with SASL ANONYMOUS. --- util/sasl.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'util') diff --git a/util/sasl.lua b/util/sasl.lua index 2af60acd..03115fb6 100644 --- a/util/sasl.lua +++ b/util/sasl.lua @@ -240,6 +240,7 @@ local function new_anonymous(realm, password_handler) function object.feed(self, message) return "success" end + --TODO: From XEP-0175 "It is RECOMMENDED for the node identifier to be a UUID as specified in RFC 4122 [5]." So util.uuid() should (or have an option to) behave as specified in RFC 4122. object["username"] = generate_uuid() return object end -- cgit v1.2.3