Skip to content
Snippets Groups Projects
Commit 7603a706 authored by Richard van der Hoff's avatar Richard van der Hoff
Browse files

Merge branch 'rav/fix_custom_ca' into rav/enable_tls_verification

parents b4f1cd31 f8a45302
No related branches found
No related tags found
No related merge requests found
Showing
with 39 additions and 18 deletions
Run black on synapse.crypto.keyring. Preparatory work for key-validity features.
Rewrite store_server_verify_key to store several keys at once. Preparatory work for key-validity features.
Remove unused VerifyKey.expired and .time_added fields. Preparatory work for key-validity features.
Simplify Keyring.process_v2_response. Preparatory work for key-validity features.
\ No newline at end of file
Store key validity time in the storage layer. Preparatory work for key-validity features.
Refactor synapse.crypto.keyring to use a KeyFetcher interface. Preparatory work for key-validity features.
Simplification to Keyring.wait_for_previous_lookups. Preparatory work for key-validity features.
Improve sample config for monthly active user blocking.
Refactor keyring.VerifyKeyRequest to use attr.s. Preparatory work for key-validity features.
Rewrite get_server_verify_keys, again. Preparatory work for key-validity features.
Fix handling of failures when processing incoming events where calling `/event_auth` on remote server fails.
Rename VerifyKeyRequest.deferred field. Preparatory work for key-validity features.
Various improvements to debug logging. Preparatory work for key-validity features.
Fix room stats and presence background updates to correctly handle missing events.
Preparatory work for key-validity features.
Fix notes about ACME in the MSC1711 faq.
Update /_matrix/client/versions to reference support for r0.5.0.
Fix `federation_custom_ca_list` configuration option.
...@@ -145,12 +145,11 @@ You can do this with a `.well-known` file as follows: ...@@ -145,12 +145,11 @@ You can do this with a `.well-known` file as follows:
1. Keep the SRV record in place - it is needed for backwards compatibility 1. Keep the SRV record in place - it is needed for backwards compatibility
with Synapse 0.34 and earlier. with Synapse 0.34 and earlier.
2. Give synapse a certificate corresponding to the target domain 2. Give Synapse a certificate corresponding to the target domain
(`customer.example.net` in the above example). Currently Synapse's ACME (`customer.example.net` in the above example). You can either use Synapse's
support [does not support built-in [ACME support](./ACME.md) for this (via the `domain` parameter in
this](https://github.com/matrix-org/synapse/issues/4552), so you will have the `acme` section), or acquire a certificate yourself and give it to
to acquire a certificate yourself and give it to Synapse via Synapse via `tls_certificate_path` and `tls_private_key_path`.
`tls_certificate_path` and `tls_private_key_path`.
3. Restart Synapse to ensure the new certificate is loaded. 3. Restart Synapse to ensure the new certificate is loaded.
......
...@@ -261,6 +261,22 @@ listeners: ...@@ -261,6 +261,22 @@ listeners:
# Monthly Active User Blocking # Monthly Active User Blocking
# #
# Used in cases where the admin or server owner wants to limit to the
# number of monthly active users.
#
# 'limit_usage_by_mau' disables/enables monthly active user blocking. When
# anabled and a limit is reached the server returns a 'ResourceLimitError'
# with error type Codes.RESOURCE_LIMIT_EXCEEDED
#
# 'max_mau_value' is the hard limit of monthly active users above which
# the server will start blocking user actions.
#
# 'mau_trial_days' is a means to add a grace period for active users. It
# means that users must be active for this number of days before they
# can be considered active and guards against the case where lots of users
# sign up in a short space of time never to return after their initial
# session.
#
#limit_usage_by_mau: False #limit_usage_by_mau: False
#max_mau_value: 50 #max_mau_value: 50
#mau_trial_days: 2 #mau_trial_days: 2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment