diff options
author | Kim Alvefur <zash@zash.se> | 2019-01-13 14:02:29 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-01-13 14:02:29 +0100 |
commit | 49e8cbabff23741159a457d0eae8262e79e4561c (patch) | |
tree | 797d35246171227e9a5a070b4425ea9ecfe1ff2d /util/sasl | |
parent | 73acfb61b4613c13a96e47e11acdd14ac011961d (diff) | |
download | prosody-49e8cbabff23741159a457d0eae8262e79e4561c.tar.gz prosody-49e8cbabff23741159a457d0eae8262e79e4561c.zip |
util.sasl.scram: Add support for SCRAM-SHA-256
Diffstat (limited to 'util/sasl')
-rw-r--r-- | util/sasl/scram.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/sasl/scram.lua b/util/sasl/scram.lua index 0ca20a52..793382b8 100644 --- a/util/sasl/scram.lua +++ b/util/sasl/scram.lua @@ -263,6 +263,7 @@ local function init(registerMechanism) end registerSCRAMMechanism("SHA-1", hashes.sha1, hashes.hmac_sha1, hashes.pbkdf2_hmac_sha1); + registerSCRAMMechanism("SHA-256", hashes.sha256, hashes.hmac_sha256, hashes.pbkdf2_hmac_sha256); end return { |