-
Notifications
You must be signed in to change notification settings - Fork 653
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
s3: make streaming operations use unsigned payload by default #1354
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
skotambkar
force-pushed
the
s3-default-to-unsignedpayload
branch
from
August 4, 2021 07:00
9dd369e
to
83bbc10
Compare
skotambkar
force-pushed
the
s3-default-to-unsignedpayload
branch
2 times, most recently
from
October 15, 2021 08:01
d794480
to
b8c9e38
Compare
skotambkar
force-pushed
the
s3-default-to-unsignedpayload
branch
from
October 15, 2021 08:06
b8c9e38
to
febfd4c
Compare
skotambkar
commented
Oct 15, 2021
...src/main/java/software/amazon/smithy/aws/go/codegen/customization/S3ContentSHA256Header.java
Outdated
Show resolved
Hide resolved
jasdel
suggested changes
Oct 18, 2021
...src/main/java/software/amazon/smithy/aws/go/codegen/customization/S3ContentSHA256Header.java
Outdated
Show resolved
Hide resolved
jasdel
suggested changes
Oct 20, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. It would be really helpful to include benchmark tests for this change vs before this change to compare the impact of switching to signing.
Also this should include a feature bump change note for the S3 API client.
...src/main/java/software/amazon/smithy/aws/go/codegen/customization/S3ContentSHA256Header.java
Outdated
Show resolved
Hide resolved
skotambkar
force-pushed
the
s3-default-to-unsignedpayload
branch
from
October 20, 2021 21:48
457deca
to
8711da2
Compare
jasdel
approved these changes
Oct 20, 2021
skmcgrail
approved these changes
Oct 20, 2021
jrichard8
pushed a commit
to jrichard8/aws-sdk-go-v2
that referenced
this pull request
Feb 14, 2022
…aws#1354) Adds SwapPayloadSHA256ResolverMiddleware that swaps computPayloadSHA256 middleware if an S3 operation uses streaming payload. For S3 operations with streaming payload, we use unsigned payload strategy if TLS is enabled.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds
SwapPayloadSHA256ResolverMiddleware
that swaps computPayloadSHA256 middleware if an S3 operation uses streaming payload.For S3 operations with streaming payload, we use unsigned payload strategy if TLS is enabled.