Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [fix-signed-headers] aws signatures v4: don't actually check Content-Type is ↵ | Alex Auvolat | 2024-03-01 | 1 | -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-eq | Alex Auvolat | 2024-02-29 | 1 | -3/+4 |
| | |||||
* | [fix-auth-ct-eq] use argon2 hashing and verification for admin/metrics token ↵ | Alex Auvolat | 2024-02-29 | 2 | -17/+42 |
| | | | | checking | ||||
* | [fix-presigned] add comments and reorganize | Alex Auvolat | 2024-02-28 | 4 | -83/+87 |
| | |||||
* | [fix-presigned] presigned requests: allow x-amz-* query parameters to stand ↵ | Alex Auvolat | 2024-02-28 | 3 | -12/+43 |
| | | | | in for equivalent headers | ||||
* | [fix-presigned] write comments | Alex Auvolat | 2024-02-28 | 1 | -5/+16 |
| | |||||
* | [fix-presigned] add back anonymous request code path + refactoring | Alex Auvolat | 2024-02-28 | 2 | -30/+40 |
| | |||||
* | [fix-presigned] PostObject: verify X-Amz-Algorithm | Alex Auvolat | 2024-02-28 | 1 | -0/+10 |
| | |||||
* | [fix-presigned] split presigned/normal signature verification | Alex Auvolat | 2024-02-28 | 2 | -236/+350 |
| | |||||
* | [refactor-put] add ordering tag to blocks being sent to storage nodes | Alex Auvolat | 2024-02-26 | 2 | -2/+11 |
| | |||||
* | [refactor-put] send several blocks in parallel to storage nodes | Alex Auvolat | 2024-02-26 | 1 | -3/+46 |
| | |||||
* | [refactor-put] rewrite read_and_put_block as a series of steps with channelsrefactor-put | Alex Auvolat | 2024-02-26 | 2 | -85/+109 |
| | |||||
* | [split_getobject] GetObject: split out handle_get_full | Alex Auvolat | 2024-02-23 | 1 | -15/+19 |
| | |||||
* | [refactor-block] Remove redundant BlockStream type | Alex Auvolat | 2024-02-23 | 1 | -6/+6 |
| | |||||
* | [lock-createbucket] Add node-global lock for bucket/key operations (fix #723)lock-createbucket | Alex Auvolat | 2024-02-22 | 4 | -71/+60 |
| | |||||
* | [import-netapp] import Netapp code into Garage codebase | Alex Auvolat | 2024-02-15 | 3 | -2/+3 |
| | |||||
* | [fix-cargo-toml] fix cargo warnings in Cargo.toml filesfix-cargo-toml | Alex Auvolat | 2024-02-15 | 2 | -2/+2 |
| | |||||
* | [header-override-650] implement header overriding in GetObject (fix #650)header-override-650 | Alex Auvolat | 2024-02-09 | 3 | -6/+87 |
| | |||||
* | [multi-char-delimiter-692] allow multi-character delimiters in List* (fix #692) | Alex Auvolat | 2024-02-09 | 2 | -7/+7 |
| | |||||
* | [dep-upgrade-202402] fix shutdown issue introduced when upgrading hyperdep-upgrade-202402 | Alex Auvolat | 2024-02-08 | 4 | -45/+61 |
| | |||||
* | [dep-upgrade-202402] remove useless mut | Alex Auvolat | 2024-02-08 | 1 | -1/+1 |
| | |||||
* | [dep-upgrade-202402] refactor use of BodyStream | Alex Auvolat | 2024-02-07 | 5 | -26/+37 |
| | |||||
* | [dep-upgrade-202402] slightly more explicit error management | Alex Auvolat | 2024-02-07 | 2 | -3/+7 |
| | |||||
* | [dep-upgrade-202402] fix obsolete DateTime::from_utc calls | Alex Auvolat | 2024-02-07 | 2 | -4/+4 |
| | |||||
* | [dep-upgrade-202402] rename BytesBody into ErrorBody for clarity | Alex Auvolat | 2024-02-07 | 5 | -12/+12 |
| | |||||
* | [dep-upgrade-202402] refactor http listener code | Alex Auvolat | 2024-02-07 | 1 | -44/+111 |
| | |||||
* | [dep-upgrade-202402] simplify/refactor GetObject | Alex Auvolat | 2024-02-05 | 1 | -78/+74 |
| | |||||
* | [dep-upgrade-202402] migration to http/hyper 1.0 for k2v api | Alex Auvolat | 2024-02-05 | 15 | -137/+128 |
| | |||||
* | [dep-upgrade-202402] wip: port to http/hyper crates v1 | Alex Auvolat | 2024-02-05 | 23 | -333/+446 |
| | |||||
* | [dep-upgrade-202402] prepare migration to http/hyper 1.0 | Alex Auvolat | 2024-02-05 | 8 | -18/+19 |
| | |||||
* | [dep-upgrade-202402] refactor dependencies: move all as workspace deps | Alex Auvolat | 2024-02-05 | 1 | -35/+36 |
| | |||||
* | Bump version to 0.9.1v0.9.1rel-v0.9.1 | Alex Auvolat | 2024-01-16 | 1 | -1/+1 |
| | |||||
* | Merge tag 'v0.8.5' into sync-08-09 | Alex Auvolat | 2024-01-16 | 1 | -3/+10 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Garage v0.8.5 This minor release includes the following improvements and fixes: New features: - Configuration: make LMDB's `map_size` configurable and make `block_size` and `sled_cache_capacity` expressable as strings (such as `10M`) (#628, #630) - Add support for binding to Unix sockets for the S3, K2V, Admin and Web API servers (#640) - Move the `convert_db` command into the main Garage binary (#645) - Add support for specifying RPC secret and admin tokens as environment variables (#643) - Add `allow_world_readable_secrets` option to config file (#663, #685) Bug fixes: - Use `statvfs` instead of mount list to determine free space in metadata/data directories (#611, #631) - Add missing casts to fix 32-bit build (#632) - Fix error when none of the HTTP servers (S3/K2V/Admin/Web) is started and fix shutdown hang (#613, #633) - Add missing CORS headers to PostObject response (#609, #656) - Monitoring: finer histogram boundaries in Prometheus exported metrics (#531, #686) Other: - Documentation improvements (#641) | ||||
| * | Bump version to 0.8.5 | Alex Auvolat | 2024-01-16 | 1 | -1/+1 |
| | | |||||
| * | s3 api: add missing CORS headers to PostObject responses (fix #609)fix-cors-post-object | Alex Auvolat | 2023-10-20 | 1 | -3/+10 |
| | | |||||
* | | Merge pull request 'OpenAPI specification of admin APIv1' (#672) from api-v1 ↵ | Alex | 2023-11-29 | 1 | -1/+1 |
|\ \ | | | | | | | | | | | | | | | | into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/672 | ||||
| * | | Health info message now advertises API v1 | Quentin Dufour | 2023-11-22 | 1 | -1/+1 |
| | | | |||||
* | | | Allow 0 as a part number marker | asonix | 2023-11-21 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request 's3 api: refactoring and bug fix in ListObjects' (#655) ↵ | Alex | 2023-10-26 | 1 | -31/+41 |
|\ \ | | | | | | | | | | | | | | | | from fix-list-objects into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/655 | ||||
| * | | list objects: prettyness and add assertsfix-list-objects | Alex Auvolat | 2023-10-19 | 1 | -28/+38 |
| | | | |||||
| * | | listobjects: fix panic if continuation token is an empty string | Alex Auvolat | 2023-10-19 | 1 | -3/+3 |
| | | | |||||
* | | | DeleteObject: always insert a deletion marker with a bigger timestamp than ↵increasing-timestamps | Alex Auvolat | 2023-10-20 | 3 | -27/+22 |
| | | | | | | | | | | | | everything before | ||||
* | | | s3 api: also ensure increasing timestamps for create_multipart_upload | Alex Auvolat | 2023-10-20 | 2 | -7/+14 |
| | | | |||||
* | | | remove now-unused key parameter in check_quotas | Alex Auvolat | 2023-10-20 | 2 | -4/+3 |
| | | | |||||
* | | | cargo fmt | Alex Auvolat | 2023-10-18 | 1 | -1/+2 |
| | | | |||||
* | | | check_quotas: avoid re-fetching object from object table | Alex Auvolat | 2023-10-18 | 2 | -10/+12 |
| | | | |||||
* | | | Ensure increasing version timestamps in PutObject | Alex Auvolat | 2023-10-18 | 1 | -6/+18 |
|/ / | |||||
* | | bump version to v0.9.0v0.9.0next | Alex Auvolat | 2023-10-10 | 1 | -1/+1 |
| | | |||||
* | | admin api: increased compatibility for v0/ endpointsv0.9.0-rc2 | Alex Auvolat | 2023-10-05 | 5 | -163/+388 |
| | | |||||
* | | admin api: remove broken GET /v0/key router rule | Alex Auvolat | 2023-10-05 | 1 | -1/+1 |
| | |