- Fix intermittent deadlock in Sentry integration. (#312)
- Add a Dockerfile and allow environment variables
SYDENT_SERVER_NAME
,SYDENT_PID_FILE
andSYDENT_DB_PATH
to modify default configuration values. (#290) - Add config options for controlling how email addresses are obfuscated in third party invites. (#311)
- Fix a bug in the error handling of 3PID session validation, if the token submitted is incorrect. (#296)
- Stop sending the unspecified
success
parameter in responses to/requestToken
requests. (#302) - Fix a bug causing Sydent to ignore
nextLink
parameters. (#303) - Fix the HTTP status code returned during some error responses. (#305)
- Sydent now correctly enforces the valid characters in the
client_secret
parameter used in various endpoints. (#309)
- Replace instances of Riot with Element. (#308)
- Add a config option to disable deleting invite tokens on bind. (#293)
- Fix a bug that prevented Sydent from checking for access tokens in request parameters when running on Python3. (#294)
Changes in 2.0.0 (2020-02-25)
Note: Starting with this release, Sydent releases are available on
PyPI. This means that the
recommended method for stable installations is now by using the PyPI
project rather than a tarball of the master
branch of this repository.
See the README
for more details.
Warning: This release deprecates v1 APIs for existing endpoints in favour of v2 APIs. Homeserver and client developers are encouraged to migrate their applications to the v2 APIs. See below for more information.
- Implement the items and MSCs from the privacy project targeting identity servers. This introduces v2 APIs for every existing endpoint. v1 APIs are now deprecated and homeserver and client developers are encouraged to migrate their applications to the v2 APIs.
- Add Python 3 compatibility to all of the codebase. Python 2 is still supported for now.
- Delete stored invites upon successful delivery to a homeserver
- Filter out delivered invites when delivering invites to a homeserver upon successful binding
- Implement support for authenticating unbind queries by providing a
sid
and aclient_secret
, as per MSC1915 - Add support for Prometheus and Sentry
- Handle
.well-known
files when talking to homeservers - Validate
client_secret
parameters according to the Matrix specification - Return 400/404 on incorrect session validation
- Add a default 10,000 address limit on v2
/lookup
(which supports multiple lookups at once)
- Rewrite part of the README to make it more user-friendly
- Fix a bug that would prevent requests to the
/store-invite
endpoint with JSON payloads from being correctly processed - Fix a bug where multiple cleanup tasks would be unnecessary spawned
- Fix logging so Sydent doesn't log 3PIDs when processing lookup requests
- Fix incorrect HTTP response from
/3pid/getValidated3pid
endpoint on failure. - Prevent a single failure from aborting the federation loop
- Fix federation lookups in
/onBind
callbacks - Don't fail the unbind request if the binding doesn't exist
- Fix the signing servlet missing a reference to the Sydent object
- Fix content types & OPTIONS requests
- Add unit tests to test startup and replication
- Add support for testing with
matrix-is-tester
- Remove instances of
setResponseCode(200)
Changes in 1.0.3 (2019-05-03)
- Use trustRoot instead of verify for request verification
- Ensures that authentication tokens are generated using a secure random number generator, ensuring they cannot be predicted by an attacker. Thanks to @opnsec for identifying and responsibly disclosing the issue!
- Mitigate an HTML injection bug where an invalid room_id could result in malicious HTML being injected into validation emails. Thanks to @opnsec for identifying and responsibly disclosing this issue too!
- Randomise session_ids to avoid leaking info about the total number of identity validations, and whether a given ID has been validated. Thanks to @fs0c131y for this one.
- Don't send tracebacks to the browser when errors occur.
Changes in 1.0.2 (2019-04-18)
- Fix for validating malformed email addresses: https://github.com/matrix-org/sydent/commit/3103b65dcfa37a9241dabedba560c4ded6c05ff6
Changes in 1.0.1 (2019-04-18)
Release pointed to wrong commit, fixed by 1.0.2