/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

  • Committer: Teddy Hogeborn
  • Date: 2008-08-14 02:24:59 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080814022459-rq3jt4q409l3qbj3
* Makefile (PREFIX, CONFDIR): New.

* initramfs-tools-hook: Search for Mandos in /usr/local as well as in
                        /usr.  Also copy plugin-runner.  Also chmod
                        the config dir.
  (DESTCONFDIR): Removed.
  (MANDOSDIR): New.
  (PLUGINDIR): Changed to "${MANDOSDIR}/plugins.d".

* initramfs-tools-script: New.

* mandos-client.c: Renamed to "plugin-runner.c".  All references
                   changed.
  (plugindir): Changed to "/lib/mandos/plugins.d".

* plugins.d/usplash: New.

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
5
* Mandos-client
 
6
** [#A] Change syntax for arguments
9
7
** [#A] Man page: man8/mandos-client.8mandos
10
 
*** SYNOPSIS
11
 
    Needs options listed, not just "[OPTION...]"
12
8
*** 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
9
    Describe the plus sign syntax for passing options from crypttab
 
10
*** EXIT STATUS
 
11
    Text needed
22
12
*** EXAMPLES
23
13
    Examples of normal usage, debug usage, debugging single or all
24
14
    plugins, examples of crypttab lines with plus syntax, etc.
25
15
*** FILES
26
 
    Describe plugin directory
27
 
*** DIAGNOSTICS
28
 
    Create this section
 
16
    Text needed
29
17
*** SECURITY
30
 
    Create this section
 
18
    Text needed
31
19
*** NOTES
32
 
    Create this section (if needed)
 
20
    Text needed
33
21
*** BUGS
34
 
    Create this section
 
22
    Text needed
35
23
*** 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>]]
 
24
    Explaining test on what you can read
 
25
** Use asprintf instead of malloc and strcat?
39
26
** use strsep instead of strtok?
40
27
** use config file in addition to arguments
41
28
** 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.
 
29
** Keydir move: /etc/mandos -> /etc/keys/mandos
 
30
   Must create in preinst if not pre-depending on cryptsetup
45
31
 
46
32
* Password-request
47
33
** [#A] Man page: man8/password-request.8mandos
48
 
*** SYNOPSIS
49
 
    Needs options listed, not just "[OPTION...]"
 
34
** [#B] Temporarily lower kernel log level
 
35
   for less printouts during sucessfull boot.
50
36
*** DESCRIPTION
51
37
    Move options to new OPTIONS section.
52
38
    State that this command is not meant to be invoked directly, but
70
56
    Create this section
71
57
*** SEE ALSO
72
58
    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]]
 
59
** Use asprintf instead of malloc and memcpy?
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