/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-26 21:16:16 UTC
  • Revision ID: teddy@fukt.bsnet.se-20091026211616-38e9wynf4428ip2l
Merge from release branch.

Show diffs side-by-side

added added

removed removed

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