Itamar Turner-Trauring
4e58748c4a
Get constants from OpenSSL directly.
2022-03-28 11:27:32 -04:00
Itamar Turner-Trauring
638154b2ad
Cleanups.
2022-03-25 15:46:42 -04:00
Itamar Turner-Trauring
e50d88f46d
Technically this doesn't matter, because it's client-side, but it's good habit.
2022-03-25 10:45:54 -04:00
Itamar Turner-Trauring
be0ff08275
Possibly correct, but communicating, end-to-end TLS with some amount of
...
validation logic.
Still untested!
2022-03-24 12:12:11 -04:00
Itamar Turner-Trauring
5310747eaa
Start hooking up end-to-end tests with TLS, fixing bugs along the way.
...
At this point the issue is that the client fails certificate validation (which
is expected lacking the pinning validation logic, which should be added next).
2022-03-23 16:33:29 -04:00
Itamar Turner-Trauring
eef99c1f22
Merge remote-tracking branch 'origin/master' into 3875-http-storage-furls
2022-03-23 15:59:07 -04:00
Itamar Turner-Trauring
7de3d93b0e
Switch to TypeError.
2022-03-18 10:12:51 -04:00
Itamar Turner-Trauring
fae9556e3d
Centralize client serialization logic too.
2022-03-14 11:28:54 -04:00
Itamar Turner-Trauring
0aa8089d81
Explicitly tell the server that the client accepts CBOR.
2022-03-14 11:20:23 -04:00
Itamar Turner-Trauring
106cc708a0
Use a constant.
2022-03-14 11:18:53 -04:00
Itamar Turner-Trauring
fef332754b
Switch to shared utility so server can use it too.
2022-03-14 11:09:40 -04:00
Itamar Turner-Trauring
13fd3b3685
Get rid of Python 2 crud.
2022-03-14 11:01:20 -04:00
Itamar Turner-Trauring
1e108f8445
Don't use a custom parser.
2022-03-14 11:01:09 -04:00
Itamar Turner-Trauring
e55c3e8acf
Check for CBOR content-encoding header in client.
2022-03-14 10:35:39 -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
aee0f7dc69
Sketch of lease renewal implementation.
2022-03-09 13:10:13 -05:00
Itamar Turner-Trauring
c642218173
Sketch of aborting uploads.
2022-03-08 10:41:56 -05:00
Itamar Turner-Trauring
9f4f6668c0
Tweaks.
2022-03-07 08:21:58 -05:00
Itamar Turner-Trauring
d38183335e
Handle bad Content-Range headers.
2022-02-08 10:46:55 -05:00
Itamar Turner-Trauring
7107a85fba
Refactor client, separating low-level and high-level concerns.
2022-02-08 10:19:37 -05:00
Itamar Turner-Trauring
7454929be0
Less code duplication.
2022-02-04 09:26:25 -05:00
Itamar Turner-Trauring
c72e7b0585
Implement HTTP share listing endpoint.
2022-02-01 10:20:23 -05:00
Itamar Turner-Trauring
d2e3b74098
Some progress towards upload progress result from the server.
2022-01-21 12:36:58 -05:00
Itamar Turner-Trauring
c4d71a4636
Use abstractions for generating headers on client, note another place we should
...
generate headers.
2022-01-20 13:12:25 -05:00
Itamar Turner-Trauring
b952e738dd
Try to clarify.
2022-01-20 12:43:01 -05:00
Itamar Turner-Trauring
2a2ab1ead7
Use a set, not a list, for share numbers.
2022-01-20 12:39:25 -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
7aed7dbd8a
Make module import on Python 2 (so tests can pass).
2022-01-17 14:24:28 -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
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
018f53105e
Pass correct arguments.
2022-01-12 11:16:39 -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
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
816dc0c73f
X-Tahoe-Authorization can be validated and are passed to server methods.
2021-12-16 11:42:06 -05:00
Itamar Turner-Trauring
87fa9ac2a8
Infrastructure for sending secrets.
2021-12-16 11:17:11 -05:00
Itamar Turner-Trauring
a593095dc9
Explain why it's a conditional import.
2021-11-23 10:39:53 -05:00
Itamar Turner-Trauring
f549488bb5
Don't use a deprecated API.
2021-11-16 11:47:09 -05:00
Itamar Turner-Trauring
a64778ddb0
Flakes.
2021-11-16 11:28:13 -05:00
Itamar Turner-Trauring
c195f895db
Python 2 support.
2021-11-16 11:16:26 -05:00
Itamar Turner-Trauring
671b670154
Some type annotations.
2021-11-16 11:09:08 -05:00
Itamar Turner-Trauring
41ec63f758
Passing first tests.
2021-11-16 10:56:21 -05:00
Itamar Turner-Trauring
c101dd4dc9
Closer to first passing test.
2021-11-12 13:13:19 -05:00
Itamar Turner-Trauring
ddd2780bd2
First sketch of HTTP client.
2021-11-12 12:51:52 -05:00