/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
 
** [#A] Man page: man8/password-request.8mandos
12
 
*** SEE ALSO
13
 
    Update from mandos.xml
14
 
** [#B] Temporarily lower kernel log level
15
 
   for less printouts during sucessfull boot.
16
 
** IPv4 support
17
 
** use strsep instead of strtok?
18
 
** Do not depend on GnuPG key rings on disk
19
 
   This would mean creating new GnuPG key rings with GPGME by
20
 
   importing the key files from scratch on every program start.
21
 
** Keydir move: /etc/mandos -> /etc/keys/mandos
22
 
   Must create in preinst if not pre-depending on cryptsetup
23
 
 
24
 
* password-prompt
25
 
** [#C] Use getpass(3)?
26
 
   Man page says "obsolete", but [[info:libc:getpass][GNU LibC Manual: Reading Passwords]]
27
 
   does not.  See also [[http://sources.redhat.com/ml/libc-alpha/2003-05/msg00251.html][Marcus Brinkmann: Re: getpass obsolete?]] and
28
 
   [[http://article.gmane.org/gmane.comp.lib.glibc.alpha/4906][Petter Reinholdtsen: Re: getpass obsolete?]], and especially also
29
 
   [[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
30
32
 
31
33
* mandos (server)
32
 
** [#A] /etc/init.d/mandos-server               :teddy:
33
 
** [#B] Log level                               :bugs:
34
 
** /etc/mandos/clients.d/*.conf
 
34
** TODO [#B] Log level                          :BUGS:
 
35
** TODO /etc/mandos/clients.d/*.conf
35
36
   Watch this directory and add/remove/update clients?
36
 
** config for TXT record
37
 
** [#B] Run-time communication with server      :bugs:
 
37
** TODO config for TXT record
 
38
** TODO [#B] Run-time communication with server :BUGS:
38
39
   Probably using D-Bus
39
 
   See also [[*Mandos-tools]]
40
 
** Implement --foreground                       :bugs:
41
 
   [[info:standards:Option%20Table][Table of Long Options]]
42
 
** Implement --socket
43
 
   [[info:standards:Option%20Table][Table of Long Options]]
44
 
** 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:
45
50
   Is this the default?
46
 
 
47
 
* Mandos-tools/utilities
48
 
  All of this probably using D-Bus
49
 
** List clients
50
 
** Disable client
51
 
** Enable client
52
 
 
53
 
* Man pages
54
 
** Use xinclude for common sections
55
 
   Like authors, etc.
56
 
 
57
 
 
58
 
* Installer
59
 
** Client-side
60
 
*** Update initrd.img after installation
61
 
    This seems to use some kind of "trigger" system
62
 
    [[file:/usr/share/doc/dpkg/triggers.txt.gz]]
63
 
    dpkg-trigger(1), deb-triggers(5)
64
 
*** Keydir move: /etc/mandos -> /etc/keys/mandos
65
 
    Must create in preinst if not pre-depending on cryptsetup
66
 
*** mandos-keygen
67
 
**** "--passfile" option
68
 
     Using the "secfile" option instead of "secret"
69
 
**** [#A] "--test" option
70
 
     For testing decryption before rebooting.
71
 
** Server-side
72
 
*** [#A] Create mandos user and group for server
73
 
*** [#A] Create /var/run/mandos directory with perm and ownership
74
 
 
75
 
* [#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
76
98
** /usr/share/initramfs-tools/hooks/mandos
77
 
*** Do not install in initrd.img if configured not to.
78
 
    Use "/etc/initramfs-tools/conf.d/mandos"?  Definitely a debconf
79
 
    question.
80
 
** /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
81
103
   From XML sources directly?
82
 
** unperish
83
 
** bzr-builddeb
84
 
 
85
 
* INSTALL file
86
 
 
87
 
* Web site
88
 
 
89
 
* Mailing list
90
 
 
91
 
* Announce project on news
92
 
  [[news:comp.os.linux.announce]]
93
104
 
94
105
 
95
106
#+STARTUP: showall