/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: 2009-09-21 21:39:25 UTC
  • Revision ID: teddy@fukt.bsnet.se-20090921213925-jbpt6tzu99otseng
Use D-Bus properties instead of our own methods.

* mandos (Client._datetime_to_milliseconds): Renamed to
                                             "_timedelta_to_milliseconds".
                                             All callers changed.
  (dbus_service_property): New decorator for D-Bus properties.
  (DBusPropertyException, DBusPropertyAccessException,
  DBusPropertyNotFound): New D-Bus exception classes.
  (DBusObjectWithProperties): New; extends "dbus.service.Object" with
                              support for properties.
  (ClientDBus): Inherit from, and call up to, "DBusObjectWithProperties".
  (ClientDBus.CheckedOK, ClientDBus.GetAllProperties,
  ClientDBus.SetChecker, ClientDBus.SetHost, ClientDBus.SetInterval,
  ClientDBus.SetSecret, ClientDBus.SetTimeout, ClientDBus.Enable,
  ClientDBus.StartChecker, ClientDBus.Disable,
  ClientDBus.StopChecker): Removed, replaced with properties.
  (ClientDBus.IsStillValid): Removed, superfluous.
  (ClientDBus.name_dbus_property,
  ClientDBus.fingerprint_dbus_property, ClientDBus.host_dbus_property,
  ClientDBus.created_dbus_property,
  ClientDBus.last_enabled_dbus_property,
  ClientDBus.enabled_dbus_property,
  ClientDBus.last_checked_ok_dbus_property,
  ClientDBus.timeout_dbus_property, ClientDBus.interval_dbus_property,
  ClientDBus.checker_dbus_property,
  ClientDBus.checker_running_dbus_property,
  ClientDBus.object_path_dbus_property,
  ClientDBus.secret_dbus_property): New D-Bus properties.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
* password-prompt
24
24
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
25
25
 
 
26
* TODO passdev
 
27
 
26
28
* plugin-runner
27
29
** TODO [#B] use scandir(3) instead of readdir(3)
28
30
** TODO [#C] use same file name rules as run-parts(8)
45
47
   [[info:standards:Option%20Table][Table of Long Options]]
46
48
** TODO Date+time on console log messages       :BUGS:
47
49
   Is this the default?
48
 
** TODO Split IPv6_TCPServer into a generic and Mandos-specific class
49
 
** TODO move handle_ipc out of IPv6_TCPServer
50
50
** TODO DBusServiceObjectUsingSuper
51
 
** Global enable/disable flag
52
 
** By-client countdown on secrets given
53
 
** Fix problem with fsck taking a really long time
 
51
** TODO Global enable/disable flag
 
52
** TODO By-client countdown on secrets given
 
53
** TODO Fix problem with fsck taking a really long time
54
54
   Whenever a client successfully gets a secret it could get a
55
55
   one-time timeout boost to allow for an fsck-incurred delay
 
56
** TODO Delay before client receives key
 
57
   This would give an operator opportunity to cancel the request if
 
58
   desired.
 
59
** TODO Client manual approval mode
 
60
   A client needs manual approval on the server before it gets the
 
61
   secret
 
62
** TODO Persistent state
 
63
   /var/lib/mandos/*
56
64
 
57
65
* mandos.xml
58
66
** [[file:mandos.xml::XXX][Document D-Bus interface]]
63
71
*** Handle "no D-Bus server" and/or "no Mandos server found" better
64
72
*** [#B] --dump option
65
73
 
66
 
* mandos-name
 
74
* TODO mandos-dispatch
 
75
  Listens for specified D-Bus signals and spawns shell commands with
 
76
  arguments.
 
77
 
 
78
* mandos-monitor
67
79
** D-Bus mail loop w/ signal receiver
68
 
** Urwid/Newt client data displayer
69
 
*** Urwid scaffolding
 
80
** Snack/Newt client data displayer
70
81
*** Client Widgets
71
82
*** Properties popup
72
83