trinity-1686a
trinity-1686a pushed to presigned-urls at trinity-1686a/garage 2022-01-17 23:21:13 +00:00
e3e80396ed return 403 on anonymous query
trinity-1686a pushed to presigned-urls at trinity-1686a/garage 2022-01-17 19:11:03 +00:00
82332a8a9f return 403 on anonymous query
trinity-1686a created pull request Deuxfleurs/garage#196 2022-01-17 18:43:44 +00:00
Add date verification to presigned urls
trinity-1686a created branch presigned-urls in trinity-1686a/garage 2022-01-17 18:41:59 +00:00
trinity-1686a pushed to presigned-urls at trinity-1686a/garage 2022-01-17 18:41:59 +00:00
2735dfae46 clippy
94348831bc verify date of presigned urls properly
Compare 2 commits »
trinity-1686a pushed to refactor-router at trinity-1686a/garage 2022-01-17 14:53:31 +00:00
178e35f868 refactor s3_router and api_server to make unused Endpoint parameters more obvious
7c049f1c94 Fix extreme value to be less extreme so that integration test works on 32bits
fdcddbe168 Fix Multipart Upload with WinSCP (#164) (#193)
b45dcc1925 Support STREAMING-AWS4-HMAC-SHA256-PAYLOAD (#64) (#156)
Compare 4 commits »
trinity-1686a pushed to refactor-router at trinity-1686a/garage 2022-01-17 12:58:21 +00:00
77200a8664 rustfmt
ff4cfe6e56 fix clippy lints
Compare 2 commits »
trinity-1686a pushed to refactor-router at trinity-1686a/garage 2022-01-17 12:55:16 +00:00
9cac893750 refactor s3_router and api_server to make unused Endpoint parameters more obvious
bed3106c6a Implement {Put,Get,Delete}BucketCors and CORS in web server
60c0033c8b Update documentation
d4dd2e2640 Make use of website config, return error document on error
9eb211948e Allow setting index document and error document on the CLI
Compare 11 commits »
trinity-1686a commented on pull request Deuxfleurs/garage#192 2022-01-15 12:15:18 +00:00
Handle part_number in HeadObject and GetObject (#191)

I can confirm AWS accept providing the part number list 2, 4, so it neither require starting from 1, nor be sequential, only ordered and between 1 and 10000

trinity-1686a commented on pull request Deuxfleurs/garage#192 2022-01-13 16:23:55 +00:00
Handle part_number in HeadObject and GetObject (#191)

typo

trinity-1686a commented on pull request Deuxfleurs/garage#192 2022-01-13 16:23:55 +00:00
Handle part_number in HeadObject and GetObject (#191)

typo

trinity-1686a commented on pull request Deuxfleurs/garage#192 2022-01-13 16:23:54 +00:00
Handle part_number in HeadObject and GetObject (#191)

to verify, but I think this is stricter than AWS : I believe I've read somewhere it's possible to have holes between part number, so 2, 4, 6 would be a correct sequence. Will try against AWS when I have time

trinity-1686a commented on pull request Deuxfleurs/garage#156 2022-01-12 18:28:18 +00:00
Support STREAMING-AWS4-HMAC-SHA256-PAYLOAD (#64)

this bit has an invalid edge case : by cutting the stream just before a new chunk header, an attacker can truncate the file without it being rejected. Getting here (inner stream returns None and this.buf is empy) is either such a truncation, or a call to SignedPayloadStream::poll_next after it returned Ok(Ready(None)) once, which is a contract error (Ok(Ready(None)) means that the stream has terminated, and poll_next should not be invoked again), so this check and return can be safely removed

trinity-1686a commented on issue Deuxfleurs/garage#190 2022-01-12 10:27:35 +00:00
ETags in returned XML are missing quotes

Actually AWS encode quotes like quick_xml does

Sample response obtained from AWS
<?xml version="1.0" encoding="UTF-8"?>
<ListBucketResult
trinity-1686a created pull request Deuxfleurs/garage#189 2022-01-11 18:17:23 +00:00
WIP: refactor-router
trinity-1686a pushed to refactor-router at trinity-1686a/garage 2022-01-11 18:14:36 +00:00
be4e167c46 refactor s3_router and api_server to make unused Endpoint parameters more obvious
trinity-1686a created branch refactor-router in trinity-1686a/garage 2022-01-11 18:11:50 +00:00
trinity-1686a pushed to refactor-router at trinity-1686a/garage 2022-01-11 18:11:50 +00:00
afb279d916 refactor s3_router and api_server to make unused Endpoint parameters more obvious
17446e3b46 Don't return error document for non-4xx errors
f231cff7e6 Update documentation
001787304c Allow setting index document and error document on the CLI
fcd06e9352 Make use of website config, return error document on error
Compare 10 commits »
trinity-1686a deleted branch compression from trinity-1686a/garage 2021-12-27 09:37:25 +00:00
trinity-1686a deleted branch cleanups from Deuxfleurs/garage 2021-12-27 09:33:54 +00:00