testing client

This commit is contained in:
Adolfo Gómez García 2019-04-23 07:45:23 +02:00
parent 1a43ce16e4
commit d16cc757af

View File

@ -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()