/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: 2008-11-09 06:40:29 UTC
  • mto: (24.1.113 mandos)
  • mto: This revision was merged to the branch mainline in revision 238.
  • Revision ID: teddy@fukt.bsnet.se-20081109064029-df71jpoce308cq3v
First steps of a D-Bus interface to the server.

* mandos: Also import "dbus.service".
  (Client): Inherit from "dbus.service.Object", which is a new-style
            class, so inheriting from "object" is no longer necessary.
  (Client.interface): New temporary variable which only exists during
                     class definition.

  (Client.getName, Client.getFingerprint): New D-Bus getter methods.
  (Client.setSecret): New D-Bus setter method.
  (Client._set_timeout): Emit D-Bus signal "TimeoutChanged".
  (Client.getTimeout): New D-Bus getter method.
  (Client.TimeoutChanged): New D-Bus signal.
  (Client._set_interval): Emit D-Bus signal "IntervalChanged".
  (Client.getInterval): New D-Bus getter method.
  (Client.intervalChanged): New D-Bus signal.
  (Client.__init__): Also call "dbus.service.Object.__init__".
  (Client.started): New boolean attribute.
  (Client.start, Client.stop): Update "self.started", and emit D-Bus
                               signal "StateChanged".
  (Client.StateChanged): New D-Bus signal.
  (Client.stop): Use "self.started" instead of misusing "self.secret".
                 Also simplify code by using "getattr" instead of
                 "hasattr".
  (Client.checker_callback): Emit D-Bus signal "CheckerCompleted".
  (Client.CheckerCompleted): New D-Bus signal.
  (Client.bumpTimeout): D-Bus method name for "bump_timeout".
  (Client.start_checker): Emit D-Bus signal "CheckerStarted".
  (Client.CheckerStarted): New D-Bus signal.
  (Client.checkerIsRunning): New D-Bus method.
  (Client.StopChecker): D-Bus method name for "stop_checker".
  (Client.still_valid): First check "self.started".
  (Client.stillValid): D-Bus method name for "still_valid".

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
-*- org -*-
2
2
 
3
 
* DONE plugin-runner
4
 
 
5
3
* mandos-client
6
4
** TODO [#B] Temporarily lower kernel log level
7
5
   for less printouts during sucessfull boot.
 
6
   klogctl(6, NULL, 0); klogctl(7, NULL, 0);
8
7
** TODO [#C] IPv4 support
9
8
 
10
 
* DONE password-prompt
11
 
 
12
9
* mandos (server)
13
10
** TODO [#B] Log level                          :bugs:
14
11
** TODO /etc/mandos/clients.d/*.conf
17
14
** TODO [#B] Run-time communication with server :bugs:
18
15
   Probably using D-Bus
19
16
   See also [[*Mandos-tools]]
 
17
*** Client class
 
18
    + getHostname
 
19
    + getChecker
 
20
    + setChecker
 
21
*** Main server
 
22
    + Clients
 
23
      out_signature="ao"
 
24
      Does this have to be "getClients" so as not to collide with the
 
25
      interface name?
 
26
    + setLogLevel
 
27
      syslogger.setLevel(logging.WARNING)
 
28
    + quit
20
29
** TODO Implement --foreground                  :bugs:
21
30
   [[info:standards:Option%20Table][Table of Long Options]]
22
31
** TODO Implement --socket
32
41
** TODO Enable client
33
42
** TODO Reset timer
34
43
 
35
 
* Man pages
36
 
** TODO Use xinclude for all common sections
37
 
   Like authors, etc.
38
 
 
39
 
 
40
 
* Installer
41
 
** Client-side
42
 
*** mandos-keygen
43
 
**** TODO "--secfile" option
44
 
     Using the "secfile" option instead of "secret"
45
 
**** TODO [#B] "--test" option
46
 
     For testing decryption before rebooting.
47
 
 
 
44
* mandos-keygen
 
45
** TODO "--secfile" option
 
46
   Using the "secfile" option instead of "secret"
 
47
** TODO [#B] "--test" option
 
48
   For testing decryption before rebooting.
48
49
 
49
50
* [#A] Package
50
51
** /usr/share/initramfs-tools/hooks/mandos
53
54
    question.
54
55
** TODO /etc/bash_completion.d/mandos
55
56
   From XML sources directly?
56
 
** TODO unperish
57
 
 
58
 
* TODO Web site
59
 
** DONE http://www.fukt.bsnet.se/mandos
60
 
   Redirects to the wiki page
61
 
** TODO http://wiki.fukt.bsnet.se/wiki/Mandos
62
 
 
63
 
* Mailing list
64
 
** DONE mandos-dev
65
 
*** TODO http://gmane.org/subscribe.php
66
 
 
67
 
* TODO Announce project on Usenet
68
 
  [[news:comp.os.linux.announce]]
69
57
 
70
58
 
71
59
#+STARTUP: showall