Commit Graph

148 Commits

Author SHA1 Message Date
Itamar Turner-Trauring
e4b4dc418a Address review comments. 2022-03-14 10:15:43 -04:00
Itamar Turner-Trauring
922ee4feb1 Sketch of advise_corrupt_share support for immutables. 2022-03-10 11:09:45 -05:00
Itamar Turner-Trauring
7721c134f2 Change the semantics of HTTP bucket creation so that it's possible to have a
different upload secret per upload.
2022-03-07 09:28:21 -05:00
Itamar Turner-Trauring
7db1ddd875 Implement Range header validation. 2022-02-10 13:15:48 -05:00
Itamar Turner-Trauring
ecb1a3c5a0 Just require content-range for simplicity. 2022-02-09 12:25:47 -05:00
Itamar Turner-Trauring
83d8f2eb78 Remove incorrect editorial. 2022-02-04 09:27:29 -05:00
Itamar Turner-Trauring
70d0bd0597 Test and document what happens for non-existent storage index. 2022-02-01 10:41:12 -05:00
Itamar Turner-Trauring
c72e7b0585 Implement HTTP share listing endpoint. 2022-02-01 10:20:23 -05:00
Itamar Turner-Trauring
f09aa8c796 Use pre-existing parser for Range and Content-Range headers. 2022-01-20 11:16:06 -05:00
Itamar Turner-Trauring
d5bac8e186 Make sure upload secret semantics are still supporting the security goals. 2022-01-20 10:56:08 -05:00
Itamar Turner-Trauring
f5437d9be7 Some progress towards bucket allocation endpoint, and defining the protocol better. 2022-01-12 11:51:56 -05:00
Itamar Turner-Trauring
4c92f9c8cf Document additional semantics. 2022-01-04 13:10:23 -05:00
Itamar Turner-Trauring
1737340df6 Document response codes some more. 2021-12-16 10:52:02 -05:00
Itamar Turner-Trauring
7caffce8d5
Another review suggestion
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
2021-11-16 10:14:19 -05:00
Itamar Turner-Trauring
304b0269e3
Apply suggestions from code review
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
2021-11-16 10:14:04 -05:00
Itamar Turner-Trauring
24646c56d0 Updates based on review. 2021-11-11 11:29:05 -05:00
Itamar Turner-Trauring
c270a346c6 Remove typo. 2021-11-11 11:02:51 -05:00
Itamar Turner-Trauring
8dd4aaebb6 More consistent header system. 2021-11-10 14:42:22 -05:00
Itamar Turner-Trauring
125c937d46 Switch to HTTP header scheme. 2021-10-28 10:49:08 -04:00
Itamar Turner-Trauring
e0c8bab5d7 Add proposal on how to generate upload secret. 2021-10-22 10:32:44 -04:00
Itamar Turner-Trauring
61a20e2450 Add concept of upload secret to immutable uploads. 2021-10-22 10:10:53 -04:00
Itamar Turner-Trauring
cf48397e72
Merge pull request #1132 from tahoe-lafs/3806-switch-to-patch-for-http-uploads
Switch to PATCH for http uploads

Fixes ticket:3806
2021-10-06 15:37:45 -04:00
Itamar Turner-Trauring
aef581628f Add discussion. 2021-10-06 15:10:58 -04:00
Itamar Turner-Trauring
fadfbcad99
Merge pull request #1130 from tahoe-lafs/3801-no-overlapping-writes-immutable-upload
Disallow conflicting overlapping writes when doing an immutable upload.

Fixes ticket:3801
2021-09-28 10:37:56 -04:00
Itamar Turner-Trauring
bb85a9d2cf !! 2021-09-28 10:37:16 -04:00
Itamar Turner-Trauring
7e232f602a Switch to PATCH. 2021-09-28 10:34:57 -04:00
Itamar Turner-Trauring
60cb3c0883 Restore range result. 2021-09-27 16:52:25 -04:00
Itamar Turner-Trauring
4e6438352a Extend to end. 2021-09-27 16:45:01 -04:00
Itamar Turner-Trauring
c740da4acd Explain what happens in reads past the end. 2021-09-27 15:09:24 -04:00
Itamar Turner-Trauring
96acb14199 Document impact of semantic changes on HTTP protocol. 2021-09-24 13:48:07 -04:00
Itamar Turner-Trauring
e11e5dfbe6 Revert removal of length in IStorageServer. 2021-09-15 16:31:54 -04:00
Itamar Turner-Trauring
24c483aeda Update to simplified test vector support. 2021-09-15 11:07:23 -04:00
Jean-Paul Calderone
a988f126be fix markup error 2021-09-07 16:12:01 -04:00
Jean-Paul Calderone
82f94ae5af Yay use the Range request header 2021-09-07 14:19:09 -04:00
Jean-Paul Calderone
9def6e79c9 Merge remote-tracking branch 'origin/master' into 3777.gbs-immutable-download-spec-improvements 2021-09-07 14:10:35 -04:00
Jean-Paul Calderone
5d75706980
Merge pull request #1118 from LeastAuthority/3774.lease-renewal-secret-construction-docs
write some words about lease renewal secrets

Fixes: ticket:3774
2021-09-07 14:08:39 -04:00
Jean-Paul Calderone
7219291343 add a reference implementation for lease renewal secret derivation 2021-09-07 13:31:05 -04:00
Jean-Paul Calderone
e2b483e093 an even stronger prevention is provided 2021-09-07 08:13:31 -04:00
Jean-Paul Calderone
8d15a0d5eb words about authorization 2021-09-03 16:27:57 -04:00
Jean-Paul Calderone
18cbff1789 minimal discussion about this change 2021-09-03 15:22:29 -04:00
Jean-Paul Calderone
f0fe323fa1 Simplify the immutable share reading interface 2021-09-03 15:14:09 -04:00
Jean-Paul Calderone
a864bd5132 more precision 2021-09-03 12:44:23 -04:00
Jean-Paul Calderone
78a1d65b78 RFC 7049, section 4.1 describes correct JSON encoding for byte strings 2021-09-03 12:33:07 -04:00
Jean-Paul Calderone
8fe9532faf get the cross-reference right 2021-09-03 09:17:34 -04:00
Jean-Paul Calderone
78f70d6bdc write some words about lease renewal secrets 2021-09-02 15:53:14 -04:00
Jean-Paul Calderone
61b5c88738 reveal to clients what data is still required
This lets a client recover from an upload that completes but for which the
response is lost (eg because network error or client restart)
2021-09-02 13:16:20 -04:00
Jean-Paul Calderone
16af282c19 Clarify chunking; lift ordering requirement; document response status 2021-09-02 13:11:51 -04:00
Itamar Turner-Trauring
11331ddf82 Update examples to lack of separate renewal endpoint. 2021-08-20 11:17:20 -04:00
Itamar Turner-Trauring
1b5a3c9cb1 Bad merge, I think. 2021-08-19 16:49:01 -04:00
Itamar Turner-Trauring
b9fd9dec02 Merge remote-tracking branch 'origin/master' into 3773.just-add-lease 2021-08-19 16:48:03 -04:00