/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

* mandos (MandosServer): Fixed doc string.

* plugin-runner.c (main): Note warnings from "-Wconversion".

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