/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
 
* plugin-runner
4
 
 
5
3
* mandos-client
6
 
** [#B] Temporarily lower kernel log level
 
4
** TODO [#B] Temporarily lower kernel log level
7
5
   for less printouts during sucessfull boot.
8
 
** IPv4 support
9
 
** use strsep instead of strtok?
10
 
** Do not depend on GnuPG key rings on disk
11
 
   This would mean creating new GnuPG key rings with GPGME by
12
 
   importing the key files from scratch on every program start.
13
 
** Keydir move: /etc/mandos -> /etc/keys/mandos
14
 
   Must create in preinst if not pre-depending on cryptsetup
15
 
 
16
 
* password-prompt
 
6
   klogctl(6, NULL, 0); klogctl(7, NULL, 0);
 
7
** TODO [#C] IPv4 support
17
8
 
18
9
* mandos (server)
19
 
** [#A] /etc/init.d/mandos-server               :teddy:
20
 
** [#B] Log level                               :bugs:
21
 
** /etc/mandos/clients.d/*.conf
 
10
** TODO [#B] Log level                          :bugs:
 
11
** TODO /etc/mandos/clients.d/*.conf
22
12
   Watch this directory and add/remove/update clients?
23
 
** config for TXT record
24
 
** [#B] Run-time communication with server      :bugs:
 
13
** TODO config for TXT record
 
14
** TODO [#B] Run-time communication with server :bugs:
25
15
   Probably using D-Bus
26
16
   See also [[*Mandos-tools]]
27
 
** Implement --foreground                       :bugs:
28
 
   [[info:standards:Option%20Table][Table of Long Options]]
29
 
** Implement --socket
30
 
   [[info:standards:Option%20Table][Table of Long Options]]
31
 
** Date+time on console log messages            :bugs:
 
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
 
29
** TODO Implement --foreground                  :bugs:
 
30
   [[info:standards:Option%20Table][Table of Long Options]]
 
31
** TODO Implement --socket
 
32
   [[info:standards:Option%20Table][Table of Long Options]]
 
33
** TODO Date+time on console log messages       :bugs:
32
34
   Is this the default?
33
 
** delete hook when clients fall out by timeout
 
35
** TODO delete hook when clients fall out by timeout
34
36
 
35
37
* Mandos-tools/utilities
36
38
  All of this probably using D-Bus
37
 
** List clients
38
 
** Disable client
39
 
** Enable client
40
 
** Reboot timer
41
 
 
42
 
* Man pages
43
 
** Use xinclude for common sections
44
 
   Like authors, etc.
45
 
 
46
 
 
47
 
* Installer
48
 
** Client-side
49
 
*** Update initrd.img after installation
50
 
    This seems to use some kind of "trigger" system
51
 
    [[file:/usr/share/doc/dpkg/triggers.txt.gz]]
52
 
    dpkg-trigger(1), deb-triggers(5)
53
 
*** mandos-keygen
54
 
**** "--passfile" option
55
 
     Using the "secfile" option instead of "secret"
56
 
**** [#A] "--test" option
57
 
     For testing decryption before rebooting.
58
 
** Server-side
59
 
*** [#A] Create mandos user and group for server
60
 
*** [#A] Create /var/run/mandos directory with perm and ownership
61
 
*** [#A] install rc.d script and do update-rc.d
62
 
    between config files and man pages
63
 
 
 
39
** TODO List clients
 
40
** TODO Disable client
 
41
** TODO Enable client
 
42
** TODO Reset timer
 
43
 
 
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.
64
49
 
65
50
* [#A] Package
66
51
** /usr/share/initramfs-tools/hooks/mandos
67
 
*** Do not install in initrd.img if configured not to.
 
52
*** TODO Do not install in initrd.img if configured not to.
68
53
    Use "/etc/initramfs-tools/conf.d/mandos"?  Definitely a debconf
69
54
    question.
70
 
** /etc/bash_completion.d/mandos
 
55
** TODO /etc/bash_completion.d/mandos
71
56
   From XML sources directly?
72
 
** unperish
73
 
** bzr-builddeb
74
 
 
75
 
* INSTALL file
76
 
 
77
 
* Web site
78
 
 
79
 
* Mailing list
80
 
 
81
 
* Announce project on news
82
 
  [[news:comp.os.linux.announce]]
83
57
 
84
58
 
85
59
#+STARTUP: showall