# HG changeset patch # User Kim Alvefur # Date 1658874724 -7200 # Node ID 78f874441e21f875157df7f6fa2e61e5292f19b9 # Parent 0572b6e604a37096e12f97831ece59be6f1566af 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. diff -r 0572b6e604a3 -r 78f874441e21 util/sasl/scram.lua --- 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);