/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

  • Committer: Teddy Hogeborn
  • Date: 2012-05-20 13:17:37 UTC
  • mfrom: (237.7.133 trunk)
  • mto: This revision was merged to the branch mainline in revision 300.
  • Revision ID: teddy@recompile.se-20120520131737-p1toj7kaxgs3wki3
mergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

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