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

Improve tolerance verification to check both past and future timestamps #1224

Merged
merged 1 commit into from
Jul 11, 2018

Conversation

remi-stripe
Copy link
Contributor

@remi-stripe remi-stripe commented Jul 11, 2018

This increases the real tolerance to 10 minutes instead of just 5 but it is what we do in the other libraries. This is a fix for #1184 which went stale.

Fixes #1183.

r? @ob-stripe
cc @stripe/api-libraries

This increases the real tolerance to 10 minutes instead of just 5 but it
is what we do in the other libraries.
@ob-stripe ob-stripe self-assigned this Jul 11, 2018
@ob-stripe ob-stripe merged commit 83d2416 into master Jul 11, 2018
@ob-stripe ob-stripe deleted the remi-fix-event-validation branch July 11, 2018 12:43
@ob-stripe
Copy link
Contributor

Released in 17.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Signature time validation does not handle server time skew in the past
2 participants