瀏覽代碼

Add the ability to controll password-peppering for Synapse

Closes Github issue #5
pull/2/head
Slavi Pantaleev 7 年之前
父節點
當前提交
b52d91e180
共有 3 個文件被更改,包括 10 次插入2 次删除
  1. +6
    -1
      CHANGELOG.md
  2. +3
    -0
      roles/matrix-server/defaults/main.yml
  3. +1
    -1
      roles/matrix-server/templates/synapse/homeserver.yaml.j2

+ 6
- 1
CHANGELOG.md 查看文件

@@ -1,6 +1,11 @@
# 2018-09-07

## Statistics-reporting support
## Password-peppering support for Matrix Synapse

The playbook now supports enabling password-peppering for increased security in Matrix Synapse via the `matrix_synapse_password_config_pepper` playbook variable. Using a password pepper is disabled by default (just like it used to be before this playbook variable got introduced) and is not to be enabled/disabled after initial setup, as that would invalidate all existing passwords.


## Statistics-reporting support for Matrix Synapse

There's now a new `matrix_synapse_report_stats` playbook variable, which controls the `report_stats` configuration option for Matrix Synapse. It defaults to `false`, so no change is required to retain your privacy.



+ 3
- 0
roles/matrix-server/defaults/main.yml 查看文件

@@ -68,6 +68,9 @@ matrix_synapse_rc_message_burst_count: 10.0
# (things like number of users, number of messages sent, uptime, load, etc.)
matrix_synapse_report_stats: false

# Controls password-peppering for Matrix Synapse. Not to be changed after initial setup.
matrix_synapse_password_config_pepper: ""

# A list of additional "volumes" to mount in the container.
# This list gets populated dynamically based on Synapse extensions that have been enabled.
# Contains definition objects like this: `{"src": "/outside", "dst": "/inside", "options": "rw|ro|slave|.."}


+ 1
- 1
roles/matrix-server/templates/synapse/homeserver.yaml.j2 查看文件

@@ -538,7 +538,7 @@ password_config:
enabled: true
# Uncomment and change to a secret random string for extra security.
# DO NOT CHANGE THIS AFTER INITIAL SETUP!
#pepper: ""
pepper: "{{ matrix_synapse_password_config_pepper }}"





Loading…
取消
儲存