/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

* debian/rules: Only set BROKEN_PIE if binutils is a specific range of
                versions.
* mandos-monitor (MandosClientWidget.keypress): Also accept "Ctrl-K"
                                                for removing client.
  (UserInterface.__init__): Use non-bold line drawing charater.
  (UserInterface.log_message): Scroll to bottom.
  (UserInterface.process_input): Also show help on "ESC" key.

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
 
* [[http://www.undeadly.org/cgi?action=article&sid=20110530221728][OpenBSD]]
6
 
 
7
 
* mandos-applet
8
 
 
9
3
* mandos-client
10
 
** TODO [#A] Document network hook functionality
 
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
11
10
** TODO [#B] Use capabilities instead of seteuid().
12
 
** TODO [#B] Use struct sockaddr_storage instead of a union
13
 
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
14
 
** TODO [#B] Use getnameinfo(serv=NULL, NI_NUMERICHOST) instead of inet_ntop()
15
 
** TODO [#B] Prefer /run/tmp over /tmp, if it exists
16
11
 
17
12
* splashy
18
13
** TODO [#B] use scandir(3) instead of readdir(3)
 
14
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
15
** TODO use error() instead of perror()
19
16
 
20
 
* usplash (Deprecated)
21
 
** TODO [#A] Make it work again
 
17
* usplash
22
18
** TODO [#B] use scandir(3) instead of readdir(3)
23
 
** TODO Use [[info:libc:Argz%20Functions][argz_extract]]
 
19
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
20
** TODO use error() instead of perror()
24
21
 
25
22
* askpass-fifo
 
23
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
24
** TODO use error() instead of perror()
26
25
** TODO [#B] Drop privileges after opening FIFO.
27
26
 
28
27
* password-prompt
29
 
** TODO [#B] lock stdin (with flock()?)
30
 
 
31
 
* plymouth
32
 
 
33
 
* TODO [#B] passdev
 
28
** 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()?)
 
31
 
 
32
* TODO passdev
34
33
 
35
34
* plugin-runner
36
 
** TODO handle printing for errors for plugins
37
 
*** Hook up stderr of plugins, buffer them, and prepend mandos pluig [plugin name]
38
35
** TODO [#B] use scandir(3) instead of readdir(3)
39
36
** TODO [#C] use same file name rules as run-parts(8)
40
 
** kernel command line option for debug info
41
 
** TODO [#B] Use openat()
 
37
** TODO use error() instead of perror()
42
38
 
43
39
* mandos (server)
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 dbus option
50
 
   SetLogLevel D-Bus call
51
 
** TODO Implement --foreground                                            :BUGS:
 
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:
52
52
   [[info:standards:Option%20Table][Table of Long Options]]
53
53
** TODO Implement --socket
54
54
   [[info:standards:Option%20Table][Table of Long Options]]
55
 
** TODO Date+time on console log messages                                 :BUGS:
 
55
** TODO Date+time on console log messages       :BUGS:
56
56
   Is this the default?
57
 
** TODO [#C] DBusServiceObjectUsingSuper
58
 
** TODO [#B] Global enable/disable flag
59
 
** TODO [#B] By-client countdown on number of secrets given
60
 
** TODO [#B] Support RFC 3339 time duration syntax
61
 
** More D-Bus methods
62
 
*** NeedsPassword(50) - Timeout, default disapprove
63
 
    + SetPass(u"gazonk", True) -> Approval, persistent
64
 
    + Approve(False) -> Close client connection immediately
65
 
** TODO [#C] python-parsedatetime
66
 
** TODO [#C] systemd/launchd
67
 
   http://0pointer.de/blog/projects/systemd.html
68
 
   http://wiki.debian.org/systemd
69
 
** TODO Separate logging logic to own object
70
 
** TODO make clients to a dict!
71
 
** TODO [#A] Limit approval_delay to max gnutls/tls timeout value
72
 
** TODO [#B] break the wait on approval_delay if connection dies
73
 
** TODO Generate Client.runtime_expansions from client options + extra
74
 
** TODO Allow %%(checker)s as a runtime expansion
75
 
** TODO Use python-tlslite?
 
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
   Whenever a client successfully gets a secret it could get a
 
62
   one-time timeout boost to allow for an fsck-incurred delay
 
63
** TODO Delay before client receives key
 
64
   This would give an operator opportunity to cancel the request if
 
65
   desired.
 
66
** TODO Client manual approval mode
 
67
   A client needs manual approval on the server before it gets the
 
68
   secret
 
69
** TODO Persistent state
 
70
   /var/lib/mandos/*
76
71
 
77
72
* mandos.xml
78
 
** Add mandos contact info in manual pages
 
73
** [[file:mandos.xml::XXX][Document D-Bus interface]]
 
74
 
 
75
* Provide and install /etc/dbus-1/system.d/mandos.conf
79
76
 
80
77
* mandos-ctl
81
78
*** Handle "no D-Bus server" and/or "no Mandos server found" better
82
79
*** [#B] --dump option
83
 
** TODO Support RFC 3339 time duration syntax
84
 
** TODO Send milliseconds if bare integer is passed as time duration
85
80
 
86
81
* TODO mandos-dispatch
87
82
  Listens for specified D-Bus signals and spawns shell commands with
88
83
  arguments.
89
84
 
90
85
* mandos-monitor
91
 
** TODO help should be toggleable
 
86
** D-Bus main loop w/ signal receiver
92
87
** Urwid client data displayer
93
 
   Better view of client data in the listing
 
88
*** Urwid scaffolding
 
89
*** Client Widgets
94
90
*** Properties popup
95
 
** Nicer crashes. Stack traces Messes up shell.
96
 
*** Print a nice "We are sorry" message, save stack trace to log.
97
 
** Show timeout countdown for approval
98
91
 
99
92
* mandos-keygen
 
93
** TODO Loop until passwords match when run interactively
100
94
** TODO "--secfile" option
101
95
   Using the "secfile" option instead of "secret"
102
96
** TODO [#B] "--test" option
103
97
   For testing decryption before rebooting.
104
98
 
105
99
* Makefile
106
 
** TODO [#C] Implement DEB_BUILD_OPTIONS
 
100
** Implement DEB_BUILD_OPTIONS
107
101
   http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
108
102
 
109
103
* Package
114
108
** TODO [#C] /etc/bash_completion.d/mandos
115
109
   From XML sources directly?
116
110
 
117
 
* Side Stuff
118
 
** TODO Locate which package moves the other bin/sh when busybox is deactivated
119
 
** TODO contact owner of package, and ask them to have that shell static in position regardless of busybox
120
 
 
121
111
 
122
112
#+STARTUP: showall