summary refs log tree commit diff
diff options
context:
space:
mode:
authorJorik Schellekens <joriks@matrix.org>2019-08-23 15:21:10 +0100
committerJorik Schellekens <joriks@matrix.org>2019-08-28 15:59:54 +0100
commite5622a483c74f792f5398aa19209eb76cfeb4dc4 (patch)
treea501dde6178f56a437c9f1c3a97238e9e67b501f
parentWe're not doing the whole subconfig thing anymore. (diff)
downloadsynapse-e5622a483c74f792f5398aa19209eb76cfeb4dc4.tar.xz
We're not using these
-rw-r--r--synapse_topology/model/__init__.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/synapse_topology/model/__init__.py b/synapse_topology/model/__init__.py
index dc5fede70f..3e3e2de3d2 100644
--- a/synapse_topology/model/__init__.py
+++ b/synapse_topology/model/__init__.py
@@ -92,15 +92,3 @@ def get_secret_key():
     subprocess.run(["generate_signing_key.py", "-o", signing_key_path])
     with open(signing_key_path, "r") as f:
         return f.read()
-
-
-def verify_yaml():
-    pass
-
-
-def add_certs(cert, cert_key):
-    with open(join(config_dir, get_server_name() + ".tls.crt"), "w") as cert_file, open(
-        join(config_dir, get_server_name() + ".tls.key"), "w"
-    ) as key_file:
-        cert_file.write(cert)
-        key_file.write(cert_key)