summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2014-10-18 16:56:44 +0100
committerMark Haines <mark.haines@matrix.org>2014-10-18 16:56:44 +0100
commit9c0826592c8c8dcfe0e3bc0f99bacabd772791f2 (patch)
treed25b686d43405f0d9d6ae2bfa3966dd9e067c5db
parentimprove changelog slightly (diff)
downloadsynapse-9c0826592c8c8dcfe0e3bc0f99bacabd772791f2.tar.xz
Fix auto generating signing_keys
-rw-r--r--synapse/config/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/server.py b/synapse/config/server.py
index d9d8d0e14e..9332e4acd7 100644
--- a/synapse/config/server.py
+++ b/synapse/config/server.py
@@ -94,7 +94,7 @@ class ServerConfig(Config):
             with open(args.signing_key_path, "w") as signing_key_file:
                 syutil.crypto.signing_key.write_signing_keys(
                     signing_key_file,
-                    (syutil.crypto.SigningKey.generate("auto"),),
+                    (syutil.crypto.signing_key.generate_singing_key("auto"),),
                 )
         else:
             signing_keys = cls.read_file(args.signing_key_path, "signing_key")