Itamar Turner-Trauring
|
2a2ab1ead7
|
Use a set, not a list, for share numbers.
|
2022-01-20 12:39:25 -05:00 |
|
Itamar Turner-Trauring
|
587a510b06
|
Note a better way to implement this.
|
2022-01-20 12:38:01 -05:00 |
|
Itamar Turner-Trauring
|
9a0a19c15a
|
Reminder we might want to support JSON too.
|
2022-01-20 12:07:58 -05:00 |
|
Itamar Turner-Trauring
|
5fa8c78f97
|
Don't use reactor, since it's not necessary.
|
2022-01-20 12:04:20 -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
|
1bf2b2ee5f
|
Note follow-up issue.
|
2022-01-20 10:52:44 -05:00 |
|
Itamar Turner-Trauring
|
23368fc9d9
|
Move tests back into unittest module.
|
2022-01-20 10:34:09 -05:00 |
|
Itamar Turner-Trauring
|
406a06a508
|
Make sure we don't violate the Foolscap interface definition for this method.
|
2022-01-17 14:38:06 -05:00 |
|
Itamar Turner-Trauring
|
28dbdbe019
|
Make sure return type is consistent.
|
2022-01-17 14:31:29 -05:00 |
|
Itamar Turner-Trauring
|
7aed7dbd8a
|
Make module import on Python 2 (so tests can pass).
|
2022-01-17 14:24:28 -05:00 |
|
Itamar Turner-Trauring
|
79cd9a3d6d
|
Fix lint.
|
2022-01-17 14:22:15 -05:00 |
|
Itamar Turner-Trauring
|
d4ae7c89aa
|
First end-to-end immutable upload then download test passes.
|
2022-01-17 14:20:40 -05:00 |
|
Itamar Turner-Trauring
|
25e2100219
|
Immutable writing now knows when it's finished.
|
2022-01-17 14:06:21 -05:00 |
|
Itamar Turner-Trauring
|
4ea6bf2381
|
A test and some progress to making it pass.
|
2022-01-15 12:59:23 -05:00 |
|
Itamar Turner-Trauring
|
3bed067828
|
Implement more of the writing logic.
|
2022-01-14 08:34:17 -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
|
c4bb3c21d1
|
Update test to match current API.
|
2022-01-12 11:18:34 -05:00 |
|
Itamar Turner-Trauring
|
018f53105e
|
Pass correct arguments.
|
2022-01-12 11:16:39 -05:00 |
|
Itamar Turner-Trauring
|
2bccb01be4
|
Fix bug wrapping endpoints.
|
2022-01-12 11:16:21 -05:00 |
|
Itamar Turner-Trauring
|
6e2aaa8391
|
Refactor more integration-y tests out.
|
2022-01-12 09:14:58 -05:00 |
|
Itamar Turner-Trauring
|
004e5fbc9d
|
Get to point where we get failing HTTP response.
|
2022-01-11 15:47:32 -05:00 |
|
Itamar Turner-Trauring
|
2369de6873
|
Simple upload/download test for immutables.
|
2022-01-11 15:45:15 -05:00 |
|
Itamar Turner-Trauring
|
040569b47a
|
Sketch of tests to write for basic HTTP immutable APIs.
|
2022-01-11 15:11:16 -05:00 |
|
Itamar Turner-Trauring
|
db68defe88
|
Sketch of basic immutable server-side logic.
|
2022-01-11 14:50:29 -05:00 |
|
Itamar Turner-Trauring
|
57405ea722
|
Finish sketch of minimal immutable HTTP client code.
|
2022-01-11 14:37:32 -05:00 |
|
Itamar Turner-Trauring
|
90a25d0109
|
Reorganize into shared file.
|
2022-01-06 12:36:46 -05:00 |
|
Itamar Turner-Trauring
|
9c20ac8e7b
|
Client API sketch for basic immutable interactions.
|
2022-01-05 16:06:29 -05:00 |
|
Itamar Turner-Trauring
|
5f4db487f7
|
Sketch of required business logic.
|
2022-01-04 13:43:19 -05:00 |
|
Itamar Turner-Trauring
|
cac291eb91
|
News file.
|
2022-01-04 13:10:38 -05:00 |
|
Itamar Turner-Trauring
|
4c92f9c8cf
|
Document additional semantics.
|
2022-01-04 13:10:23 -05:00 |
|
Itamar Turner-Trauring
|
d7f919f058
|
Merge pull request #1166 from tahoe-lafs/3848.http-api-start-immutables
HTTP API: secrets infrastructure
Fixes ticket:3848
|
2021-12-22 13:39:51 -05:00 |
|
Itamar Turner-Trauring
|
58a71517c1
|
Correct way to skip with testtools.
|
2021-12-22 13:16:43 -05:00 |
|
Itamar Turner-Trauring
|
7a0c83e71b
|
Split up test.
|
2021-12-22 11:52:13 -05:00 |
|
Itamar Turner-Trauring
|
8b4d166a54
|
Use hypothesis for another test.
|
2021-12-22 11:44:45 -05:00 |
|
Itamar Turner-Trauring
|
776f19cbb2
|
Even more hypothesis, this time for secrets' contents.
|
2021-12-21 12:34:02 -05:00 |
|
Itamar Turner-Trauring
|
b1f4e82adf
|
Switch to using hypothesis.
|
2021-12-21 11:55:16 -05:00 |
|
Itamar Turner-Trauring
|
2bda2a0127
|
Switch to using a fixture.
|
2021-12-21 11:10:53 -05:00 |
|
Itamar Turner-Trauring
|
1721865b20
|
No longer TODO.
|
2021-12-20 13:46:19 -05:00 |
|
Itamar Turner-Trauring
|
291b4e1896
|
Use more secure comparison to prevent timing-based side-channel attacks.
|
2021-12-20 11:17:27 -05:00 |
|
Itamar Turner-Trauring
|
a529ba7d5e
|
More skipping on Python 2.
|
2021-12-17 09:14:09 -05:00 |
|
Itamar Turner-Trauring
|
81b95f3335
|
Ensure secret was validated.
|
2021-12-16 11:53:31 -05:00 |
|
Itamar Turner-Trauring
|
428a9d0573
|
Lint fix.
|
2021-12-16 11:47:40 -05:00 |
|
Itamar Turner-Trauring
|
fb0be6b894
|
Enforce length of lease secrets.
|
2021-12-16 11:46:35 -05:00 |
|
Itamar Turner-Trauring
|
d2ce80dab8
|
News file.
|
2021-12-16 11:42:44 -05:00 |
|
Itamar Turner-Trauring
|
816dc0c73f
|
X-Tahoe-Authorization can be validated and are passed to server methods.
|
2021-12-16 11:42:06 -05:00 |
|
Itamar Turner-Trauring
|
da52a9aede
|
Test for server-side secret handling.
|
2021-12-16 11:17:32 -05:00 |
|
Itamar Turner-Trauring
|
87fa9ac2a8
|
Infrastructure for sending secrets.
|
2021-12-16 11:17:11 -05:00 |
|
Itamar Turner-Trauring
|
1737340df6
|
Document response codes some more.
|
2021-12-16 10:52:02 -05:00 |
|
Itamar Turner-Trauring
|
b32374c8bc
|
Secret header parsing.
|
2021-12-16 10:39:58 -05:00 |
|