diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-08-24 16:30:35 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-08-24 16:30:35 +0100 |
commit | f093873d697f99a59cade944bb68850b017afd09 (patch) | |
tree | 5e2bc1ae66743ebabba5c6ec0e582e261f428959 /scripts-dev/convert_server_keys.py | |
parent | Remove syutil dependency in favour of smaller single-purpose libraries (diff) | |
download | synapse-f093873d697f99a59cade944bb68850b017afd09.tar.xz |
Replace syutil references in scripts
Diffstat (limited to 'scripts-dev/convert_server_keys.py')
-rw-r--r-- | scripts-dev/convert_server_keys.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts-dev/convert_server_keys.py b/scripts-dev/convert_server_keys.py index a1ee39059c..151551f22c 100644 --- a/scripts-dev/convert_server_keys.py +++ b/scripts-dev/convert_server_keys.py @@ -4,10 +4,10 @@ import sys import json import time import hashlib -from syutil.base64util import encode_base64 -from syutil.crypto.signing_key import read_signing_keys -from syutil.crypto.jsonsign import sign_json -from syutil.jsonutil import encode_canonical_json +from unpaddedbase64 import encode_base64 +from signedjson.key import read_signing_keys +from signedjson.sign import sign_json +from canonicaljson import encode_canonical_json def select_v1_keys(connection): |