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
** [#B] Fix %d format strings to use [[https://secure.wikimedia.org/wikipedia/en/wiki/Inttypes.h][<inttypes.h>]]
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
Man page says "obsolete", but [[info:libc:getpass][GNU LibC Manual: Reading Passwords]]
28
does not. See also [[http://sources.redhat.com/ml/libc-alpha/2003-05/msg00251.html][Marcus Brinkmann: Re: getpass obsolete?]] and
29
[[http://article.gmane.org/gmane.comp.lib.glibc.alpha/4906][Petter Reinholdtsen: Re: getpass obsolete?]], and especially also
30
[[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?]]
33
** [#A] Command man page: man8/mandos.8
34
** [#A] Config file man page: man5/mandos.conf (mandos.conf)
35
** [#A] Config file man page: man5/mandos-clients.conf (clients.conf)
36
** [#A] /etc/init.d/mandos-server :teddy:
38
** /etc/mandos/clients.d/*.conf
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
39
12
Watch this directory and add/remove/update clients?
40
** config for TXT record
41
** Run-time communication with server
13
** TODO config for TXT record
14
** TODO [#B] Run-time communication with server :BUGS:
42
15
Probably using D-Bus
43
See also [[*Mandos-tools]]
44
** Implement --foreground
45
[[info:standards:Option%20Table][Table of Long Options]]
47
[[info:standards:Option%20Table][Table of Long Options]]
49
* Mandos-tools/utilities
50
All of this probably using D-Bus
56
** [#A] Change initrd.img file to not be publically readable
57
** [#A] Create /etc/initramfs-tools/hooks/mandos
58
[[file:/usr/share/doc/initramfs-tools/examples/example_hook][Example initramfs-tools hook script]]
59
** [#A] Create GPG key ring files in initrd
60
** [#A] Create mandos user and group for server
61
** [#A] Create /var/run/mandos directory with perm and ownership
63
* [[http://en.tldp.org/HOWTO/Software-Release-Practice-HOWTO/][Software Release Practice HOWTO]]
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?