/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
-*- org -*-

* mandos-client
** TODO [#B] use scandir(3) instead of readdir(3)
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
** TODO use error() instead of perror()
** TODO [#B] Retry a server which has a non-definite reply:
*** A closed connection during the TLS handshake
*** A TCP timeout
** TODO [#B] Use capabilities instead of seteuid().
** TODO use EX_* from <sysexits.h>

* splashy
** TODO [#B] use scandir(3) instead of readdir(3)
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
** TODO use error() instead of perror()

* usplash
** TODO [#B] use scandir(3) instead of readdir(3)
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
** TODO use EX_* from <sysexits.h>
** TODO use error() instead of perror()

* askpass-fifo
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
** TODO [#B] Drop privileges after opening FIFO.
** TODO use EX_* from <sysexits.h>
** TODO use error() instead of perror()

* password-prompt
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
** TODO use EX_* from <sysexits.h>
** TODO use error() instead of perror()

* TODO passdev

* plugin-runner
** TODO [#B] use scandir(3) instead of readdir(3)
** TODO [#C] use same file name rules as run-parts(8)
** TODO use EX_* from <sysexits.h>
** TODO use error() instead of perror()

* mandos (server)
** TODO [#B] Log level				:BUGS:
** TODO /etc/mandos/clients.d/*.conf
   Watch this directory and add/remove/update clients?
** TODO config for TXT record
** TODO [#B] Run-time communication with server :BUGS:
   Probably using D-Bus
*** Client class
*** Main server
    + SetLogLevel
      syslogger.setLevel(logging.WARNING)
    + [[http://log.ometer.com/2007-05.html][Best D-Bus practices]]
** TODO Implement --foreground			:BUGS:
   [[info:standards:Option%20Table][Table of Long Options]]
** TODO Implement --socket
   [[info:standards:Option%20Table][Table of Long Options]]
** TODO Date+time on console log messages	:BUGS:
   Is this the default?
** TODO DBusServiceObjectUsingSuper
** TODO Global enable/disable flag
** TODO By-client countdown on secrets given
** TODO Fix problem with fsck taking a really long time
   Whenever a client successfully gets a secret it could get a
   one-time timeout boost to allow for an fsck-incurred delay
** TODO Delay before client receives key
   This would give an operator opportunity to cancel the request if
   desired.
** TODO Client manual approval mode
   A client needs manual approval on the server before it gets the
   secret
** TODO Persistent state
   /var/lib/mandos/*

* mandos.xml
** [[file:mandos.xml::XXX][Document D-Bus interface]]

* Provide and install /etc/dbus-1/system.d/mandos.conf

* mandos-ctl
*** Handle "no D-Bus server" and/or "no Mandos server found" better
*** [#B] --dump option

* TODO mandos-dispatch
  Listens for specified D-Bus signals and spawns shell commands with
  arguments.

* mandos-monitor
** D-Bus main loop w/ signal receiver
** Urwid client data displayer
*** Urwid scaffolding
*** Client Widgets
*** Properties popup

* mandos-keygen
** TODO Loop until passwords match when run interactively
** TODO "--secfile" option
   Using the "secfile" option instead of "secret"
** TODO [#B] "--test" option
   For testing decryption before rebooting.

* Makefile
** Implement DEB_BUILD_OPTIONS
   http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options

* Package
** /usr/share/initramfs-tools/hooks/mandos
*** TODO [#C] use same file name rules as run-parts(8)
*** TODO [#C] Do not install in initrd.img if configured not to.
    Use "/etc/initramfs-tools/hooksconf.d/mandos"?
** TODO [#C] /etc/bash_completion.d/mandos
   From XML sources directly?


#+STARTUP: showall