@@ -4,12 +4,6 @@ TODO: Make dske.yaml the default configuration file, and add a --config option t
44
55TODO: Cleanup Shamir's Secret Sharing (SSS) code (no back-and-forth conversion to RawShare)
66
7- TODO: Better error response if authentication key is bad (and return to pool if allocated)
8- - Bad block uuid
9- - Start and end of range
10- - Already allocated
11- - Etc.
12-
137TODO: Move code coverage data files to subdirectory
148
159TODO: Stop all nodes after each test (to make sure they are stopped if test case fails)
@@ -18,23 +12,11 @@ TODO: Add a test cases with a netcat (nc) listener squatting the port
1812
1913TODO: Make sure key has unique key UUID
2014
21- TODO: Key initiator: Select N peer hub (initially: all peer hubs)
22-
23- TODO: Allow a client to register itself again (after a restart). Done; just need to test.
24-
25- TODO: Add statistics management API and topology command to query it.
26-
27- TODO: More unit test cases to get code coverage up
28-
2915TODO: Add Sphinx documentation
3016 Use https://github.com/tox-dev/sphinx-autodoc-typehints
3117
3218TODO: Cleanup share after all clients have retrieved it, or after timeout.
3319
34- TODO: Request new PSRD blocks when they run low (have a threshold)
35-
36- TODO: Better way to avoid circular imports that then current # type: ignore
37-
3820TODO: Make the swagger docs also work off-line
3921
4022TODO: Type annotations everywhere
@@ -49,18 +31,11 @@ TODO: Put .out files in a sub-directory
4931
5032TODO: OpenAPI (Swagger) documentation should show proper type for request and response data
5133
52- TODO: Error if get-key-with-key-ids if the API is invoked on client which is not actually one of the
53- slaves for that key.
54-
5534TODO: Use data (instead of value) in Fragment for consistency. Also in documentation (including
5635 figures)
5736
5837TODO: Avoid usage: __main__.py in --help output for client / hub
5938
60- TODO: Add site map to Google Search Console
61-
62- TODO: Consistently use httpx for client side (not requests for synchronous calls)
63-
6439TODO: Add test case: start hub later than client (registration retry logic in client)
6540
6641TODO: Forbid extra query parameters for API calls
@@ -72,12 +47,6 @@ TODO: Fix crash in shamir code when key size 8 is used (don't allow too small ke
7247
7348TODO: Time-out shares on hubs and remove them if they have not been retrieved after the time-out
7449
75- TODO: When I ask for a 20,000 bytes key, it fails (as expected). But the attempted allocation for
76- the encryption key of each share is only 2,500 bytes which seems wrong:
77- 5 hubs x 2,500 bytes per share = 12,500 bytes (I expected at least 20,000)
78- Note: it's because key size is in bits and pool size is in bytes. Add size_in_bits where
79- appropriate.
80-
8150TODO: Have an option to use PSRD data as the key instead of a random number generator.
8251 Explain pros and cons of each approach (forward secrecy if PSRD is compromised) in docs.
8352
@@ -90,11 +59,6 @@ TODO: Testcase for invalid signature
9059 - Signature is incorrect
9160 - Make sure bytes taken from pool are returned (to defend against DOS attack)
9261
93- TODO: Do we need the owner field in class Block? We known the owner by virtue of which pool
94- it is in.
95-
96- TODO: If signature validation fails, return fragment to pool
97-
98- TODO: Test case for this
62+ TODO: Test case for: if signature validation fails, return fragment to pool
9963
10064TODO: Error message if --client or --hub does not exist in topology
0 commit comments