garage/src/api
Alex Auvolat a36248a169
[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
..
admin [fix-auth-ct-eq] use argon2 hashing and verification for admin/metrics token checking 2024-02-29 13:07:15 +01:00
k2v [fix-presigned] add comments and reorganize 2024-02-28 12:24:21 +01:00
s3 [fix-presigned] add comments and reorganize 2024-02-28 12:24:21 +01:00
signature [fix-signed-headers] aws signatures v4: don't actually check Content-Type is signed 2024-03-01 13:12:18 +01:00
Cargo.toml [fix-auth-ct-eq] use argon2 hashing and verification for admin/metrics token checking 2024-02-29 13:07:15 +01:00
common_error.rs [dep-upgrade-202402] migration to http/hyper 1.0 for k2v api 2024-02-05 19:27:12 +01:00
encoding.rs Improved XML serialization 2021-05-06 22:37:15 +02:00
generic_server.rs [dep-upgrade-202402] fix shutdown issue introduced when upgrading hyper 2024-02-08 23:43:59 +01:00
helpers.rs [dep-upgrade-202402] refactor use of BodyStream 2024-02-07 15:32:51 +01:00
lib.rs First version of admin API (#298) 2022-05-24 12:16:39 +02:00
router_macros.rs admin api: move all endpoints to v1/ by default (v0/ still supported) 2023-06-14 14:15:51 +02:00