Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
jgough committed Jul 16, 2024
1 parent e63c3fa commit d56a237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scitt/verify_receipt_signature.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def verify_receipt(receipt: bytes) -> bool:
# decode the cbor encoded cose sign1 message
try:
message = Sign1Message.decode(receipt)
except ValueError:
except (ValueError, AttributeError):
print("failed to decode cose sign1 receipt", file=sys.stderr)
return False

Expand Down

0 comments on commit d56a237

Please sign in to comment.