diff options
author | Kim Alvefur <zash@zash.se> | 2022-07-27 00:32:04 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-07-27 00:32:04 +0200 |
commit | c1a166daa79ec4fadd2083dd7097216068f74a28 (patch) | |
tree | 154c4861b9b57018d7f21a46b3816e4578451b2a /util | |
parent | 7c8dd7ee42d3855f4360c9fdd43016ecafa64e8c (diff) | |
download | prosody-c1a166daa79ec4fadd2083dd7097216068f74a28.tar.gz prosody-c1a166daa79ec4fadd2083dd7097216068f74a28.zip |
util.sasl.scram: Add 'tls-exporter' as recognised channel binding method
The last missing piece of #1760, otherwise SCRAM-SHA-*-PLUS is not
actually advertised.
Diffstat (limited to 'util')
-rw-r--r-- | util/sasl/scram.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sasl/scram.lua b/util/sasl/scram.lua index 37abf4a4..4606d1fd 100644 --- a/util/sasl/scram.lua +++ b/util/sasl/scram.lua @@ -240,7 +240,7 @@ local function init(registerMechanism) -- register channel binding equivalent registerMechanism("SCRAM-"..hash_name.."-PLUS", {"plain", "scram_"..(hashprep(hash_name))}, - scram_gen(hash_name:lower(), hash, hmac_hash, get_auth_db, true), {"tls-unique"}); + scram_gen(hash_name:lower(), hash, hmac_hash, get_auth_db, true), {"tls-unique", "tls-exporter"}); end registerSCRAMMechanism("SHA-1", hashes.sha1, hashes.hmac_sha1, hashes.pbkdf2_hmac_sha1); |