diff options
author | Jorik Schellekens <joriks@matrix.org> | 2019-08-23 15:21:10 +0100 |
---|---|---|
committer | Jorik Schellekens <joriks@matrix.org> | 2019-08-28 15:59:54 +0100 |
commit | e5622a483c74f792f5398aa19209eb76cfeb4dc4 (patch) | |
tree | a501dde6178f56a437c9f1c3a97238e9e67b501f | |
parent | We're not doing the whole subconfig thing anymore. (diff) | |
download | synapse-e5622a483c74f792f5398aa19209eb76cfeb4dc4.tar.xz |
We're not using these
-rw-r--r-- | synapse_topology/model/__init__.py | 12 |
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) |