summary refs log tree commit diff
path: root/synapse/crypto/event_signing.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-08-24 16:17:38 +0100
committerMark Haines <mark.haines@matrix.org>2015-08-24 16:17:38 +0100
commit78323ccdb359404109bfcdd8b5bf6f641ba3ff9b (patch)
tree791e3840dff6bf74092a04c1886bf08546b9d31a /synapse/crypto/event_signing.py
parentMerge branch 'release-v0.10.0' of github.com:matrix-org/synapse into develop (diff)
downloadsynapse-78323ccdb359404109bfcdd8b5bf6f641ba3ff9b.tar.xz
Remove syutil dependency in favour of smaller single-purpose libraries
Diffstat (limited to 'synapse/crypto/event_signing.py')
-rw-r--r--synapse/crypto/event_signing.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/synapse/crypto/event_signing.py b/synapse/crypto/event_signing.py
index 6633b19565..64e40864af 100644
--- a/synapse/crypto/event_signing.py
+++ b/synapse/crypto/event_signing.py
@@ -15,11 +15,12 @@
 # limitations under the License.
 
 
-from synapse.events.utils import prune_event
-from syutil.jsonutil import encode_canonical_json
-from syutil.base64util import encode_base64, decode_base64
-from syutil.crypto.jsonsign import sign_json
 from synapse.api.errors import SynapseError, Codes
+from synapse.events.utils import prune_event
+
+from canonicaljson import encode_canonical_json
+from unpaddedbase64 import encode_base64, decode_base64
+from signedjson.sign import sign_json
 
 import hashlib
 import logging