forked from shaba/openuds
clientfix
This commit is contained in:
parent
a7116b9e2e
commit
bb84b64eb2
@ -190,7 +190,7 @@ class UDSClient(QtGui.QMainWindow):
|
||||
# * Signature
|
||||
# * Script data
|
||||
# We test that the Script has correct signature, and them execute it with the parameters
|
||||
script, signature, params = res['script'].decode('base64').decode('bz2'), res['signature'], json.loads(res['params'].decode('base64').decode('bz2'))
|
||||
script, signature, params = res['script'].decode('base64').decode('bz2_codec'), res['signature'], json.loads(res['params'].decode('base64').decode('bz2'))
|
||||
if tools.verifySignature(script, signature) is False:
|
||||
logger.error('Signature is invalid')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user