Mercurial > prosody-modules
view mod_storage_s3/README.md @ 6319:04c3273cb81f
mod_auth_cyrus: Add empty 'profile' table to SASL handler objects
This is for compatibility with Prosody's built-in util.sasl objects.
A SASL profile table usually includes methods supported by the backend, which
can be used by SASL mechanism handlers to perform operations (such as testing
the password). It also optionally contains a 'cb' field with channel binding
method handlers.
The Cyrus backend doesn't support channel binding, and doesn't have the same
concept of auth backend methods (it handles all that internally, and Prosody
has no insight or control over it).
Thus, we create an empty profile which informs Prosody that the SASL handler
does not support any of the auth or channel binding methods. Some features
will not work, but they didn't work anyway. This just makes it explicit.
This fixes a traceback in mod_sasl2_fast, which expected SASL handlers to
always contain a 'profile' field.
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Thu, 04 Sep 2025 10:14:46 +0100 |
| parents | 476717ab3cd9 |
| children |
line wrap: on
line source
--- labels: - 'Stage-Alpha' summary: Cloud Native Storage ... ::: {.alert .alert-danger} This storage driver is fully async and requires that all storage access happens in an async-compatible context. As of 2023-10-14 this work in Prosody is not yet complete. For now, this module is primarily suited for testing and finding areas where async work is incomplete. ::: ::: {.alert .alert-danger} The data layout in S3 is not final and may change at any point in incompatible ways. ::: This module provides storage in Amazon S3 compatible things. It has been tested primarily with MinIO. ``` lua s3_bucket = "prosody" s3_base_uri = "http://localhost:9000" s3_region = "us-east-1" s3_access_key = "YOUR-ACCESS-KEY-HERE" s3_secret_key = "YOUR-SECRET-KEY-HERE" ```
