Software /
code /
prosody
Changeset
12596:78f874441e21
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.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 27 Jul 2022 00:32:04 +0200 |
parents | 12595:0572b6e604a3 |
children | 12600:3d3a0c4e2662 |
files | util/sasl/scram.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/util/sasl/scram.lua Wed Jul 27 00:10:08 2022 +0200 +++ b/util/sasl/scram.lua Wed Jul 27 00:32:04 2022 +0200 @@ -240,7 +240,7 @@ -- 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);