summary refs log tree commit diff
path: root/synapse/config/key.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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