frostfs-s3-gw/api/auth
Denis Kirillov 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
..
signer [#339] v4: Don't duplicate content-length as signed header 2024-12-10 15:04:56 +03:00
center.go [#616] Use UNSIGNED_PAYLOAD to check sign 2025-01-29 12:42:36 +03:00
center_fuzz_test.go [#339] Fix logging in authmate [pre]sign command 2024-12-10 15:04:56 +03:00
center_test.go [#616] Use UNSIGNED_PAYLOAD to check sign 2025-01-29 12:42:36 +03:00
presign.go [#616] Use UNSIGNED_PAYLOAD to check sign 2025-01-29 12:42:36 +03:00
presign_test.go [#616] Use UNSIGNED_PAYLOAD to check sign 2025-01-29 12:42:36 +03:00
regexp_utils.go [#672] Fix handling X-Amz-Copy-Source header 2022-08-25 17:40:15 +03:00