diff --git a/src/itsdangerous/timed.py b/src/itsdangerous/timed.py index fd9257a..96820ab 100644 --- a/src/itsdangerous/timed.py +++ b/src/itsdangerous/timed.py @@ -126,7 +126,7 @@ def unsign( if ts_int is not None: try: ts_dt = self.timestamp_to_datetime(ts_int) - except (ValueError, OSError) as exc: + except (OverflowError, ValueError, OSError) as exc: # Windows raises OSError raise BadTimeSignature( "Malformed timestamp", payload=value