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

aws/signer: Always sign a request with the current time. #2336

Merged
merged 1 commit into from Dec 7, 2018

Conversation

jasdel
Copy link
Contributor

@jasdel jasdel commented Dec 6, 2018

Updates the SDK's v4 request signer to always sign requests with the
current time. For the first request attempt, the request's creation time
was used in the request's signature. In edge cases this allowed the
signature to expire before the request was sent if there was significant
delay between creating the request and sending it, (e.g. rate limiting).

Updates the SDK's v4 request signer to always sign requests with the
current time. For the first request attempt, the request's creation time
was used in the request's signature. In edge cases this allowed the
signature to expire before the request was sent if there was significant
delay between creating the request and sending it, (e.g. rate limiting).
@jasdel jasdel self-assigned this Dec 6, 2018
@jasdel jasdel requested a review from diehlaws December 6, 2018 19:40
@jasdel jasdel merged commit ea04459 into aws:master Dec 7, 2018
@jasdel jasdel deleted the fix/RequestTime branch December 7, 2018 00:25
jasdel added a commit that referenced this pull request Dec 7, 2018
Add PR #2338 and #2336 to pending change log.
@aws-sdk-go-automation aws-sdk-go-automation mentioned this pull request Dec 7, 2018
adamyanova added a commit to adamyanova/go_s3tests_old that referenced this pull request Jan 9, 2019
…n the AWS Go SDK v1.16.2 introduced after commit aws/aws-sdk-go#2336

Signed-off-by: Antoaneta Damyanova <adamyanova@gmail.com>
adamyanova added a commit to adamyanova/go_s3tests that referenced this pull request Jan 11, 2019
…n the AWS Go SDK v1.16.2 introduced after commit aws/aws-sdk-go#2336

It is for debug purposes.
Also, keep in mind that after changing the handler in the abovementioned test, it stays changed for tests executed afterwords and the "Request time too skewed" error will keep propagating through them.

Signed-off-by: Antoaneta Damyanova <adamyanova@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants