Software /
code /
prosody-modules
File
README @ 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 |
parent | 2936:4fed2379f5be |
line wrap: on
line source
prosody-modules =============== *Add-on modules for Prosody IM Server* -------------------------------------------------------------------------- Community repository for non-core, unofficial and/or experimental plugins for [Prosody][]. If you are a developer and would like to host your Prosody module in this repository, or want to contribute to existing modules, simply introduce yourself and request commit access on our [mailing list][]. Notes for users ---------------- There are lots of fun and exciting modules to be found here, we know you'll like it. However please note that each module is in a different state of development. Some are proof-of-concept, others are quite stable and ready for production use. Be sure to read the wiki page of any module before installing it on your server. We are working on methods to easily download and install modules from this repository. In the meantime most modules are either a single file and easy to install, or contain installation instructions on their wiki page. You can browse the files stored in this repository at <https://hg.prosody.im/prosody-modules>. [Prosody]: https://prosody.im/ [mailing list]: https://prosody.im/discuss