From 38490e184e31c85333a6b67eac12bf963b4e57b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= Date: Wed, 9 Jun 2021 17:47:49 +0200 Subject: [PATCH] Updated criptography part to be compatible with older releases of crpytography package --- client-py3/full/src/uds/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client-py3/full/src/uds/tools.py b/client-py3/full/src/uds/tools.py index 3a2e4709..d1865f1e 100644 --- a/client-py3/full/src/uds/tools.py +++ b/client-py3/full/src/uds/tools.py @@ -179,7 +179,7 @@ def verifySignature(script, signature): from cryptography.hazmat.primitives import serialization, hashes from cryptography.hazmat.primitives.asymmetric import utils, padding - public_key = serialization.load_pem_public_key(data=PUBLIC_KEY) + public_key = serialization.load_pem_public_key(data=PUBLIC_KEY, backend=default_backend()) try: public_key.verify(