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