You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/setup/migration.md
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,7 @@ Follow the instructions in the [installation guide](installation.md) to install
45
45
Synapse uses bcrypt as its password hashing scheme while MAS defaults to using the newer argon2id.
46
46
You will have to configure the version 1 scheme as bcrypt for migrated passwords to work.
47
47
It is also recommended that you keep argon2id as version 2 so that once users log in, their hashes will be updated to the newer recommended scheme.
48
+
If you have a `pepper` set in the `password_config` section of your Synapse config, then you need to specify this `pepper` as the `secret` field for your `bcrypt` scheme.
48
49
49
50
Example passwords configuration:
50
51
```yml
@@ -53,6 +54,8 @@ passwords:
53
54
schemes:
54
55
- version: 1
55
56
algorithm: bcrypt
57
+
# Optional, must match the `password_config.pepper` in the Synapse config
0 commit comments