/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

Merge in branch to interpret an empty device name to mean
"autodetect".

Show diffs side-by-side

added added

removed removed

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