Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raise SignatureExpired error when age is in the future #133

Merged
merged 1 commit into from
Apr 17, 2020

Conversation

zhugnou
Copy link
Contributor

@zhugnou zhugnou commented Jun 1, 2019

Fixes #126. This conditional checks that the age is not a future date.

Copy link
Member

@jab jab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍
Thanks for the fix, @zhugnou!

Copy link
Member

@davidism davidism left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code and test looks good. Need to add a changelog.

src/itsdangerous/timed.py Outdated Show resolved Hide resolved
@davidism davidism added this to the 2.0.0 milestone Apr 14, 2020
@davidism davidism force-pushed the zhugnou/issue-126 branch 2 times, most recently from 3c6a5a0 to 84f4949 Compare April 15, 2020 00:27
@davidism davidism merged commit 542fad1 into pallets:master Apr 17, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TimedSerializer accepts timestamps from the future
5 participants