/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

todo

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
-*- org -*-
2
2
 
3
 
* [#A] README file
 
3
* mandos-client
 
4
** TODO [#B] use scandir(3) instead of readdir(3)
 
5
** TODO [#B] Prefix all debug output with argv[0]
 
6
** TODO [#B] Retry a server which has a non-definite reply:
 
7
*** A closed connection during the TLS handshake
 
8
*** A TCP timeout
 
9
** TODO [#B] Use capabilities instead of seteuid().
 
10
 
 
11
* splashy
 
12
** TODO [#B] use scandir(3) instead of readdir(3)
 
13
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
 
14
 
 
15
* usplash
 
16
** TODO [#B] use scandir(3) instead of readdir(3)
 
17
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
 
18
 
 
19
* askpass-fifo
 
20
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
 
21
** TODO [#B] Drop privileges after opening FIFO.
 
22
 
 
23
* password-prompt
 
24
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
 
25
 
 
26
* TODO passdev
4
27
 
5
28
* plugin-runner
6
 
** [#B] Add more comments to code
7
 
** [#B] Add more if(debug) calls
8
 
** [#B] Seperate more code to function for more readability
9
 
 
10
 
* password-request
11
 
** [#B] Temporarily lower kernel log level
12
 
   for less printouts during sucessfull boot.
13
 
** IPv4 support
14
 
** use strsep instead of strtok?
15
 
** Do not depend on GnuPG key rings on disk
16
 
   This would mean creating new GnuPG key rings with GPGME by
17
 
   importing the key files from scratch on every program start.
18
 
** Keydir move: /etc/mandos -> /etc/keys/mandos
19
 
   Must create in preinst if not pre-depending on cryptsetup
20
 
 
21
 
* password-prompt
22
 
** [#C] Use getpass(3)?
23
 
   Man page says "obsolete", but [[info:libc:getpass][GNU LibC Manual: Reading Passwords]]
24
 
   does not.  See also [[http://sources.redhat.com/ml/libc-alpha/2003-05/msg00251.html][Marcus Brinkmann: Re: getpass obsolete?]] and
25
 
   [[http://article.gmane.org/gmane.comp.lib.glibc.alpha/4906][Petter Reinholdtsen: Re: getpass obsolete?]], and especially also
26
 
   [[http://www.steve.org.uk/Reference/Unix/faq_4.html#SEC48][Unix Programming FAQ 3.1 How can I make my program not echo input?]]
 
29
** TODO [#B] use scandir(3) instead of readdir(3)
 
30
** TODO [#C] use same file name rules as run-parts(8)
 
31
** kernel command line option for debug info
27
32
 
28
33
* mandos (server)
29
 
** [#A] /etc/init.d/mandos-server               :teddy:
30
 
** [#B] Log level                               :bugs:
31
 
** /etc/mandos/clients.d/*.conf
 
34
** TODO [#B] Log level                          :BUGS:
 
35
** TODO /etc/mandos/clients.d/*.conf
32
36
   Watch this directory and add/remove/update clients?
33
 
** config for TXT record
34
 
** [#B] Run-time communication with server      :bugs:
 
37
** TODO config for TXT record
 
38
** TODO [#B] Run-time communication with server :BUGS:
35
39
   Probably using D-Bus
36
 
   See also [[*Mandos-tools]]
37
 
** Implement --foreground                       :bugs:
38
 
   [[info:standards:Option%20Table][Table of Long Options]]
39
 
** Implement --socket
40
 
   [[info:standards:Option%20Table][Table of Long Options]]
41
 
** Date+time on console log messages            :bugs:
 
40
*** Client class
 
41
*** Main server
 
42
    + SetLogLevel
 
43
      syslogger.setLevel(logging.WARNING)
 
44
    + [[http://log.ometer.com/2007-05.html][Best D-Bus practices]]
 
45
** TODO Implement --foreground                  :BUGS:
 
46
   [[info:standards:Option%20Table][Table of Long Options]]
 
47
** TODO Implement --socket
 
48
   [[info:standards:Option%20Table][Table of Long Options]]
 
49
** TODO Date+time on console log messages       :BUGS:
42
50
   Is this the default?
43
 
 
44
 
* Mandos-tools/utilities
45
 
  All of this probably using D-Bus
46
 
** List clients
47
 
** Disable client
48
 
** Enable client
49
 
 
50
 
* Man pages
51
 
** Use xinclude for common sections
52
 
   Like authors, etc.
53
 
 
54
 
 
55
 
* Installer
56
 
** Client-side
57
 
*** Update initrd.img after installation
58
 
    This seems to use some kind of "trigger" system
59
 
    [[file:/usr/share/doc/dpkg/triggers.txt.gz]]
60
 
    dpkg-trigger(1), deb-triggers(5)
61
 
*** Keydir move: /etc/mandos -> /etc/keys/mandos
62
 
    Must create in preinst if not pre-depending on cryptsetup
63
 
*** mandos-keygen
64
 
**** "--passfile" option
65
 
     Using the "secfile" option instead of "secret"
66
 
**** [#A] "--test" option
67
 
     For testing decryption before rebooting.
68
 
** Server-side
69
 
*** [#A] Create mandos user and group for server
70
 
*** [#A] Create /var/run/mandos directory with perm and ownership
71
 
 
72
 
* [#A] Package
 
51
** TODO DBusServiceObjectUsingSuper
 
52
** TODO Global enable/disable flag
 
53
** TODO By-client countdown on secrets given
 
54
** TODO Fix problem with fsck taking a really long time
 
55
   Whenever a client successfully gets a secret it could get a
 
56
   one-time timeout boost to allow for an fsck-incurred delay
 
57
** TODO Delay before client receives key
 
58
   This would give an operator opportunity to cancel the request if
 
59
   desired.
 
60
** TODO Client manual approval mode
 
61
   A client needs manual approval on the server before it gets the
 
62
   secret
 
63
** TODO Persistent state
 
64
   /var/lib/mandos/*
 
65
 
 
66
* mandos.xml
 
67
** [[file:mandos.xml::XXX][Document D-Bus interface]]
 
68
** Add mandos contact info in manual pages
 
69
 
 
70
* Provide and install /etc/dbus-1/system.d/mandos.conf
 
71
 
 
72
* mandos-ctl
 
73
*** Handle "no D-Bus server" and/or "no Mandos server found" better
 
74
*** [#B] --dump option
 
75
 
 
76
* TODO mandos-dispatch
 
77
  Listens for specified D-Bus signals and spawns shell commands with
 
78
  arguments.
 
79
 
 
80
* mandos-monitor
 
81
** D-Bus mail loop w/ signal receiver
 
82
** Snack/Newt client data displayer
 
83
*** Client Widgets
 
84
*** Properties popup
 
85
 
 
86
* mandos-keygen
 
87
** TODO Loop until passwords match when run interactively
 
88
** TODO "--secfile" option
 
89
   Using the "secfile" option instead of "secret"
 
90
** TODO [#B] "--test" option
 
91
   For testing decryption before rebooting.
 
92
 
 
93
* Makefile
 
94
** Implement DEB_BUILD_OPTIONS
 
95
   http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
 
96
 
 
97
* Package
73
98
** /usr/share/initramfs-tools/hooks/mandos
74
 
*** Do not install in initrd.img if configured not to.
75
 
    Use "/etc/initramfs-tools/conf.d/mandos"?  Definitely a debconf
76
 
    question.
77
 
** /etc/bash_completion.d/mandos
 
99
*** TODO [#C] use same file name rules as run-parts(8)
 
100
*** TODO [#C] Do not install in initrd.img if configured not to.
 
101
    Use "/etc/initramfs-tools/hooksconf.d/mandos"?
 
102
** TODO [#C] /etc/bash_completion.d/mandos
78
103
   From XML sources directly?
79
 
** unperish
80
 
** bzr-builddeb
81
 
 
82
 
* INSTALL file
83
 
 
84
 
* Web site
85
 
 
86
 
* Mailing list
87
 
 
88
 
* Announce project on news
89
 
  [[news:comp.os.linux.announce]]
90
104
 
91
105
 
92
106
#+STARTUP: showall