4
** TODO [#A] Clean up /tmp directory on signal
7
** TODO [#B] use scandir(3) instead of readdir(3)
10
** TODO [#B] Log level :BUGS:
11
** TODO /etc/mandos/clients.d/*.conf
6
[[file:/usr/share/common-licenses/GPL-3][GPLv3]]
9
** [#A] Man page: man8/mandos-client.8mandos
10
** [#B] Fix %d format strings to use [[https://secure.wikimedia.org/wikipedia/en/wiki/Inttypes.h][<inttypes.h>]]
11
** use strsep instead of strtok?
12
** use config file in addition to arguments
13
** pass things in environment, like device name, etc
16
** [#A] Man page: man8/password-request.8mandos
17
** [#A] check return codes of all system calls
18
** [#B] header files/symbols tally
19
** [#B] Fix %d format strings to use [[https://secure.wikimedia.org/wikipedia/en/wiki/Inttypes.h][<inttypes.h>]]
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
Man page says "obsolete", but [[info:libc:getpass][GNU LibC Manual: Reading Passwords]]
30
does not. See also [[http://sources.redhat.com/ml/libc-alpha/2003-05/msg00251.html][Marcus Brinkmann: Re: getpass obsolete?]] and
31
[[http://article.gmane.org/gmane.comp.lib.glibc.alpha/4906][Petter Reinholdtsen: Re: getpass obsolete?]], and especially also
32
[[http://www.steve.org.uk/Reference/Unix/faq_4.html#SEC48][Unix Programming FAQ 3.1 How can I make my program not echo input?]]
35
** [#A] Command man page: man8/mandos.8
36
** [#A] Config file man page: man5/mandos.conf (mandos.conf)
37
** [#A] Config file man page: man5/mandos-clients.conf (clients.conf)
38
** [#A] /etc/init.d/mandos-server :teddy:
40
** /etc/mandos/clients.d/*.conf
12
41
Watch this directory and add/remove/update clients?
13
** TODO config for TXT record
14
** TODO [#B] Run-time communication with server :BUGS:
42
** config for TXT record
43
** Run-time communication with server
15
44
Probably using D-Bus
19
syslogger.setLevel(logging.WARNING)
20
+ [[http://log.ometer.com/2007-05.html][Best D-Bus practices]]
21
** TODO Implement --foreground :BUGS:
22
[[info:standards:Option%20Table][Table of Long Options]]
23
** TODO Implement --socket
24
[[info:standards:Option%20Table][Table of Long Options]]
25
** TODO Date+time on console log messages :BUGS:
29
** [[file:mandos.xml::XXX][Document D-Bus interface]]
31
* Provide and install /etc/dbus-1/system.d/mandos.conf
34
*** Handle "no D-Bus server" and/or "no Mandos server found" better
35
*** [#B] --dump option
40
** TODO Loop until passwords match when run interactively
41
** TODO "--secfile" option
42
Using the "secfile" option instead of "secret"
43
** TODO [#B] "--test" option
44
For testing decryption before rebooting.
47
** /usr/share/initramfs-tools/hooks/mandos
48
*** TODO [#C] Do not install in initrd.img if configured not to.
49
Use "/etc/initramfs-tools/hooksconf.d/mandos"?
50
** TODO [#C] /etc/bash_completion.d/mandos
51
From XML sources directly?
45
See also [[*Mandos-tools]]
46
** Implement --foreground
47
[[info:standards:Option%20Table][Table of Long Options]]
49
[[info:standards:Option%20Table][Table of Long Options]]
51
* Mandos-tools/utilities
52
All of this probably using D-Bus
58
** [#A] Change initrd.img file to not be publically readable
59
** [#A] Create /etc/initramfs-tools/hooks/mandos
60
[[file:/usr/share/doc/initramfs-tools/examples/example_hook][Example initramfs-tools hook script]]
61
** [#A] Create GPG key ring files in initrd
62
** [#A] Create mandos user and group for server
63
** [#A] Create /var/run/mandos directory with perm and ownership
65
* [[http://en.tldp.org/HOWTO/Software-Release-Practice-HOWTO/][Software Release Practice HOWTO]]