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/check_signature.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/check_signature.py')
-rw-r--r-- | scripts-dev/check_signature.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/scripts-dev/check_signature.py b/scripts-dev/check_signature.py index 59e3d603ac..079577908a 100644 --- a/scripts-dev/check_signature.py +++ b/scripts-dev/check_signature.py @@ -1,9 +1,7 @@ -from syutil.crypto.jsonsign import verify_signed_json -from syutil.crypto.signing_key import ( - decode_verify_key_bytes, write_signing_keys -) -from syutil.base64util import decode_base64 +from signedjson.sign import verify_signed_json +from signedjson.key import decode_verify_key_bytes, write_signing_keys +from unpaddedbase64 import decode_base64 import urllib2 import json |