/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-10-18 17:29:55 UTC
  • Revision ID: teddy@fukt.bsnet.se-20091018172955-qqnsfad2lkpkt35f
* plugins.d/password-prompt.c: Use exit codes from <sysexits.h>.  Do
                               close(STDOUT_FILENO) after writing to
                               check its return code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
-*- org -*-
2
2
 
3
3
* mandos-client
4
 
** TODO [#C] IPv4 support
 
4
** TODO [#B] use scandir(3) instead of readdir(3)
 
5
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
6
** TODO use error() instead of perror()
 
7
** TODO [#B] Retry a server which has a non-definite reply:
 
8
*** A closed connection during the TLS handshake
 
9
*** A TCP timeout
 
10
** TODO [#B] Use capabilities instead of seteuid().
 
11
** TODO use EX_* from <sysexits.h>
 
12
 
 
13
* splashy
 
14
** TODO [#B] use scandir(3) instead of readdir(3)
 
15
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
16
** TODO use error() instead of perror()
 
17
 
 
18
* usplash
 
19
** TODO [#B] use scandir(3) instead of readdir(3)
 
20
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
21
** TODO use error() instead of perror()
 
22
** TODO use EX_* from <sysexits.h>
 
23
 
 
24
* askpass-fifo
 
25
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
26
** TODO use error() instead of perror()
 
27
** TODO [#B] Drop privileges after opening FIFO.
 
28
 
 
29
* password-prompt
 
30
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
31
** TODO use error() instead of perror()
 
32
** TODO lock stdin (with flock()?)
 
33
 
 
34
* TODO passdev
5
35
 
6
36
* plugin-runner
7
37
** TODO [#B] use scandir(3) instead of readdir(3)
 
38
** TODO [#C] use same file name rules as run-parts(8)
 
39
** TODO use EX_* from <sysexits.h>
 
40
** TODO use error() instead of perror()
8
41
 
9
42
* mandos (server)
10
 
** TODO [#B] Log level                          :bugs:
 
43
** TODO [#B] Log level                          :BUGS:
11
44
** TODO /etc/mandos/clients.d/*.conf
12
45
   Watch this directory and add/remove/update clients?
13
46
** TODO config for TXT record
14
 
** TODO [#B] Run-time communication with server :bugs:
 
47
** TODO [#B] Run-time communication with server :BUGS:
15
48
   Probably using D-Bus
16
 
   See also [[*Mandos-tools]]
17
49
*** Client class
18
50
*** Main server
19
51
    + SetLogLevel
20
52
      syslogger.setLevel(logging.WARNING)
21
 
    + Quit
22
53
    + [[http://log.ometer.com/2007-05.html][Best D-Bus practices]]
23
 
** TODO Implement --foreground                  :bugs:
 
54
** TODO Implement --foreground                  :BUGS:
24
55
   [[info:standards:Option%20Table][Table of Long Options]]
25
56
** TODO Implement --socket
26
57
   [[info:standards:Option%20Table][Table of Long Options]]
27
 
** TODO Date+time on console log messages       :bugs:
 
58
** TODO Date+time on console log messages       :BUGS:
28
59
   Is this the default?
29
 
** TODO delete hook when clients fall out by timeout
30
 
   This will not be strictly necessary when the D-Bus interface is
31
 
   implemented.
 
60
** TODO DBusServiceObjectUsingSuper
 
61
** TODO Global enable/disable flag
 
62
** TODO By-client countdown on secrets given
 
63
** TODO Fix problem with fsck taking a really long time
 
64
   Whenever a client successfully gets a secret it could get a
 
65
   one-time timeout boost to allow for an fsck-incurred delay
 
66
** TODO Delay before client receives key
 
67
   This would give an operator opportunity to cancel the request if
 
68
   desired.
 
69
** TODO Client manual approval mode
 
70
   A client needs manual approval on the server before it gets the
 
71
   secret
 
72
** TODO Persistent state
 
73
   /var/lib/mandos/*
32
74
 
33
75
* mandos.xml
34
76
** [[file:mandos.xml::XXX][Document D-Bus interface]]
35
77
 
36
78
* Provide and install /etc/dbus-1/system.d/mandos.conf
37
79
 
38
 
* mandos-list
 
80
* mandos-ctl
39
81
*** Handle "no D-Bus server" and/or "no Mandos server found" better
40
82
*** [#B] --dump option
41
83
 
42
 
* Curses interface
 
84
* TODO mandos-dispatch
 
85
  Listens for specified D-Bus signals and spawns shell commands with
 
86
  arguments.
 
87
 
 
88
* mandos-monitor
 
89
** D-Bus main loop w/ signal receiver
 
90
** Urwid client data displayer
 
91
*** Urwid scaffolding
 
92
*** Client Widgets
 
93
*** Properties popup
43
94
 
44
95
* mandos-keygen
45
96
** TODO Loop until passwords match when run interactively
48
99
** TODO [#B] "--test" option
49
100
   For testing decryption before rebooting.
50
101
 
51
 
* [#A] Package
 
102
* Makefile
 
103
** Implement DEB_BUILD_OPTIONS
 
104
   http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
 
105
 
 
106
* Package
52
107
** /usr/share/initramfs-tools/hooks/mandos
 
108
*** TODO [#C] use same file name rules as run-parts(8)
53
109
*** TODO [#C] Do not install in initrd.img if configured not to.
54
 
    Use "/etc/initramfs-tools/conf.d/mandos"?  Definitely a debconf
55
 
    question.
 
110
    Use "/etc/initramfs-tools/hooksconf.d/mandos"?
56
111
** TODO [#C] /etc/bash_completion.d/mandos
57
112
   From XML sources directly?
58
 
** TODO initramfs-tools-script                                            :test:
59
 
   Do not insert plugin-runner as keyscript if a kernel parameter
60
 
   "mandos=off" is passed.
61
113
 
62
114
 
63
115
#+STARTUP: showall