mandos: Stop using str() and remove unnecessary unicode() calls.
* mandos (if_nametoindex): Use "bytes" literal instead of str(). (initlogger): Use a unicode string for log device. (AvahiError.__unicode__): Removed. (DBusPropertyException.__unicode__): - '' - (ClientDBus.Secret_dbus_property): Use bytes() instead of str(). (IPv6_TCPServer.server_bind): Use .encode() instead of str(). (string_to_delta): Removed unnecessary unicode() call. (main): Use "isinstance(x, bytes)" instead of "type(x) is str", use .decode() instead of unicode(), and use .encode() instead of str().
*** Hook up stderr of plugins, buffer them, and prepend "Mandos Plugin [plugin name]"
47
** TODO [#B] use scandirat(3) instead of readdir(3)
48
*** Must wait until GNU libc 2.15
49
47
** TODO [#C] use same file name rules as run-parts(8)
50
48
** kernel command line option for debug info
51
49
71
69
** TODO Use python-tlslite?
72
70
** TODO D-Bus AddClient() method on server object
73
71
** TODO Use org.freedesktop.DBus.Method.NoReply annotation on async methods. :2:
74
** 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:
75
73
TODO Deprecate se.recompile.Mandos.Client.PropertyChanged - annotate!
76
74
TODO Can use "invalidates" annotation to also emit on changed secret.
77
75
** TODO Support [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager][org.freedesktop.DBus.ObjectManager]] interface on server object :2:
81
79
** TODO CheckerCompleted method, deprecate CheckedOK
82
80
** TODO Secret Service API?
83
81
http://standards.freedesktop.org/secret-service/
84
** TODO Remove D-Bus interfaces with old domain name :2:
85
** TODO Remove old string_to_delta format :2:
86
** 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:
87
90
88
91
* mandos.xml
89
92
** Add mandos contact info in manual pages
91
94
* mandos-ctl
92
95
*** Handle "no D-Bus server" and/or "no Mandos server found" better
93
96
*** [#B] --dump option
94
** TODO Remove old string_to_delta format :2:
97
** TODO Remove old string_to_delta format :2:
95
98
96
99
* TODO mandos-dispatch
97
100
Listens for specified D-Bus signals and spawns shell commands with