-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathTODO
42 lines (34 loc) · 1.29 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
TODO
----
- regtests for all daemons/handlers
- regtests for basic failures (whether crashes are logged properly)
- api: refactor zmq script w/ ioloop out
- api: stop using ZMQ for daemon conf, instead use stdio like tasks.
- make m2crypto optional, if no encryption is needed?
task client side
----------------
- task param discovery
- write some actual tasks
task poller
-----------
- daemon that periodically check for new tasks from db (pgq / polling)
- sends task under 'task.send' message type to CC which has 'taskrouter'
handler configured.
task executor
-------------
- when it receives task, must execute corresponding script.
crypto
------
- user/server name in cert must be checked for username in message
- define place in cert to have user
- define name field in message
- server: check if cert matches msg
- server: check if user is authorized to access service
(unrelated to crypto, except when we put access rights into cert)
- make cert details available to python code (done)
- replayability fix (may not matter for info & log msgs), but is needed
for confdb access:
- client: have unique id for each message
- client: have timestamp in message (done)
- server: keep track of msgids for last 5m, drop dup messages
- server: check message timestamp, drop old messages