Repository navigation
aws_request_signing: a few fixes - #10280
Conversation
There were a few things missing to make this filter work with S3: * empty body requests (e.g.: GET) still need a sha256 content header (the empty string hash) * requests for s3 shouldn't sign all headers (especially because some of them might change, e.g.: x-forwarded-for) * when proxying requests to s3, HCM's host rewrite won't work so support it as a filter config option * ditto for prefix rewrite Signed-off-by: Raul Gutierrez Segales <[email protected]>
|
cc: @lavignes @marcomagdy |
Signed-off-by: Raul Gutierrez Segales <[email protected]>
Signed-off-by: Raul Gutierrez Segales <[email protected]>
|
seems like some changes overlap with the Lambda PR I submitted yesterday... I think there are a couple of things we both agree on:
|
|
/retest |
|
🔨 rebuilding |
|
@rgs1 "coverage" is currently not working. |
|
Spoke privately with @rgs1 and we decided to:
|
These two are most likely to mutate, everything else is allowed. Signed-off-by: Raul Gutierrez Segales <[email protected]>
Signed-off-by: Raul Gutierrez Segales <[email protected]>
Thanks for the summary; handled all except:
|
Signed-off-by: Raul Gutierrez Segales <[email protected]>
|
/retest |
|
🔨 rebuilding |
I don't actually need cc: @marcomagdy |
marcomagdy
left a comment
There was a problem hiding this comment.
LGTM. There's one optimization that I think is worth it though.
Thank you!
Signed-off-by: Raul Gutierrez Segales <[email protected]>
There were a few things missing to make this filter work with S3:
(the empty string hash)
of them might change, e.g.: x-forwarded-for)
support it as a filter config option
Signed-off-by: Raul Gutierrez Segales [email protected]