summary refs log tree commit diff
path: root/synapse/http/server_key_resource.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2014-09-23 18:43:18 +0100
committerMark Haines <mark.haines@matrix.org>2014-09-23 18:43:34 +0100
commitbf4b224fcfe4870b056a6fa903170f5e0bf77869 (patch)
treeaae45f979060c0cfa5fb3a13778daf3b8334d940 /synapse/http/server_key_resource.py
parentAdd a _matrix/key/v1 resource with the verification keys of the local server (diff)
downloadsynapse-bf4b224fcfe4870b056a6fa903170f5e0bf77869.tar.xz
Fix a few pyflakes errors in the server_key_resource
Diffstat (limited to 'synapse/http/server_key_resource.py')
-rw-r--r--synapse/http/server_key_resource.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/synapse/http/server_key_resource.py b/synapse/http/server_key_resource.py
index 8022f9a5ae..b30ecead27 100644
--- a/synapse/http/server_key_resource.py
+++ b/synapse/http/server_key_resource.py
@@ -15,15 +15,11 @@
 
 
 from twisted.web.resource import Resource
-from twisted.web.server import NOT_DONE_YET
-from twisted.internet import defer
 from synapse.http.server import respond_with_json_bytes
-from synapse.crypto.keyclient import fetch_server_key
 from syutil.crypto.jsonsign import sign_json
-from syutil.base64util import encode_base64, decode_base64
+from syutil.base64util import encode_base64
 from syutil.jsonutil import encode_canonical_json
 from OpenSSL import crypto
-from nacl.signing import VerifyKey
 import logging