diff options
author | Mark Haines <mark.haines@matrix.org> | 2014-09-23 18:43:18 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2014-09-23 18:43:34 +0100 |
commit | bf4b224fcfe4870b056a6fa903170f5e0bf77869 (patch) | |
tree | aae45f979060c0cfa5fb3a13778daf3b8334d940 /synapse | |
parent | Add a _matrix/key/v1 resource with the verification keys of the local server (diff) | |
download | synapse-bf4b224fcfe4870b056a6fa903170f5e0bf77869.tar.xz |
Fix a few pyflakes errors in the server_key_resource
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/http/server_key_resource.py | 6 |
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 |