/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: 2014-08-09 13:18:46 UTC
  • Revision ID: teddy@recompile.se-20140809131846-2emd272mf9c9wihe
mandos: Replace unicode() with str().

This is in preparation for the coming Python 3 conversion.

* mandos: Replace "str" with "unicode".  All callers changed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
** TODO [#B] Use capabilities instead of seteuid().
24
24
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
25
25
** TODO [#C] Make start_mandos_communication() take "struct server".
26
 
** TODO [#B] Use openat(), fstatat() etc. to avoid asprintf().
27
26
 
28
27
* splashy
29
28
** TODO [#B] use scandir(3) instead of readdir(3)
45
44
* plugin-runner
46
45
** TODO handle printing for errors for plugins
47
46
*** Hook up stderr of plugins, buffer them, and prepend "Mandos Plugin [plugin name]"
48
 
** TODO [#B] use scandirat(3) instead of readdir(3)
49
 
*** Must wait until GNU libc 2.15
50
47
** TODO [#C] use same file name rules as run-parts(8)
51
48
** kernel command line option for debug info
52
49
 
72
69
** TODO Use python-tlslite?
73
70
** TODO D-Bus AddClient() method on server object
74
71
** TODO Use org.freedesktop.DBus.Method.NoReply annotation on async methods. :2:
75
 
** TODO Emit [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-properties][org.freedesktop.DBus.Properties.PropertiesChanged]] signal         :2:
 
72
** TODO Emit [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-properties][org.freedesktop.DBus.Properties.PropertiesChanged]] signal            :2:
76
73
   TODO Deprecate se.recompile.Mandos.Client.PropertyChanged - annotate!
77
74
   TODO Can use "invalidates" annotation to also emit on changed secret.
78
75
** TODO Support [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager][org.freedesktop.DBus.ObjectManager]] interface on server object :2:
82
79
** TODO CheckerCompleted method, deprecate CheckedOK
83
80
** TODO Secret Service API?
84
81
   http://standards.freedesktop.org/secret-service/
85
 
** TODO Remove D-Bus interfaces with old domain name                      :2:
86
 
** TODO Remove old string_to_delta format                                 :2:
87
 
** TODO --no-zeroconf (only valid if port or socket is set)
 
82
** TODO Remove D-Bus interfaces with old domain name                         :2:
 
83
** TODO Remove old string_to_delta format                                    :2:
 
84
** TODO http://0pointer.de/blog/projects/stateless.html
 
85
*** tmpfiles snippet to create /var/lib/mandos with right user+perms
 
86
*** File in /usr/lib/sysusers.d to create user+group "_mandos"
 
87
** TODO Error handling on error parsing config files
 
88
** TODO init.d script error handling
 
89
** TODO D-Bus server properties; address, port, interface, etc.              :2:
88
90
 
89
91
* mandos.xml
90
92
** Add mandos contact info in manual pages
92
94
* mandos-ctl
93
95
*** Handle "no D-Bus server" and/or "no Mandos server found" better
94
96
*** [#B] --dump option
95
 
** TODO Remove old string_to_delta format                                 :2:
 
97
** TODO Remove old string_to_delta format                                    :2:
96
98
 
97
99
* TODO mandos-dispatch
98
100
  Listens for specified D-Bus signals and spawns shell commands with