Software /
code /
prosody
Diff
util/sasl/scram.lua @ 2993:06d06fdd190b
util.sasl.scram: Adding documentation on SCRAM authentication backend.
author | Tobias Markmann <tm@ayena.de> |
---|---|
date | Sun, 28 Feb 2010 22:42:53 +0100 |
parent | 2990:21933063dd9f |
child | 2995:175002d404b8 |
line wrap: on
line diff
--- 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 )