[#615] Use UNSIGNED_PAYLOAD to check sign #615

Merged

1 commit

Author SHA1 Message Date
aeaeb62e3b [#615] Use UNSIGNED_PAYLOAD to check sign
All checks were successful
/ DCO (pull_request) Successful in 29s
/ Vulncheck (pull_request) Successful in 55s
/ Builds (pull_request) Successful in 1m50s
/ Lint (pull_request) Successful in 2m0s
/ Tests (pull_request) Successful in 1m15s
/ OCI image (pull_request) Successful in 2m22s
Use `UNSIGNED_PAYLOAD` to check signature if x-amz-content-sha256 isn't provided as signed header

https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-header-based-auth.html

" You include the literal string UNSIGNED-PAYLOAD when constructing a canonical request, and set the same value as the x-amz-content-sha256 header value when sending the request to Amazon S3"

Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2025-01-29 12:45:47 +03:00