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 b71bb52 commit e63c3fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scitt/verify_receipt_signature.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

import re
import argparse
import sys

import requests
import sys

from jwcrypto import jwk

Expand Down 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:
except ValueError:
print("failed to decode cose sign1 receipt", file=sys.stderr)
return False

Expand Down

0 comments on commit e63c3fa

Please sign in to comment.