projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0575e0
)
util.sasl.scram: Adding documentation on SCRAM authentication backend.
author
Tobias Markmann
<tm@ayena.de>
Sun, 28 Feb 2010 21:42:53 +0000
(22:42 +0100)
committer
Tobias Markmann
<tm@ayena.de>
Sun, 28 Feb 2010 21:42:53 +0000
(22:42 +0100)
util/sasl/scram.lua
patch
|
blob
|
history
diff --git
a/util/sasl/scram.lua
b/util/sasl/scram.lua
index 4e52f5cd50b9a7b5dc790dd401eeaafed450788c..14fb8bebcec3d2301bdb56bc10b923f2d9c14aed 100644
(file)
--- a/
util/sasl/scram.lua
+++ b/
util/sasl/scram.lua
@@
-28,6
+28,16
@@
module "scram"
--=========================
--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 )