summary refs log tree commit diff
path: root/synapse/config/key.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* config: Remove a repeated word from a logger warningJuuso "Linda" Lapinlampi2019-02-151-1/+1
| | | | The warning for missing macaroon_secret_key was "missing missing".
* Changing macaroon_secret_key no longer logs you out (#4387)Richard van der Hoff2019-01-161-3/+0
|
* Merge branch rav/macaroon_key_fix_0.34 into rav/macaroon_key_fix_0.34.1Richard van der Hoff2019-01-101-2/+2
|\ | | | | | | Fixes #4371
| * Revert "Fix macaroon_secret_key fallback logic"Richard van der Hoff2019-01-101-3/+3
| | | | | | | | | | | | This is already fixed in 0.34.1, by 59f93bb This reverts commit efc522c55e996e420271de2d9094835dda52ade4.
| * Fix macaroon_secret_key fallback logicRichard van der Hoff2019-01-101-3/+3
| |
| * Fix fallback to signing key for macaroon-secret-keyRichard van der Hoff2019-01-101-2/+2
| |
* | Add a script to generate a clean config file (#4315)Richard van der Hoff2018-12-221-9/+18
|/
* run isortAmber Brown2018-07-091-9/+12
|
* ConsentResource to gather policy consent from usersRichard van der Hoff2018-05-151-0/+10
| | | | | Hopefully there are enough comments and docs in this that it makes sense on its own.
* Improve error handling for missing files (#2551)Richard van der Hoff2017-10-171-4/+4
| | | | | | | | | | | `os.path.exists` doesn't allow us to distinguish between permissions errors and the path actually not existing, which repeatedly confuses people. It also means that we try to overwrite existing key files, which is super-confusing. (cf issues #2455, #2379). Use os.stat instead. Also, don't recomemnd the the use of --generate-config, which screws everything up if you're using debian (cf #2455).
* Create user with expiryNegi Fazeli2016-05-131-0/+5
| | | | | | - Add unittests for client, api and handler Signed-off-by: Negar Fazeli <negar.fazeli@ericsson.com>
* Derive macaroon_secret_key from signing key.Erik Johnston2016-02-081-1/+27
| | | | | | Unfortunately, there are people that are running synapse without a `macaroon_sercret_key` set. Mandating they set one is a good solution, except that breaking auto upgrades is annoying.
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Implement configurable stats reportingDaniel Wagner-Hall2015-09-221-1/+1
| | | | | | | | | | SYN-287 This requires that HS owners either opt in or out of stats reporting. When --generate-config is passed, --report-stats must be specified If an already-generated config is used, and doesn't have the report_stats key, it is requested to be set.
* Fix typo in module imports and package dependenciesMark Haines2015-08-251-1/+1
|
* Remove syutil dependency in favour of smaller single-purpose librariesMark Haines2015-08-241-19/+16
|
* Update key.pyMark Haines2015-04-301-1/+2
|
* Write a default log_config when generating configMark Haines2015-04-301-1/+1
|
* Add a random string to the auto generated key idMark Haines2015-04-301-1/+3
|
* Manually generate the default config yaml, remove most of the commandline ↵Mark Haines2015-04-301-78/+61
| | | | arguments for synapse anticipating that people will use the yaml instead. Simpify implementing config options by not requiring the classes to hit the super class
* Add config for setting the perspective serversMark Haines2015-04-241-2/+20
|
* Add a config file for perspective serversMark Haines2015-04-241-0/+19
|
* Move the key related config parser into a separate fileMark Haines2015-04-241-0/+110