/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:12:55 UTC
  • Revision ID: teddy@recompile.se-20140809131255-lp31j98u2pl0xpe6
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().

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
** TODO Use python-tlslite?
70
70
** TODO D-Bus AddClient() method on server object
71
71
** TODO Use org.freedesktop.DBus.Method.NoReply annotation on async methods. :2:
72
 
** 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:
73
73
   TODO Deprecate se.recompile.Mandos.Client.PropertyChanged - annotate!
74
74
   TODO Can use "invalidates" annotation to also emit on changed secret.
75
75
** TODO Support [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager][org.freedesktop.DBus.ObjectManager]] interface on server object :2:
79
79
** TODO CheckerCompleted method, deprecate CheckedOK
80
80
** TODO Secret Service API?
81
81
   http://standards.freedesktop.org/secret-service/
82
 
** TODO Remove D-Bus interfaces with old domain name                      :2:
83
 
** TODO Remove old string_to_delta format                                 :2:
 
82
** TODO Remove D-Bus interfaces with old domain name                         :2:
 
83
** TODO Remove old string_to_delta format                                    :2:
84
84
** TODO http://0pointer.de/blog/projects/stateless.html
85
85
*** tmpfiles snippet to create /var/lib/mandos with right user+perms
86
86
*** File in /usr/lib/sysusers.d to create user+group "_mandos"
87
87
** TODO Error handling on error parsing config files
88
88
** TODO init.d script error handling
 
89
** TODO D-Bus server properties; address, port, interface, etc.              :2:
89
90
 
90
91
* mandos.xml
91
92
** Add mandos contact info in manual pages
93
94
* mandos-ctl
94
95
*** Handle "no D-Bus server" and/or "no Mandos server found" better
95
96
*** [#B] --dump option
96
 
** TODO Remove old string_to_delta format                                 :2:
 
97
** TODO Remove old string_to_delta format                                    :2:
97
98
 
98
99
* TODO mandos-dispatch
99
100
  Listens for specified D-Bus signals and spawns shell commands with