forked from shaba/openuds
testing client
This commit is contained in:
parent
1a43ce16e4
commit
d16cc757af
@ -193,6 +193,7 @@ class UDSClient(QtGui.QMainWindow):
|
|||||||
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'), res['signature'], json.loads(res['params'].decode('base64').decode('bz2'))
|
||||||
if tools.verifySignature(script, signature) is False:
|
if tools.verifySignature(script, signature) is False:
|
||||||
logger.error('Signature is invalid')
|
logger.error('Signature is invalid')
|
||||||
|
|
||||||
# raise Exception('Invalid UDS code signature. Please, report to administrator')
|
# raise Exception('Invalid UDS code signature. Please, report to administrator')
|
||||||
|
|
||||||
self.stopAnim()
|
self.stopAnim()
|
||||||
|
Loading…
Reference in New Issue
Block a user