/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

merge + minor adjustments

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
* [#A] README file
4
4
 
5
 
* [#A] COPYING file
6
 
  [[file:/usr/share/common-licenses/GPL-3][GPLv3]]
7
 
 
8
 
* Mandos-client
9
 
** [#A] Man page: man8/mandos-client.8mandos
10
 
*** SYNOPSIS
11
 
    Needs options listed, not just "[OPTION...]"
 
5
* Plugin-runner
 
6
** [#A] Change syntax for arguments
 
7
** [#B] Add more comments to code
 
8
** [#B] Add more if(debug) calls
 
9
** [#B] Seperate more code to function for more readability
 
10
** [#A] Man page: man8/plugin-runner.8mandos
12
11
*** DESCRIPTION
13
 
    Move options to new OPTIONS section.
14
 
    State that this command is not meant to be invoked directly, but
15
 
    is meant to be run by cryptsetup by being specified in
16
 
    /etc/crypttab and only run in the initrd environment, not the real
17
 
    system.
18
 
*** EXIT STATUS
19
 
    Create this section
20
 
*** USAGE
21
12
    Describe the plus sign syntax for passing options from crypttab
 
13
*** EXIT STATUS
 
14
    Text needed
22
15
*** EXAMPLES
23
16
    Examples of normal usage, debug usage, debugging single or all
24
17
    plugins, examples of crypttab lines with plus syntax, etc.
25
18
*** FILES
26
 
    Describe plugin directory
27
 
*** DIAGNOSTICS
28
 
    Create this section
 
19
    Text needed
29
20
*** SECURITY
30
 
    Create this section
 
21
    Text needed
31
22
*** NOTES
32
 
    Create this section (if needed)
 
23
    Text needed
33
24
*** BUGS
34
 
    Create this section
 
25
    Text needed
35
26
*** SEE ALSO
36
 
    Refer to mandos(8), password-request(8mandos), and
37
 
    password-prompt(8mandos)
38
 
** [#B] Fix %d format strings to use [[https://secure.wikimedia.org/wikipedia/en/wiki/Inttypes.h][<inttypes.h>]]
39
 
** use strsep instead of strtok?
40
 
** use config file in addition to arguments
41
 
** pass things in environment, like device name, etc
42
 
** Fallback
43
 
   As a fallback, if no plugins can be found or if all of them failed,
44
 
   run getpass(3) itself.
 
27
    Explaining test on what you can read
 
28
** Use asprintf instead of malloc and strcat?
 
29
** Support in configuration file for environment variables
 
30
** Keydir move: /etc/mandos -> /etc/keys/mandos
 
31
   Must create in preinst if not pre-depending on cryptsetup
45
32
 
46
33
* Password-request
47
34
** [#A] Man page: man8/password-request.8mandos
48
 
*** SYNOPSIS
49
 
    Needs options listed, not just "[OPTION...]"
 
35
** [#B] Temporarily lower kernel log level
 
36
   for less printouts during sucessfull boot.
50
37
*** DESCRIPTION
51
38
    Move options to new OPTIONS section.
52
39
    State that this command is not meant to be invoked directly, but
70
57
    Create this section
71
58
*** SEE ALSO
72
59
    Refer to mandos-client(8mandos) and password-prompt(8mandos)
73
 
** [#B] Fix %d format strings to use [[https://secure.wikimedia.org/wikipedia/en/wiki/Inttypes.h][<inttypes.h>]]
74
 
** start_mandos_communication: loop around gnutls_handshake
75
 
   [[info:gnutls.info.gz:Core%20functions][gnutls_handshake]]
76
60
** IPv4 support
77
61
** use strsep instead of strtok?
78
 
** Do not depend on GPG key rings on disk
79
 
   This would mean creating new GPG key rings with GPGME by importing
80
 
   the key files from scratch on every program start.
 
62
** Do not depend on GnuPG key rings on disk
 
63
   This would mean creating new GnuPG key rings with GPGME by
 
64
   importing the key files from scratch on every program start.
81
65
 
82
66
* Password-prompt
83
67
** [#A] Man page: man8/password-prompt.8mandos
84
 
*** SYNOPSIS
85
 
    Needs options listed, not just "[OPTION...]"
 
68
** Show getenv("cryptsource") and getenv("crypttarget") if set
 
69
   cryptsource will be the device, like "/dev/sda3", and crypttarget
 
70
   will be the device mapper name, like "sda3_crypt".
86
71
*** DESCRIPTION
87
72
    Move options to new OPTIONS section.
88
73
*** EXIT STATUS
107
92
   does not.  See also [[http://sources.redhat.com/ml/libc-alpha/2003-05/msg00251.html][Marcus Brinkmann: Re: getpass obsolete?]] and
108
93
   [[http://article.gmane.org/gmane.comp.lib.glibc.alpha/4906][Petter Reinholdtsen: Re: getpass obsolete?]], and especially also
109
94
   [[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?]]
 
95
** Replace completely with "/lib/cryptsetup/askpass"?
110
96
 
111
97
* Mandos (server)
112
98
** [#A] Command man page: man8/mandos.8
113
 
*** SYNOPSIS
114
 
    Needs options listed, not just "[OPTION...]"
115
99
*** DESCRIPTION
116
100
    Move options to new OPTIONS section
117
101
*** EXIT STATUS
146
130
   [[info:standards:Option%20Table][Table of Long Options]]
147
131
** Implement --socket
148
132
   [[info:standards:Option%20Table][Table of Long Options]]
 
133
** Date+time on console log messages
 
134
   Is this the default?
149
135
 
150
136
* Mandos-tools/utilities
151
137
  All of this probably using D-Bus
154
140
** Enable client
155
141
 
156
142
* Installer
157
 
** DONE [#A] Change initrd.img file to not be publically readable
158
 
   /etc/initramfs-tools/conf.d/mandos
159
 
   UMASK=027
160
 
** [#A] Create /etc/initramfs-tools/hooks/mandos
161
 
   [[file:/usr/share/doc/initramfs-tools/examples/example_hook][Example initramfs-tools hook script]]
162
 
** [#A] Create GPG key ring files in initrd
163
 
** [#A] Create mandos user and group for server
164
 
** [#A] Create /var/run/mandos directory with perm and ownership
165
 
 
166
 
* Package
 
143
** Client
 
144
*** DONE [#A] Change initrd.img file to not be publically readable
 
145
    /usr/share/initramfs-tools/conf-hooks.d/mandos
 
146
    UMASK=027
 
147
*** Update initrd.img after installation
 
148
** Server
 
149
*** [#A] Create mandos user and group for server
 
150
*** [#A] Create /var/run/mandos directory with perm and ownership
 
151
 
 
152
** mandos-keygen
 
153
*** [#A] Command man page: man8/mandos-keygen.8
 
154
*** [#A] Output cut-and-paste ready snippet for clients.conf.
 
155
 
 
156
* [#A] Package
 
157
** /usr/share/initramfs-tools/hooks/mandos
 
158
*** Do not install in initrd.img if configured not to
 
159
    Use "/etc/initramfs-tools/conf.d/mandos"?  Definitely a debconf
 
160
    question.
167
161
** /etc/bash_completion.d/mandos
 
162
*** From xml sources directly?
 
163
** unperish
 
164
** bzr-builddeb
168
165
 
169
166
* INSTALL file
170
167