# HG changeset patch # User Tobias Markmann # Date 1267393373 -3600 # Node ID 06d06fdd190bb23c3c7640c70d177cbaa0af9ea8 # Parent 9ce36f7eb24a4773c2811dadd798439997c5e8db util.sasl.scram: Adding documentation on SCRAM authentication backend. diff -r 9ce36f7eb24a -r 06d06fdd190b util/sasl/scram.lua --- a/util/sasl/scram.lua Sun Feb 28 22:40:05 2010 +0100 +++ b/util/sasl/scram.lua Sun Feb 28 22:42:53 2010 +0100 @@ -28,6 +28,16 @@ --========================= --SASL SCRAM-SHA-1 according to draft-ietf-sasl-scram-10 + +--[[ +Supported Authentication Backends + +scram-{MECH}: + function(username, realm) + return salted_password, iteration_count, salt, state; + end +]] + local default_i = 4096 local function bp( b )