[#616] Use UNSIGNED_PAYLOAD to check sign #616

2 commits

Author SHA1 Message Date
6c5d5713e0 Release v0.32.3
All checks were successful
/ DCO (pull_request) Successful in 38s
/ Vulncheck (pull_request) Successful in 1m1s
/ Builds (pull_request) Successful in 1m28s
/ OCI image (pull_request) Successful in 2m2s
/ Lint (pull_request) Successful in 2m25s
/ Tests (pull_request) Successful in 1m12s
/ OCI image (push) Successful in 2m5s
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2025-01-29 12:42:42 +03:00
14894aa360 [#616] Use UNSIGNED_PAYLOAD to check sign
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:42:36 +03:00