/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

plugin-runner
        Freeing up memory during run-time.

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
 
5
* Plugin-runner
 
6
** [#A] Free plugin name and args
 
7
   [[file:plugin-runner.c::free%20plugin_list][file:plugin-runner.c::free plugin_list]] (both places)
 
8
** [#A] Change syntax for arguments
 
9
** [#B] Add more comments to code
 
10
** [#B] Add more if(debug) calls
 
11
** [#B] Seperate more code to function for more readability
 
12
** [#B] Make free_plugin_list() function
 
13
** [#A] Man page: man8/plugin-runner.8mandos
10
14
*** DESCRIPTION
11
15
    Describe the plus sign syntax for passing options from crypttab
12
16
*** EXIT STATUS
24
28
    Text needed
25
29
*** SEE ALSO
26
30
    Explaining test on what you can read
27
 
** Use asprintf instead of malloc and strcat?
28
 
** use strsep instead of strtok?
29
 
** use config file in addition to arguments
30
 
** pass things in environment, like device name, etc
 
31
** Keydir move: /etc/mandos -> /etc/keys/mandos
 
32
   Must create in preinst if not pre-depending on cryptsetup
31
33
 
32
34
* Password-request
33
35
** [#A] Man page: man8/password-request.8mandos
 
36
** [#B] Temporarily lower kernel log level
 
37
   for less printouts during sucessfull boot.
34
38
*** DESCRIPTION
35
39
    Move options to new OPTIONS section.
36
40
    State that this command is not meant to be invoked directly, but
54
58
    Create this section
55
59
*** SEE ALSO
56
60
    Refer to mandos-client(8mandos) and password-prompt(8mandos)
57
 
** Use asprintf instead of malloc and memcpy?
 
61
*** ENVIRONMENT
 
62
    Document use of "cryptsource" and "crypttarget".
58
63
** IPv4 support
59
64
** use strsep instead of strtok?
60
 
** Do not depend on GPG key rings on disk
61
 
   This would mean creating new GPG key rings with GPGME by importing
62
 
   the key files from scratch on every program start.
 
65
** Do not depend on GnuPG key rings on disk
 
66
   This would mean creating new GnuPG key rings with GPGME by
 
67
   importing the key files from scratch on every program start.
63
68
 
64
69
* Password-prompt
65
70
** [#A] Man page: man8/password-prompt.8mandos
 
71
** Show getenv("cryptsource") and getenv("crypttarget") if set
 
72
   cryptsource will be the device, like "/dev/sda3", and crypttarget
 
73
   will be the device mapper name, like "sda3_crypt".
66
74
*** DESCRIPTION
67
75
    Move options to new OPTIONS section.
68
76
*** EXIT STATUS
87
95
   does not.  See also [[http://sources.redhat.com/ml/libc-alpha/2003-05/msg00251.html][Marcus Brinkmann: Re: getpass obsolete?]] and
88
96
   [[http://article.gmane.org/gmane.comp.lib.glibc.alpha/4906][Petter Reinholdtsen: Re: getpass obsolete?]], and especially also
89
97
   [[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?]]
 
98
** Replace completely with "/lib/cryptsetup/askpass"?
90
99
 
91
100
* Mandos (server)
92
101
** [#A] Command man page: man8/mandos.8
124
133
   [[info:standards:Option%20Table][Table of Long Options]]
125
134
** Implement --socket
126
135
   [[info:standards:Option%20Table][Table of Long Options]]
 
136
** Date+time on console log messages
 
137
   Is this the default?
127
138
 
128
139
* Mandos-tools/utilities
129
140
  All of this probably using D-Bus
132
143
** Enable client
133
144
 
134
145
* Installer
135
 
** DONE [#A] Change initrd.img file to not be publically readable
136
 
   /etc/initramfs-tools/conf.d/mandos
137
 
   UMASK=027
138
 
** Update initrd.img after installation
139
 
** [#A] Create mandos user and group for server
140
 
** [#A] Create /var/run/mandos directory with perm and ownership
 
146
** Client
 
147
*** DONE [#A] Change initrd.img file to not be publically readable
 
148
    /usr/share/initramfs-tools/conf-hooks.d/mandos
 
149
    UMASK=027
 
150
*** Update initrd.img after installation
 
151
** Server
 
152
*** [#A] Create mandos user and group for server
 
153
*** [#A] Create /var/run/mandos directory with perm and ownership
 
154
 
 
155
** mandos-keygen
 
156
*** [#A] Command man page: man8/mandos-keygen.8
 
157
*** [#A] Output cut-and-paste ready snippet for clients.conf.
141
158
 
142
159
* [#A] Package
 
160
** /usr/share/initramfs-tools/hooks/mandos
 
161
*** Do not install in initrd.img if configured not to
 
162
    Use "/etc/initramfs-tools/conf.d/mandos"?  Definitely a debconf
 
163
    question.
143
164
** /etc/bash_completion.d/mandos
144
 
** /etc/initramfs-tools/hooks/mandos
145
 
   [[file:/usr/share/doc/initramfs-tools/examples/example_hook][Example initramfs-tools hook script]]
146
 
*** Create GPG key ring files in initrd
 
165
*** From xml sources directly?
147
166
** unperish
148
167
** bzr-builddeb
149
168