/mandos/release

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

« back to all changes in this revision

Viewing changes to TODO

  • Committer: Teddy Hogeborn
  • Date: 2019-02-10 08:41:14 UTC
  • mto: (237.7.594 trunk)
  • mto: This revision was merged to the branch mainline in revision 372.
  • Revision ID: teddy@recompile.se-20190210084114-u91mijrxtifvzra5
Bug fix: Only create TLS key with certtool, and read correct key file

* debian/mandos-client.postinst (create_keys): Remove any bad keys
                                               created by 1.8.0-1.
                                               Only create TLS keys if
                                               certtool succeeds.
* debian/mandos.postinst (configure): Remove any bad keys from
                                      clients.conf, and inform the
                                      user if any were found.
* debian/mandos.templates (mandos/removed_bad_key_ids): New message.
* mandos (MandosServer.handle_ipc): Do not trust a key_id with a known
                                    bad key ID.
* mandos-keygen (keygen): Only create TLS keys if certtool succeeds.
  (password): Bug fix: Generate key_id correctly, and only output
              key_id if TLS key exists.

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
16
17
 
17
18
* splashy
18
19
** TODO [#B] use scandir(3) instead of readdir(3)
 
20
** TODO [#A] Detect partial writes to stdout and exit with EX_TEMPFAIL
19
21
 
20
22
* usplash (Deprecated)
21
23
** TODO [#B] Make it work again
22
24
** TODO [#B] use scandir(3) instead of readdir(3)
 
25
** TODO [#A] Detect partial writes to stdout and exit with EX_TEMPFAIL
23
26
 
24
27
* askpass-fifo
 
28
** TODO [#A] Detect partial writes to stdout and exit with EX_TEMPFAIL
25
29
 
26
30
* password-prompt
27
31
** TODO [#B] lock stdin (with flock()?)
 
32
** TODO [#A] Detect partial writes to stdout and exit with EX_TEMPFAIL
28
33
 
29
34
* plymouth
 
35
** TODO [#A] Detect partial writes to stdout and exit with EX_TEMPFAIL
30
36
 
31
37
* TODO [#B] passdev
32
38
 
35
41
*** Hook up stderr of plugins, buffer them, and prepend "Mandos Plugin [plugin name]"
36
42
** TODO [#C] use same file name rules as run-parts(8)
37
43
** kernel command line option for debug info
 
44
** TODO [#A] Restart plugins which exit with EX_TEMPFAIL
38
45
 
39
46
* mandos (server)
40
47
** TODO [#B] --notify-command
41
48
   This would allow the mandos.service to use
42
49
   --notify-command="systemd-notify --pid --ready"
 
50
** TODO [#B] python-systemd
 
51
*** import systemd.daemon; systemd.daemon.notify()
43
52
** TODO [#B] Log level                                                    :BUGS:
44
53
*** TODO /etc/mandos/clients.d/*.conf
45
54
    Watch this directory and add/remove/update clients?
63
72
** TODO Save state periodically to recover better from hard shutdowns
64
73
** TODO CheckerCompleted method, deprecate CheckedOK
65
74
** TODO Secret Service API?
66
 
   http://standards.freedesktop.org/secret-service/
 
75
   https://standards.freedesktop.org/secret-service/
67
76
** TODO Remove D-Bus interfaces with old domain name                      :2:
68
77
** TODO Remove old string_to_delta format                                 :2:
69
78
** TODO http://0pointer.de/blog/projects/stateless.html
70
 
*** tmpfiles snippet to create /var/lib/mandos with right user+perms
71
79
*** File in /usr/lib/sysusers.d to create user+group "_mandos"
72
80
** TODO Error handling on error parsing config files
73
81
** TODO init.d script error handling
74
82
** TODO D-Bus server properties; address, port, interface, etc.           :2:
75
 
** TODO [#C] In Python 3.3, use shlex.quote() instead of re.escape()
 
83
** Python 3                                                               :2:
 
84
*** TODO [#C] In Python 3.3, use shlex.quote() instead of re.escape()
76
85
 
77
86
* mandos-ctl
78
87
*** Handle "no D-Bus server" and/or "no Mandos server found" better
79
 
*** [#B] --dump option
80
88
** TODO Remove old string_to_delta format                                 :2:
81
89
 
82
90
* TODO mandos-dispatch