/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to TODO

  • Committer: Teddy Hogeborn
  • Date: 2019-07-29 16:35:53 UTC
  • Revision ID: teddy@recompile.se-20190729163553-1i442i2cbx64c537
Make tests and man page examples match

Make the tests test_manual_page_example[1-5] match exactly what is
written in the manual page, and add comments to manual page as
reminders to keep tests and manual page examples in sync.

* mandos-ctl (Test_commands_from_options.test_manual_page_example_1):
  Remove "--verbose" option, since the manual does not have it as the
  first example, and change assertion to match.
* mandos-ctl.xml (EXAMPLE): Add comments to all examples documenting
  which test function they correspond to.  Also remove unnecessary
  quotes from option arguments in fourth example, and clarify language
  slightly in fifth example.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
14
14
** TODO [#C] Make start_mandos_communication() take "struct server".
15
15
** TODO [#C] --interfaces=regex,eth*,noregex (bridge-utils-interfaces(5))
 
16
** TODO [#A] Detect partial writes to stdout and exit with EX_TEMPFAIL
 
17
** TODO [#B] Use reallocarray() with GNU LibC 2.29 or later.
16
18
 
17
19
* splashy
18
20
** TODO [#B] use scandir(3) instead of readdir(3)
 
21
** TODO [#A] Detect partial writes to stdout and exit with EX_TEMPFAIL
19
22
 
20
23
* usplash (Deprecated)
21
24
** TODO [#B] Make it work again
22
25
** TODO [#B] use scandir(3) instead of readdir(3)
 
26
** TODO [#A] Detect partial writes to stdout and exit with EX_TEMPFAIL
23
27
 
24
28
* askpass-fifo
 
29
** TODO [#A] Detect partial writes to stdout and exit with EX_TEMPFAIL
25
30
 
26
31
* password-prompt
27
32
** TODO [#B] lock stdin (with flock()?)
 
33
** TODO [#A] Detect partial writes to stdout and exit with EX_TEMPFAIL
28
34
 
29
35
* plymouth
 
36
** TODO [#A] Detect partial writes to stdout and exit with EX_TEMPFAIL
 
37
** TODO [#B] Use reallocarray() with GNU LibC 2.29 or later.
30
38
 
31
39
* TODO [#B] passdev
32
40
 
35
43
*** Hook up stderr of plugins, buffer them, and prepend "Mandos Plugin [plugin name]"
36
44
** TODO [#C] use same file name rules as run-parts(8)
37
45
** kernel command line option for debug info
 
46
** TODO [#A] Restart plugins which exit with EX_TEMPFAIL
38
47
 
39
48
* mandos (server)
40
49
** TODO [#B] --notify-command
41
50
   This would allow the mandos.service to use
42
51
   --notify-command="systemd-notify --pid --ready"
 
52
** TODO [#B] python-systemd
 
53
*** import systemd.daemon; systemd.daemon.notify()
43
54
** TODO [#B] Log level                                                    :BUGS:
44
55
*** TODO /etc/mandos/clients.d/*.conf
45
56
    Watch this directory and add/remove/update clients?
63
74
** TODO Save state periodically to recover better from hard shutdowns
64
75
** TODO CheckerCompleted method, deprecate CheckedOK
65
76
** TODO Secret Service API?
66
 
   http://standards.freedesktop.org/secret-service/
 
77
   https://standards.freedesktop.org/secret-service/
67
78
** TODO Remove D-Bus interfaces with old domain name                      :2:
68
79
** TODO Remove old string_to_delta format                                 :2:
69
80
** TODO http://0pointer.de/blog/projects/stateless.html
75
86
*** TODO [#C] In Python 3.3, use shlex.quote() instead of re.escape()
76
87
 
77
88
* mandos-ctl
78
 
*** Handle "no D-Bus server" and/or "no Mandos server found" better
79
 
*** [#B] --dump option
80
89
** TODO Remove old string_to_delta format                                 :2:
81
90
 
82
91
* TODO mandos-dispatch