aboutsummaryrefslogtreecommitdiff
path: root/src/api
Commit message (Collapse)AuthorAgeFilesLines
* update aws-sdk-s3 in tests and fix wrong checksumming behavior in GetObjectAlex Auvolat6 days1-2/+12
|
* api: validate trailing checksum + add test for unsigned-paylad-trailerAlex Auvolat6 days4-69/+88
|
* api: fix optional \n after trailer checksum headerAlex Auvolat6 days1-1/+6
|
* api: remove content-encoding: aws-chunked for streaming payloadAlex Auvolat6 days1-1/+19
|
* api: streaming signature: fix trailer parsingAlex Auvolat6 days1-10/+13
|
* api: refactor: move checksumming code around againAlex Auvolat6 days8-147/+127
|
* api: use checksumming in api_common::signature for put/putpartAlex Auvolat6 days6-66/+162
|
* api: start refactor of signature to calculate checksums earlierAlex Auvolat6 days20-228/+283
|
* api: streaming: parse unsigned streaming bodies and payload trailersAlex Auvolat6 days1-146/+304
|
* api: add logic to parse x-amz-content-sha256Alex Auvolat7 days7-67/+136
|
* api: refactor: move checksum algorithms to commonAlex Auvolat7 days13-171/+210
|
* signature: refactor: move constant defs to mod.rsAlex Auvolat7 days3-26/+50
|
* Merge pull request 'fix compilation warnings' (#959) from fixes into mainAlex9 days2-4/+0
|\ | | | | | | Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/959
| * garage_api_s3: remove unused field in ListPartsQueryAlex Auvolat9 days2-4/+0
| |
* | s3api: return Location in CompleteMultipartUpload (fix #852)Alex Auvolat9 days1-1/+10
|/ | | | | NB. The location returned is not guaranteed to work in all cases. This already fixes the parse issue in #852.
* s3 api: parse x-id query parameter and warn of any inconsistency (fix #822)fix-822Alex Auvolat10 days1-1/+14
|
* remove async_trait used in generic_server.rsAlex Auvolat2025-02-057-20/+3
|
* fix testsAlex Auvolat2025-01-311-1/+1
|
* cargo defs: simplify and fix descriptionsAlex Auvolat2025-01-313-8/+8
|
* use cargo-shear to remove many unused dependencies between cratesAlex Auvolat2025-01-314-100/+1
|
* split s3/cors.rs into also common/cors.rsAlex Auvolat2025-01-319-178/+176
|
* fix things upAlex Auvolat2025-01-3130-89/+117
|
* wip: split garage_api into garage_api_{common,s3,k2v,admin}Alex Auvolat2025-01-3148-186/+417
|
* api: better handling of helper errors to distinguish error codesAlex Auvolat2025-01-2911-23/+97
|
* s3 api: make x-amz-meta-* headers lowercase (fix #844)fix-844Alex Auvolat2025-01-272-9/+6
|
* Fix all typosStefan Majer2025-01-168-13/+13
|
* Bump to version 1.0.1v1.0.1rel-v1.0.1Alex Auvolat2024-09-221-1/+1
|
* api servers: kill opened connections after SIGINT after 10s deadline (fix #806)Alex Auvolat2024-08-251-15/+28
|
* don't modify postobject request before validating policytrinity-1686a2024-08-101-15/+7
|
* [next-0.10] bump version number to 1.0v1.0.0-rc1Alex Auvolat2024-03-281-1/+1
|
* [next-0.10] admin api: fix logic in get cluster statusAlex Auvolat2024-03-271-12/+16
|
* [next-0.10] remove impl Deref for LayoutHelperAlex Auvolat2024-03-271-5/+5
|
* [s3-checksum] implement x-amz-checksum-* headersAlex Auvolat2024-03-2613-263/+996
|
* [net-fixes] fix issues with local peer address (fix #761)Alex Auvolat2024-03-211-1/+1
|
* [sse-c] Remove special case for Content-Type headersse-cAlex Auvolat2024-03-073-42/+32
|
* [sse-c] Implement SSE-C encryptionAlex Auvolat2024-03-0710-217/+1122
|
* Merge branch 'main' into next-0.10Alex Auvolat2024-03-072-3/+3
|\
| * [unicode-headers] allow utf-8 in headers + add test for object metadataAlex Auvolat2024-03-072-3/+3
| |
* | Merge branch 'main' into next-0.10Alex Auvolat2024-03-0422-697/+930
|\|
| * Merge pull request 'add request context helper' (#751) from ↵Alex2024-03-0417-417/+436
| |\ | | | | | | | | | | | | | | | yuka/garage:req-ctx into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/751
| | * add request context helperYureka2024-03-0417-417/+436
| | |
| * | [rel-0.9.3] Bump version to 0.9.3v0.9.3Alex Auvolat2024-03-041-1/+1
| | |
| * | [test-presigned] Use a HeaderMap type for QueryMapAlex Auvolat2024-03-041-23/+23
| | |
| * | Store original-cased query keys alongside query valuesasonix2024-03-041-10/+23
| | |
| * | Lowercase query parameter keys when parsingasonix2024-03-041-1/+1
| |/
| * [rel-0.9.2] Bump version to v0.9.2v0.9.2rel-0.9.2Alex Auvolat2024-03-011-1/+1
| |
| * [fix-signed-headers] aws signatures v4: don't actually check Content-Type is ↵Alex Auvolat2024-03-011-11/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * [fix-auth-ct-eq] use consant time comparison for awsv4 signature verificationfix-auth-ct-eqAlex Auvolat2024-02-291-3/+4
| |
| * [fix-auth-ct-eq] use argon2 hashing and verification for admin/metrics token ↵Alex Auvolat2024-02-292-17/+42
| | | | | | | | checking
| * [fix-presigned] add comments and reorganizeAlex Auvolat2024-02-284-83/+87
| |