Itamar Turner-Trauring
797f34aec3
More tests.
2022-06-06 09:59:12 -04:00
Itamar Turner-Trauring
f1384096fa
First unit test for mutables.
2022-06-03 13:46:23 -04:00
Itamar Turner-Trauring
fd306b9a61
Share more code across mutable and immutable reads.
2022-06-01 13:54:54 -04:00
Itamar Turner-Trauring
2313195c2b
Reduce duplication.
2022-05-20 11:43:42 -04:00
Itamar Turner-Trauring
63624eedec
Reduce code duplication.
2022-05-20 11:33:02 -04:00
Itamar Turner-Trauring
12927d50ba
Type annotation improvements.
2022-05-20 11:10:18 -04:00
Itamar Turner-Trauring
8c8ea4927f
Switch to public API.
2022-05-20 11:07:55 -04:00
Itamar Turner-Trauring
f3cf13154d
Setup HTTP lease APIs for immutables too.
2022-05-11 12:00:27 -04:00
Itamar Turner-Trauring
17fc9d0064
Merge branch '3891-mutable-http-protocol-part-2' into 3893-mutable-http-protocol-part-3
2022-05-11 11:22:03 -04:00
Itamar Turner-Trauring
457db8f992
Get rid of the "no such storage index" edge case, since it's not really necessary.
2022-05-11 11:17:57 -04:00
Itamar Turner-Trauring
6d412a017c
Type annotation.
2022-05-11 11:00:46 -04:00
Itamar Turner-Trauring
07e16b80b5
Better name.
2022-05-11 11:00:05 -04:00
Itamar Turner-Trauring
6f5a0e43eb
Implement advise_corrupt_share for mutables.
2022-05-11 10:41:36 -04:00
Itamar Turner-Trauring
b3fed56c00
Move Foolscap compatibility to a better place.
2022-05-05 12:11:09 -04:00
Itamar Turner-Trauring
2833bec80e
Unit test the new storage server backend API.
2022-05-05 12:04:45 -04:00
Itamar Turner-Trauring
06029d2878
Another end-to-end test passing (albeit with ugly implementation).
2022-05-04 11:25:13 -04:00
Itamar Turner-Trauring
852162ba06
More accurate docs.
2022-05-04 11:03:35 -04:00
Itamar Turner-Trauring
c1ce74f88d
Ability to list shares, enabling more of IStorageClient to run over HTTP.
2022-05-04 11:03:14 -04:00
Itamar Turner-Trauring
76d0cfb770
Correct comment.
2022-04-28 11:49:21 -04:00
Itamar Turner-Trauring
e16eb6dddf
Better type definitions.
2022-04-28 11:48:59 -04:00
Itamar Turner-Trauring
72c59b5f1a
Unused import.
2022-04-19 15:09:02 -04:00
Itamar Turner-Trauring
f03feb0595
TODOs for later.
2022-04-19 15:08:07 -04:00
Itamar Turner-Trauring
21c3c50e37
Basic mutable read support.
2022-04-19 15:07:57 -04:00
Itamar Turner-Trauring
f5c4513cd3
A little closer to serialization and deserialization working correctly, with
...
some tests passing.
2022-04-19 14:46:13 -04:00
Itamar Turner-Trauring
898fe0bc0e
Closer to running end-to-end mutable tests.
2022-04-19 13:18:31 -04:00
Itamar Turner-Trauring
b0d547ee53
Progress on implementing client side of mutable writes.
2022-04-18 14:56:20 -04:00
Itamar Turner-Trauring
24548dee0b
Sketch of read/write APIs interface for mutables on client side.
2022-04-15 09:56:06 -04:00
Itamar Turner-Trauring
58bd381202
Switch to newer attrs API.
2022-04-15 09:19:30 -04:00
Itamar Turner-Trauring
fc2807cccc
Sketch of server-side read-test-write endpoint.
2022-04-15 09:08:16 -04:00
Itamar Turner-Trauring
4e0f912a10
Comply with license.
2022-04-14 11:52:20 -04:00
Itamar Turner-Trauring
9db5a397e1
Minor type annotation improvements.
2022-04-14 11:45:47 -04:00
Itamar Turner-Trauring
5349f35a0b
Merge remote-tracking branch 'origin/master' into 3875-http-storage-furls
2022-04-14 11:39:21 -04:00
Itamar Turner-Trauring
1634f137be
Use sets more widely in the schema.
2022-04-12 12:54:16 -04:00
Itamar Turner-Trauring
4b20b67ce6
Client-side schema validation.
2022-04-11 14:03:48 -04:00
Itamar Turner-Trauring
dfad50b1c2
Better error.
2022-04-11 14:03:30 -04:00
Itamar Turner-Trauring
e5b0e51f72
Server-side schema validation of CBOR.
2022-04-11 13:11:45 -04:00
Itamar Turner-Trauring
eda5925548
Get rid of another place where listen on port 0, and switch to FilePath only for now.
2022-04-06 11:25:37 -04:00
Itamar Turner-Trauring
710fad4f8a
Support broader range of server endpoints, and switch to more robust random port
...
assignment.
2022-04-06 11:10:42 -04:00
Itamar Turner-Trauring
2e934574f0
Switch to URL-safe base64 for SPKI hash, for nicer usage in NURLs.
2022-04-06 09:37:18 -04:00
Itamar Turner-Trauring
5972a13457
Add reactor argument.
2022-04-06 09:34:17 -04:00
Itamar Turner-Trauring
da6838d6f9
Stop talking about furl, it's a NURL.
2022-03-28 11:35:45 -04:00
Itamar Turner-Trauring
119ba9468e
Not needed.
2022-03-28 11:28:38 -04:00
Itamar Turner-Trauring
4e58748c4a
Get constants from OpenSSL directly.
2022-03-28 11:27:32 -04:00
Itamar Turner-Trauring
ae8a7eff43
Make mypy happy.
2022-03-25 15:52:31 -04:00
Itamar Turner-Trauring
638154b2ad
Cleanups.
2022-03-25 15:46:42 -04:00
Itamar Turner-Trauring
9240d9d657
Expand the comment.
2022-03-25 10:46:14 -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