Mercurial > prosody-modules
annotate 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 |
rev | line source |
---|---|
5029
56b9f0b1409f
mod_sasl2_bind: Support for Bind 2.0 with SASL2
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
1 --- |
56b9f0b1409f
mod_sasl2_bind: Support for Bind 2.0 with SASL2
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
2 labels: |
5090
6947c34303cf
mod_sasl2_bind2: Update and expand README with current status
Matthew Wild <mwild1@gmail.com>
parents:
5029
diff
changeset
|
3 - Stage-Beta |
5029
56b9f0b1409f
mod_sasl2_bind: Support for Bind 2.0 with SASL2
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
4 summary: "Bind 2 integration with SASL2" |
5093
f2dfbcc676a6
mod_sasl2_bind2: Add explicit dependency on mod_sasl2
Kim Alvefur <zash@zash.se>
parents:
5090
diff
changeset
|
5 rockspec: |
f2dfbcc676a6
mod_sasl2_bind2: Add explicit dependency on mod_sasl2
Kim Alvefur <zash@zash.se>
parents:
5090
diff
changeset
|
6 dependencies: |
f2dfbcc676a6
mod_sasl2_bind2: Add explicit dependency on mod_sasl2
Kim Alvefur <zash@zash.se>
parents:
5090
diff
changeset
|
7 - mod_sasl2 |
5029
56b9f0b1409f
mod_sasl2_bind: Support for Bind 2.0 with SASL2
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
8 --- |
56b9f0b1409f
mod_sasl2_bind: Support for Bind 2.0 with SASL2
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
9 |
5090
6947c34303cf
mod_sasl2_bind2: Update and expand README with current status
Matthew Wild <mwild1@gmail.com>
parents:
5029
diff
changeset
|
10 Add support for [XEP-0386: Bind 2], which is a new method for clients to bind |
6947c34303cf
mod_sasl2_bind2: Update and expand README with current status
Matthew Wild <mwild1@gmail.com>
parents:
5029
diff
changeset
|
11 resources and establish sessions in XMPP, using SASL2. **Note: At the time of |
6947c34303cf
mod_sasl2_bind2: Update and expand README with current status
Matthew Wild <mwild1@gmail.com>
parents:
5029
diff
changeset
|
12 writing (November 2022), this plugin implements a version of XEP-0386 that is |
6947c34303cf
mod_sasl2_bind2: Update and expand README with current status
Matthew Wild <mwild1@gmail.com>
parents:
5029
diff
changeset
|
13 still working its way through the XSF standards process. See [PR #1217](https://github.com/xsf/xeps/pull/1217) |
6947c34303cf
mod_sasl2_bind2: Update and expand README with current status
Matthew Wild <mwild1@gmail.com>
parents:
5029
diff
changeset
|
14 for more information and current status.** |
6947c34303cf
mod_sasl2_bind2: Update and expand README with current status
Matthew Wild <mwild1@gmail.com>
parents:
5029
diff
changeset
|
15 |
6947c34303cf
mod_sasl2_bind2: Update and expand README with current status
Matthew Wild <mwild1@gmail.com>
parents:
5029
diff
changeset
|
16 This module depends on [mod_sasl2]. It exposes no configuration options. |