parent
297bf2547e
commit
8530090b16
|
@ -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:
|
if "signing_key" in config:
|
||||||
self.signing_key = read_signing_keys([config["signing_key"]])
|
self.signing_key = read_signing_keys([config["signing_key"]])
|
||||||
else:
|
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(
|
self.old_signing_keys = self.read_old_signing_keys(
|
||||||
config.get("old_signing_keys", {})
|
config.get("old_signing_keys", {})
|
||||||
|
|
Loading…
Reference in New Issue