6
[[file:/usr/share/common-licenses/GPL-3][GPLv3]]
9
** [#A] Man page: man8/mandos-client.8mandos
10
** [#A] check return codes of all system calls
11
** [#B] header files/symbols tally
12
** use strsep instead of strtok?
13
** use config file in addition to arguments
14
** pass things in environment, like device name, etc
17
** [#A] Man page: man8/password-request.8mandos
18
** [#A] check return codes of all system calls
19
** [#B] header files/symbols tally
21
** use strsep instead of strtok?
22
** Do not depend on GPG key rings on disk
23
This would mean creating new GPG key rings with GPGME by importing
24
the key files from scratch on every program start.
27
** [#A] Man page: man8/password-prompt.8mandos
29
[[info:libc:getpass][GNU LibC Manual: Reading Passwords]]
32
** [#A] Command man page: man8/mandos.8
33
** [#A] Config file man page: man5/mandos.conf (mandos.conf)
34
** [#A] Config file man page: man5/mandos-clients.conf (clients.conf)
35
** [#A] /etc/init.d/mandos-server
37
** /etc/mandos/clients.d/*.conf
4
** TODO [#A] Clean up /tmp directory on signal
5
** TODO [#B] Temporarily lower kernel log level
6
for less printouts during sucessfull boot.
7
klogctl(6, NULL, 0); klogctl(7, NULL, 0);
8
** TODO [#C] IPv4 support
11
** TODO [#B] use scandir(3) instead of readdir(3)
14
** TODO [#B] Log level :bugs:
15
** TODO /etc/mandos/clients.d/*.conf
38
16
Watch this directory and add/remove/update clients?
39
** config for TXT record
40
** Run-time communication with server
42
** Implement --foreground
43
[[info:standards:Option%20Table][Table of Long Options]]
45
[[info:standards:Option%20Table][Table of Long Options]]
47
* Mandos-tools/utilities
48
All of this probably using D-Bus
54
** [#A] Change initrd.img file to not be publically readable
55
** [#A] Create GPG key ring files in initrd
56
** [#A] Create mandos user and group for server
57
** [#A] Create /var/run/mandos directory with perm and ownership
17
** TODO config for TXT record
18
** TODO [#B] Run-time communication with server :bugs:
20
See also [[*Mandos-tools]]
24
syslogger.setLevel(logging.WARNING)
26
+ [[http://log.ometer.com/2007-05.html][Best D-Bus practices]]
27
** TODO Implement --foreground :bugs:
28
[[info:standards:Option%20Table][Table of Long Options]]
29
** TODO Implement --socket
30
[[info:standards:Option%20Table][Table of Long Options]]
31
** TODO Date+time on console log messages :bugs:
33
** TODO delete hook when clients fall out by timeout
34
This will not be strictly necessary when the D-Bus interface is
38
** [[file:mandos.xml::XXX][Document D-Bus interface]]
40
* Provide and install /etc/dbus-1/system.d/mandos.conf
43
*** Handle "no D-Bus server" and/or "no Mandos server found" better
44
*** [#B] --dump option
45
** TODO Disable client
52
** TODO "--secfile" option
53
Using the "secfile" option instead of "secret"
54
** TODO [#B] "--test" option
55
For testing decryption before rebooting.
58
** /usr/share/initramfs-tools/hooks/mandos
59
*** TODO [#C] Do not install in initrd.img if configured not to.
60
Use "/etc/initramfs-tools/conf.d/mandos"? Definitely a debconf
62
** TODO [#C] /etc/bash_completion.d/mandos
63
From XML sources directly?