To produce the error:
from itsdangerous import TimestampSigner
s = TimestampSigner('secret-key', sep='-')
string = s.sign('foo')
s.unsign(string, max_age=50)
When I ran the above code multiple times in loop, I got following exceptions: SignatureExpired or BadTimeSignature.
To produce the error:
When I ran the above code multiple times in loop, I got following exceptions:
SignatureExpiredorBadTimeSignature.