mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-26 19:47:05 +03:00
parent
297bf2547e
commit
8530090b16
2 changed files with 3 additions and 1 deletions
1
changelog.d/4974.misc
Normal file
1
changelog.d/4974.misc
Normal file
|
@ -0,0 +1 @@
|
|||
Add `config.signing_key_path` that can be read by `synapse.config` utility.
|
|
@ -42,7 +42,8 @@ class KeyConfig(Config):
|
|||
if "signing_key" in config:
|
||||
self.signing_key = read_signing_keys([config["signing_key"]])
|
||||
else:
|
||||
self.signing_key = self.read_signing_key(config["signing_key_path"])
|
||||
self.signing_key_path = config["signing_key_path"]
|
||||
self.signing_key = self.read_signing_key(self.signing_key_path)
|
||||
|
||||
self.old_signing_keys = self.read_old_signing_keys(
|
||||
config.get("old_signing_keys", {})
|
||||
|
|
Loading…
Reference in a new issue