4
** TODO [#A] Clean up /tmp directory and take down interface on signal :test:
5
** TODO [#B] use scandir(3) instead of readdir(3)
6
** TODO [#B] Prefix all debug output with argv[0]
7
** TODO [#B] Retry a server which has a non-definite reply.
8
*** A closed connection during the TLS handshake
12
** TODO [#A] Re-raise signal received when exiting due to handled signal :test:
13
** TODO [#B] use scandir(3) instead of readdir(3)
14
** TODO [#B] Prefix all debug output with argv[0]
17
** TODO [#A] Re-raise signal received when exiting due to handled signal.
18
** TODO [#B] use scandir(3) instead of readdir(3)
19
** TODO [#B] Prefix all debug output with argv[0]
22
** TODO [#B] Prefix all debug output with argv[0]
8
** [#B] Temporarily lower kernel log level
9
for less printouts during sucessfull boot.
11
** use strsep instead of strtok?
12
** Do not depend on GnuPG key rings on disk
13
This would mean creating new GnuPG key rings with GPGME by
14
importing the key files from scratch on every program start.
15
** Keydir move: /etc/mandos -> /etc/keys/mandos
16
Must create in preinst if not pre-depending on cryptsetup
25
** TODO [#B] use scandir(3) instead of readdir(3)
26
** TODO [#C] use same file name rules as run-parts(8)
21
** [#A] /etc/init.d/mandos-server :teddy:
22
** [#B] Log level :bugs:
23
** /etc/mandos/clients.d/*.conf
29
** TODO [#B] Log level :BUGS:
30
** TODO /etc/mandos/clients.d/*.conf
24
31
Watch this directory and add/remove/update clients?
25
** config for TXT record
26
** [#B] Run-time communication with server :bugs:
32
** TODO config for TXT record
33
** TODO [#B] Run-time communication with server :BUGS:
27
34
Probably using D-Bus
28
See also [[*Mandos-tools]]
29
** Implement --foreground :bugs:
30
[[info:standards:Option%20Table][Table of Long Options]]
32
[[info:standards:Option%20Table][Table of Long Options]]
33
** Date+time on console log messages :bugs:
38
syslogger.setLevel(logging.WARNING)
39
+ [[http://log.ometer.com/2007-05.html][Best D-Bus practices]]
40
** TODO Implement --foreground :BUGS:
41
[[info:standards:Option%20Table][Table of Long Options]]
42
** TODO Implement --socket
43
[[info:standards:Option%20Table][Table of Long Options]]
44
** TODO Date+time on console log messages :BUGS:
34
45
Is this the default?
36
* Mandos-tools/utilities
37
All of this probably using D-Bus
44
** Use xinclude for common sections
50
*** Update initrd.img after installation
51
This seems to use some kind of "trigger" system
52
[[file:/usr/share/doc/dpkg/triggers.txt.gz]]
53
dpkg-trigger(1), deb-triggers(5)
54
*** Keydir move: /etc/mandos -> /etc/keys/mandos
55
Must create in preinst if not pre-depending on cryptsetup
57
**** "--passfile" option
58
Using the "secfile" option instead of "secret"
59
**** [#A] "--test" option
60
For testing decryption before rebooting.
62
*** [#A] Create mandos user and group for server
63
*** [#A] Create /var/run/mandos directory with perm and ownership
46
** TODO Split IPv6_TCPServer into a generic and Mandos-specific class
47
** TODO move handle_ipc out of IPv6_TCPServer
48
** TODO DBusServiceObjectUsingSuper
49
** Global enable/disable flag
50
** By-client countdown on secrets given
53
** [[file:mandos.xml::XXX][Document D-Bus interface]]
55
* Provide and install /etc/dbus-1/system.d/mandos.conf
58
*** Handle "no D-Bus server" and/or "no Mandos server found" better
59
*** [#B] --dump option
62
** D-Bus mail loop w/ signal receiver
63
** Urwid/Newt client data displayer
69
** TODO Loop until passwords match when run interactively
70
** TODO "--secfile" option
71
Using the "secfile" option instead of "secret"
72
** TODO [#B] "--test" option
73
For testing decryption before rebooting.
66
76
** /usr/share/initramfs-tools/hooks/mandos
67
*** Do not install in initrd.img if configured not to.
68
Use "/etc/initramfs-tools/conf.d/mandos"? Definitely a debconf
70
** /etc/bash_completion.d/mandos
77
*** TODO [#C] use same file name rules as run-parts(8)
78
*** TODO [#C] Do not install in initrd.img if configured not to.
79
Use "/etc/initramfs-tools/hooksconf.d/mandos"?
80
** TODO [#C] /etc/bash_completion.d/mandos
71
81
From XML sources directly?
81
* Announce project on news
82
[[news:comp.os.linux.announce]]