garage/src/api/signature
Alex a36248a169
All checks were successful
ci/woodpecker/push/debug Pipeline was successful
ci/woodpecker/pr/debug Pipeline was successful
[fix-signed-headers] aws signatures v4: don't actually check Content-Type is signed
This page of the AWS docs indicate that Content-Type should be part of
the CanonicalHeaders (and therefore SignedHeaders) strings in signature
calculation:

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

However, testing with Minio Client revealed that it did not sign the
Content-Type header, and therefore we broke CI by expecting it to be
signed. With this commit, we don't mandate Content-Type to be signed
anymore, for better compatibility with the ecosystem. Testing against
the official behavior of S3 on AWS has not been done.
2024-03-01 13:12:18 +01:00
..
error.rs [dep-upgrade-202402] migration to http/hyper 1.0 for k2v api 2024-02-05 19:27:12 +01:00
mod.rs [fix-presigned] add comments and reorganize 2024-02-28 12:24:21 +01:00
payload.rs [fix-signed-headers] aws signatures v4: don't actually check Content-Type is signed 2024-03-01 13:12:18 +01:00
streaming.rs [fix-presigned] add back anonymous request code path + refactoring 2024-02-28 12:24:21 +01:00