From aab5526429a6a919d5d2b1fb191b1f134e07eeaa Mon Sep 17 00:00:00 2001 From: jgough Date: Tue, 16 Jul 2024 09:36:41 +0100 Subject: [PATCH] fixup --- scitt/verify_receipt_signature.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scitt/verify_receipt_signature.py b/scitt/verify_receipt_signature.py index ad73dbd..a578c4a 100644 --- a/scitt/verify_receipt_signature.py +++ b/scitt/verify_receipt_signature.py @@ -100,7 +100,7 @@ def verify_receipt(receipt: bytes) -> bool: # decode the cbor encoded cose sign1 message try: message = Sign1Message.decode(receipt) - except (ValueError, AttributeError) as ex: + except (ValueError, AttributeError): print("failed to decode cose sign1 receipt", file=sys.stderr) return False