/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
 
* 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
 
5
* Mandos-client
 
6
** [#A] Change syntax for arguments
 
7
** [#A] Man page: man8/mandos-client.8mandos
 
8
*** DESCRIPTION
 
9
    Describe the plus sign syntax for passing options from crypttab
10
10
*** EXIT STATUS
11
11
    Text needed
12
12
*** EXAMPLES
13
13
    Examples of normal usage, debug usage, debugging single or all
14
 
    plugins, etc.
 
14
    plugins, examples of crypttab lines with plus syntax, etc.
15
15
*** FILES
16
16
    Text needed
17
17
*** SECURITY
18
18
    Text needed
 
19
*** NOTES
 
20
    Text needed
19
21
*** BUGS
20
22
    Text needed
21
23
*** SEE ALSO
22
 
    Explaining text on what you can read
 
24
    Explaining test on what you can read
 
25
** Use asprintf instead of malloc and strcat?
 
26
** use strsep instead of strtok?
 
27
** use config file in addition to arguments
 
28
** pass things in environment, like device name, etc
23
29
** Keydir move: /etc/mandos -> /etc/keys/mandos
24
30
   Must create in preinst if not pre-depending on cryptsetup
25
31
 
44
50
    Create this section
45
51
*** SECURITY
46
52
    Create this section
 
53
*** NOTES
 
54
    Create this section (if needed)
47
55
*** BUGS
48
56
    Create this section
49
57
*** SEE ALSO
50
58
    Refer to mandos-client(8mandos) and password-prompt(8mandos)
51
 
*** ENVIRONMENT
52
 
    Document use of "cryptsource" and "crypttarget".
 
59
** Use asprintf instead of malloc and memcpy?
53
60
** IPv4 support
54
61
** use strsep instead of strtok?
55
62
** Do not depend on GnuPG key rings on disk
58
65
 
59
66
* Password-prompt
60
67
** [#A] Man page: man8/password-prompt.8mandos
 
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".
61
71
*** DESCRIPTION
62
72
    Move options to new OPTIONS section.
63
 
    Note that this is more or less a simple getpass(3) wrapper, even
64
 
    though actual use of getpass(3) is not guaranteed.
65
73
*** EXIT STATUS
66
74
    Create this section
67
75
*** EXAMPLES
72
80
    Create this section
73
81
    Not much to do here but it is noteworthy to state the danger of
74
82
    not having a fallback option.
 
83
*** NOTES
 
84
    Note that this is more or less a simple getpass(3) wrapper, even
 
85
    though actual use of getpass(3) is not guaranteed.
75
86
*** BUGS
76
87
    Create this section
77
88
*** SEE ALSO
81
92
   does not.  See also [[http://sources.redhat.com/ml/libc-alpha/2003-05/msg00251.html][Marcus Brinkmann: Re: getpass obsolete?]] and
82
93
   [[http://article.gmane.org/gmane.comp.lib.glibc.alpha/4906][Petter Reinholdtsen: Re: getpass obsolete?]], and especially also
83
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"?
84
96
 
85
97
* Mandos (server)
86
98
** [#A] Command man page: man8/mandos.8
 
99
*** DESCRIPTION
 
100
    Move options to new OPTIONS section
 
101
*** EXIT STATUS
 
102
    Create this section
 
103
*** EXAMPLES
 
104
    Create this section
 
105
*** FILES
 
106
    Describe briefly that the server gets global settings from
 
107
    mandos.conf and clients from clients.conf, but refer to their man
 
108
    pages for more details.
 
109
*** DIAGNOSTICS
 
110
    Create this section
 
111
*** SECURITY
 
112
    Create this section
 
113
*** NOTES
 
114
    Create this section (if needed)
 
115
*** BUGS
 
116
    Create this section
 
117
*** SEE ALSO
 
118
    Refer to the client man page
87
119
** [#A] Config file man page: man5/mandos.conf (mandos.conf)
88
120
** [#A] Config file man page: man5/mandos-clients.conf (clients.conf)
89
121
** [#A] /etc/init.d/mandos-server               :teddy:
90
 
** [#B] Log level                               :bugs:
 
122
** Log level
91
123
** /etc/mandos/clients.d/*.conf
92
124
   Watch this directory and add/remove/update clients?
93
125
** config for TXT record
94
 
** [#B] Run-time communication with server      :bugs:
 
126
** Run-time communication with server
95
127
   Probably using D-Bus
96
128
   See also [[*Mandos-tools]]
97
 
** Implement --foreground                       :bugs:
 
129
** Implement --foreground
98
130
   [[info:standards:Option%20Table][Table of Long Options]]
99
131
** Implement --socket
100
132
   [[info:standards:Option%20Table][Table of Long Options]]
101
 
** Date+time on console log messages            :bugs:
 
133
** Date+time on console log messages
102
134
   Is this the default?
103
135
 
104
136
* Mandos-tools/utilities
119
151
 
120
152
** mandos-keygen
121
153
*** [#A] Command man page: man8/mandos-keygen.8
122
 
**** EXIT STATUS
123
 
**** FILES
124
 
**** BUGS
125
 
**** EXAMPLES
126
 
**** SECURITY
127
154
*** [#A] Output cut-and-paste ready snippet for clients.conf.
128
155
 
129
156
* [#A] Package
130
157
** /usr/share/initramfs-tools/hooks/mandos
131
 
*** Do not install in initrd.img if configured not to.
 
158
*** Do not install in initrd.img if configured not to
132
159
    Use "/etc/initramfs-tools/conf.d/mandos"?  Definitely a debconf
133
160
    question.
134
161
** /etc/bash_completion.d/mandos
135
 
*** From XML sources directly?
 
162
*** From xml sources directly?
136
163
** unperish
137
164
** bzr-builddeb
138
165