Mercurial > prosody-modules
view mod_sasl2_bind2/README.md @ 5285:8e1f1eb00b58
mod_sasl2_fast: Fix harmless off-by-one error (invalidates existing tokens!)
Problem:
This was causing the key to become "<token>--cur" instead of the expected
"<token>-cur". As the same key was used by the code to both set and get, it
still worked.
Rationale for change:
Although it worked, it's unintended, inconsistent and messy. It increases the
chances of future bugs due to the unexpected format.
Side-effects of change:
Existing '--cur' entries will not be checked after this change, and therefore
existing FAST clients will fail to authenticate until they attempt password
auth and obtain a new FAST token.
Existing '--cur' entries in storage will not be cleaned up by this commit, but
this is considered a minor issue, and okay for the relatively few FAST
deployments.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 29 Mar 2023 16:12:15 +0100 |
parents | f2dfbcc676a6 |
children |
line wrap: on
line source
--- labels: - Stage-Beta summary: "Bind 2 integration with SASL2" rockspec: dependencies: - mod_sasl2 --- Add support for [XEP-0386: Bind 2], which is a new method for clients to bind resources and establish sessions in XMPP, using SASL2. **Note: At the time of writing (November 2022), this plugin implements a version of XEP-0386 that is still working its way through the XSF standards process. See [PR #1217](https://github.com/xsf/xeps/pull/1217) for more information and current status.** This module depends on [mod_sasl2]. It exposes no configuration options.