/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: 2014-02-16 02:42:42 UTC
  • mto: (237.7.272 trunk)
  • mto: This revision was merged to the branch mainline in revision 309.
  • Revision ID: teddy@recompile.se-20140216024242-9wiw1nkxgt7ohovj
Fix running of self-tests.

* debian/control (Build-Depends): Add Python dependencies to
                                  successfully run self-tests.
* debian/copyright: GPLv3 now has its own license file - use it.
* debian/watch: Set PGP signature URL.
* mandos (main): Bug fix: When running self-tests, set exit code.
* mandos-ctl (main): Cosmetic fix; use os.EX_OK instead of plain 0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
* mandos-applet
21
21
 
22
22
* mandos-client
23
 
** TODO [#A] --dh-params=FILE
24
23
** TODO [#B] Use capabilities instead of seteuid().
25
 
   https://forums.grsecurity.net/viewtopic.php?f=7&t=2522
 
24
** TODO [#B] Use struct sockaddr_storage instead of a union
26
25
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
 
26
** TODO [#B] Use getnameinfo(serv=NULL, NI_NUMERICHOST) instead of inet_ntop()
 
27
** TODO [#B] Prefer /run/tmp over /tmp, if it exists
27
28
** TODO [#C] Make start_mandos_communication() take "struct server".
28
 
** TODO [#C] --interfaces=regex,eth*,noregex (bridge-utils-interfaces(5))
29
29
 
30
30
* splashy
31
31
** TODO [#B] use scandir(3) instead of readdir(3)
35
35
** TODO [#B] use scandir(3) instead of readdir(3)
36
36
 
37
37
* askpass-fifo
 
38
** TODO [#B] Drop privileges after opening FIFO.
38
39
 
39
40
* password-prompt
40
41
** TODO [#B] lock stdin (with flock()?)
46
47
* plugin-runner
47
48
** TODO handle printing for errors for plugins
48
49
*** Hook up stderr of plugins, buffer them, and prepend "Mandos Plugin [plugin name]"
 
50
** TODO [#B] use scandir(3) instead of readdir(3)
49
51
** TODO [#C] use same file name rules as run-parts(8)
50
52
** kernel command line option for debug info
 
53
** TODO [#B] Use openat()
51
54
 
52
55
* mandos (server)
53
 
** TODO [#B] Work around Avahi issue
54
 
   Avahi does not announce link-local addresses if any global
55
 
   addresses exist: http://lists.freedesktop.org/archives/avahi/2010-March/001863.html
56
 
** TODO [#B] --notify-command
57
 
   This would allow the mandos.service to use
58
 
   --notify-command="systemd-notify --pid READY=1"
59
56
** TODO [#B] Log level                                                    :BUGS:
60
57
*** TODO /etc/mandos/clients.d/*.conf
61
58
    Watch this directory and add/remove/update clients?
77
74
** TODO Use python-tlslite?
78
75
** TODO D-Bus AddClient() method on server object
79
76
** TODO Use org.freedesktop.DBus.Method.NoReply annotation on async methods. :2:
 
77
** TODO Emit [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-properties][org.freedesktop.DBus.Properties.PropertiesChanged]] signal         :2:
 
78
   TODO Deprecate se.recompile.Mandos.Client.PropertyChanged - annotate!
 
79
   TODO Can use "invalidates" annotation to also emit on changed secret.
80
80
** TODO Support [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager][org.freedesktop.DBus.ObjectManager]] interface on server object :2:
81
81
   Deprecate methods GetAllClients(), GetAllClientsWithProperties()
82
82
   and signals ClientAdded and ClientRemoved.
85
85
** TODO Secret Service API?
86
86
   http://standards.freedesktop.org/secret-service/
87
87
** TODO Remove D-Bus interfaces with old domain name                      :2:
88
 
** TODO Remove old string_to_delta format                                    :2:
89
 
** TODO http://0pointer.de/blog/projects/stateless.html
90
 
*** tmpfiles snippet to create /var/lib/mandos with right user+perms
91
 
*** File in /usr/lib/sysusers.d to create user+group "_mandos"
92
 
** TODO Error handling on error parsing config files
93
 
** TODO init.d script error handling
94
 
** TODO D-Bus server properties; address, port, interface, etc.              :2:
95
 
** TODO [#C] In Python 3.3, use shlex.quote() instead of re.escape()
 
88
** TODO Remove old string_to_delta format                                 :2:
 
89
** TODO --no-zeroconf (only valid if port or socket is set)
96
90
 
97
91
* mandos.xml
98
92
** Add mandos contact info in manual pages
100
94
* mandos-ctl
101
95
*** Handle "no D-Bus server" and/or "no Mandos server found" better
102
96
*** [#B] --dump option
103
 
** TODO Remove old string_to_delta format                                    :2:
 
97
** TODO Remove old string_to_delta format                                 :2:
104
98
 
105
99
* TODO mandos-dispatch
106
100
  Listens for specified D-Bus signals and spawns shell commands with
120
114
** TODO [#B] "--test" option
121
115
   For testing decryption before rebooting.
122
116
 
 
117
* Makefile
 
118
** TODO [#C] Implement DEB_BUILD_OPTIONS
 
119
   http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
 
120
 
123
121
* Package
124
122
** /usr/share/initramfs-tools/hooks/mandos
125
123
*** TODO [#C] use same file name rules as run-parts(8)