/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

« back to all changes in this revision

Viewing changes to TODO

* 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:
8
8
*** A closed connection during the TLS handshake
9
9
*** A TCP timeout
10
10
** TODO [#B] Use capabilities instead of seteuid().
11
 
** TODO [#A] Retry --connect forever
 
11
** TODO use EX_* from <sysexits.h>
12
12
 
13
13
* splashy
14
14
** TODO [#B] use scandir(3) instead of readdir(3)
15
15
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
16
 
** TODO [#B] use error() instead of perror()
 
16
** TODO use error() instead of perror()
17
17
 
18
18
* usplash
19
 
** TODO [#A] Make it work again
20
19
** TODO [#B] use scandir(3) instead of readdir(3)
21
20
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
22
 
** TODO [#B] use error() instead of perror()
 
21
** TODO use error() instead of perror()
 
22
** TODO use EX_* from <sysexits.h>
23
23
 
24
24
* askpass-fifo
25
25
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
26
 
** TODO [#B] use error() instead of perror()
 
26
** TODO use error() instead of perror()
27
27
** TODO [#B] Drop privileges after opening FIFO.
28
28
 
29
29
* password-prompt
30
30
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
31
 
** TODO [#B] use error() instead of perror()
32
 
** TODO [#B] lock stdin (with flock()?)
 
31
** TODO use error() instead of perror()
 
32
** TODO lock stdin (with flock()?)
33
33
 
34
 
* TODO [#B] passdev
 
34
* TODO passdev
35
35
 
36
36
* plugin-runner
37
37
** TODO [#B] use scandir(3) instead of readdir(3)
38
38
** TODO [#C] use same file name rules as run-parts(8)
39
 
** kernel command line option for debug info
40
 
** TODO [#B] use error() instead of perror()
 
39
** TODO use EX_* from <sysexits.h>
 
40
** TODO use error() instead of perror()
41
41
 
42
42
* mandos (server)
43
 
** TODO [#B] Log level                                                    :BUGS:
44
 
** TODO Persistent state                                                  :BUGS:
45
 
   /var/lib/mandos/*
46
 
*** TODO /etc/mandos/clients.d/*.conf
47
 
    Watch this directory and add/remove/update clients?
48
 
** TODO [#C] config for TXT record
49
 
** TODO Log level option
50
 
   syslogger.setLevel(logging.WARNING)
51
 
   + SetLogLevel D-Bus call
52
 
** TODO Implement --foreground                                            :BUGS:
 
43
** TODO [#B] Log level                          :BUGS:
 
44
** TODO /etc/mandos/clients.d/*.conf
 
45
   Watch this directory and add/remove/update clients?
 
46
** TODO config for TXT record
 
47
** TODO [#B] Run-time communication with server :BUGS:
 
48
   Probably using D-Bus
 
49
*** Client class
 
50
*** Main server
 
51
    + SetLogLevel
 
52
      syslogger.setLevel(logging.WARNING)
 
53
    + [[http://log.ometer.com/2007-05.html][Best D-Bus practices]]
 
54
** TODO Implement --foreground                  :BUGS:
53
55
   [[info:standards:Option%20Table][Table of Long Options]]
54
56
** TODO Implement --socket
55
57
   [[info:standards:Option%20Table][Table of Long Options]]
56
 
** TODO Date+time on console log messages                                 :BUGS:
 
58
** TODO Date+time on console log messages       :BUGS:
57
59
   Is this the default?
58
 
** TODO [#C] DBusServiceObjectUsingSuper
59
 
** TODO [#B] Global enable/disable flag
60
 
** TODO [#B] By-client countdown on secrets given
61
 
** TODO [#B] Fix problem with fsck taking a really long time
 
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
62
64
   Whenever a client successfully gets a secret it could get a
63
65
   one-time timeout boost to allow for an fsck-incurred delay
64
 
** TODO [#A] Delay before client receives key
 
66
** TODO Delay before client receives key
65
67
   This would give an operator opportunity to cancel the request if
66
68
   desired.
67
 
** TODO [#A] Client manual approval mode
 
69
** TODO Client manual approval mode
68
70
   A client needs manual approval on the server before it gets the
69
71
   secret
70
 
** TODO [#B] Support RFC 3339 time duration syntax
71
 
** More D-Bus methods
72
 
*** NeedsApproval(50, True) -> timeout, default approve
73
 
    Default approval is configurable, but True by default
74
 
    + Approval(True) -> approve sending saved
75
 
    + Approval(False) -> Close client connection immediately
76
 
*** NeedsPassword(50) - Timeout, default disapprove
77
 
    + SetPass(u"gazonk", True) -> Approval, persistent
78
 
    + Approval(False) -> Close client connection immediately
 
72
** TODO Persistent state
 
73
   /var/lib/mandos/*
79
74
 
80
75
* mandos.xml
81
76
** [[file:mandos.xml::XXX][Document D-Bus interface]]
82
 
   Remove mention of lack of such interface in BUGS section
83
 
** Add mandos contact info in manual pages
84
77
 
85
 
* TODO [#A] Provide and install /etc/dbus-1/system.d/mandos.conf
 
78
* Provide and install /etc/dbus-1/system.d/mandos.conf
86
79
 
87
80
* mandos-ctl
88
81
*** Handle "no D-Bus server" and/or "no Mandos server found" better
89
82
*** [#B] --dump option
90
 
** TODO Support RFC 3339 time duration syntax
91
83
 
92
84
* TODO mandos-dispatch
93
85
  Listens for specified D-Bus signals and spawns shell commands with
94
86
  arguments.
95
87
 
96
88
* mandos-monitor
 
89
** D-Bus main loop w/ signal receiver
97
90
** Urwid client data displayer
98
 
   Better view of client data in the listing
 
91
*** Urwid scaffolding
 
92
*** Client Widgets
99
93
*** Properties popup
100
94
 
101
95
* mandos-keygen
106
100
   For testing decryption before rebooting.
107
101
 
108
102
* Makefile
109
 
** TODO [#C] Implement DEB_BUILD_OPTIONS
 
103
** Implement DEB_BUILD_OPTIONS
110
104
   http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
111
105
 
112
106
* Package