/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to TODO

Tags: version-1.0.8-1
* Makefile (version): Changed to "1.0.8".
* NEWS (Version 1.0.8): New entry.
* debian/changelog (1.0.8-1): - '' -

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
-*- org -*-
2
2
 
3
 
* [#A] README file
 
3
* mandos-client
 
4
** TODO [#A] Clean up /tmp directory on signal
4
5
 
5
6
* plugin-runner
6
 
** [#B] Add more comments to code
7
 
** [#B] Add more if(debug) calls
8
 
** [#B] Seperate more code to function for more readability
9
 
** [#A] Man page: man8/plugin-runner.8mandos
10
 
*** EXIT STATUS
11
 
*** EXAMPLES
12
 
    Examples of normal usage, debug usage, debugging single or all
13
 
    plugins, etc.
14
 
*** FILES
15
 
*** SECURITY
16
 
*** BUGS
17
 
*** SEE ALSO
18
 
    Explaining text on what you can read
19
 
** Keydir move: /etc/mandos -> /etc/keys/mandos
20
 
   Must create in preinst if not pre-depending on cryptsetup
21
 
 
22
 
* password-request
23
 
** [#A] Man page: man8/password-request.8mandos
24
 
*** SYNOPSIS
25
 
    Document short options
26
 
*** DESCRIPTION
27
 
    State that this command is not meant to be invoked directly, but
28
 
    is run as a plugin from mandos-client(8) and only run in the
29
 
    initrd environment, not the real system.
30
 
*** PURPOSE
31
 
    As in mandos.xml
32
 
*** OVERVIEW
33
 
    As in mandos.xml
34
 
*** EXIT STATUS
35
 
*** ENVIRONMENT
36
 
    Note that it does *not* currently use cryptsource or crypttarget.
37
 
*** FILES
38
 
    Describe the key files and the key ring files.  Also note that
39
 
    they should normally have been automatically created.
40
 
*** BUGS
41
 
*** EXAMPLE
42
 
    Examples of normal usage, debug usage, debugging by connecting
43
 
    directly, etc.
44
 
*** SECURITY
45
 
*** SEE ALSO
46
 
    Update from mandos.xml
47
 
** [#B] Temporarily lower kernel log level
48
 
   for less printouts during sucessfull boot.
49
 
** IPv4 support
50
 
** use strsep instead of strtok?
51
 
** Do not depend on GnuPG key rings on disk
52
 
   This would mean creating new GnuPG key rings with GPGME by
53
 
   importing the key files from scratch on every program start.
54
 
 
55
 
* password-prompt
56
 
** [#A] Man page: man8/password-prompt.8mandos
57
 
*** SYNOPSIS
58
 
    Document short options
59
 
*** DESCRIPTION
60
 
    Note that this is more or less a simple getpass(3) wrapper, even
61
 
    though actual use of getpass(3) is not guaranteed.
62
 
*** EXIT STATUS
63
 
*** ENVIRONMENT
64
 
    Document use of "cryptsource" and "crypttarget".
65
 
*** FILES
66
 
*** BUGS
67
 
*** EXAMPLE
68
 
    Examples of normal usage, debug usage, with a prefix, etc.
69
 
*** SECURITY
70
 
    Not much to do here but it is noteworthy to state the danger of
71
 
    not having a fallback option.
72
 
*** SEE ALSO
73
 
    Refer to mandos-client(8mandos) and password-request(8mandos)
74
 
    and also, perhaps, to cryptsetup(8)?
75
 
** Use getpass(3)?
76
 
   Man page says "obsolete", but [[info:libc:getpass][GNU LibC Manual: Reading Passwords]]
77
 
   does not.  See also [[http://sources.redhat.com/ml/libc-alpha/2003-05/msg00251.html][Marcus Brinkmann: Re: getpass obsolete?]] and
78
 
   [[http://article.gmane.org/gmane.comp.lib.glibc.alpha/4906][Petter Reinholdtsen: Re: getpass obsolete?]], and especially also
79
 
   [[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?]]
 
7
** TODO [#B] use scandir(3) instead of readdir(3)
80
8
 
81
9
* mandos (server)
82
 
** [#A] Config file man page: man5/mandos.conf (mandos.conf)
83
 
** [#A] Config file man page: man5/mandos-clients.conf (clients.conf)
84
 
** [#A] /etc/init.d/mandos-server               :teddy:
85
 
** [#B] Log level                               :bugs:
86
 
** /etc/mandos/clients.d/*.conf
 
10
** TODO [#B] Log level                          :BUGS:
 
11
** TODO /etc/mandos/clients.d/*.conf
87
12
   Watch this directory and add/remove/update clients?
88
 
** config for TXT record
89
 
** [#B] Run-time communication with server      :bugs:
 
13
** TODO config for TXT record
 
14
** TODO [#B] Run-time communication with server :BUGS:
90
15
   Probably using D-Bus
91
 
   See also [[*Mandos-tools]]
92
 
** Implement --foreground                       :bugs:
93
 
   [[info:standards:Option%20Table][Table of Long Options]]
94
 
** Implement --socket
95
 
   [[info:standards:Option%20Table][Table of Long Options]]
96
 
** Date+time on console log messages            :bugs:
 
16
*** Client class
 
17
*** Main server
 
18
    + SetLogLevel
 
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:
97
26
   Is this the default?
98
27
 
99
 
* Mandos-tools/utilities
100
 
  All of this probably using D-Bus
101
 
** List clients
102
 
** Disable client
103
 
** Enable client
104
 
 
105
 
* Installer
106
 
** Client
107
 
*** Update initrd.img after installation
108
 
    This seems to use some kind of "trigger" system
109
 
** Server
110
 
*** [#A] Create mandos user and group for server
111
 
*** [#A] Create /var/run/mandos directory with perm and ownership
112
 
 
113
 
** mandos-keygen
114
 
*** [#A] Output cut-and-paste ready snippet for clients.conf.
115
 
 
116
 
* [#A] Package
 
28
* mandos.xml
 
29
** [[file:mandos.xml::XXX][Document D-Bus interface]]
 
30
 
 
31
* Provide and install /etc/dbus-1/system.d/mandos.conf
 
32
 
 
33
* mandos-ctl
 
34
*** Handle "no D-Bus server" and/or "no Mandos server found" better
 
35
*** [#B] --dump option
 
36
 
 
37
* Curses interface
 
38
 
 
39
* mandos-keygen
 
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.
 
45
 
 
46
* Package
117
47
** /usr/share/initramfs-tools/hooks/mandos
118
 
*** Do not install in initrd.img if configured not to.
119
 
    Use "/etc/initramfs-tools/conf.d/mandos"?  Definitely a debconf
120
 
    question.
121
 
** /etc/bash_completion.d/mandos
122
 
*** From XML sources directly?
123
 
** unperish
124
 
** bzr-builddeb
125
 
 
126
 
* INSTALL file
127
 
 
128
 
* Web site
129
 
 
130
 
* Mailing list
131
 
 
132
 
* Announce project on news
133
 
  [[news:comp.os.linux.announce]]
 
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?
134
52
 
135
53
 
136
54
#+STARTUP: showall