/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

changed from using strtok to strsep

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.
45
29
 
46
30
* Password-request
47
31
** [#A] Man page: man8/password-request.8mandos
48
 
*** SYNOPSIS
49
 
    Needs options listed, not just "[OPTION...]"
 
32
** [#B] Temporarily lower kernel log level
 
33
   for less printouts during sucessfull boot.
50
34
*** DESCRIPTION
51
35
    Move options to new OPTIONS section.
52
36
    State that this command is not meant to be invoked directly, but
70
54
    Create this section
71
55
*** SEE ALSO
72
56
    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]]
 
57
** Use asprintf instead of malloc and memcpy?
76
58
** IPv4 support
77
59
** 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.
 
60
** Do not depend on GnuPG key rings on disk
 
61
   This would mean creating new GnuPG key rings with GPGME by
 
62
   importing the key files from scratch on every program start.
81
63
 
82
64
* Password-prompt
83
65
** [#A] Man page: man8/password-prompt.8mandos
84
 
*** SYNOPSIS
85
 
    Needs options listed, not just "[OPTION...]"
86
66
*** DESCRIPTION
87
67
    Move options to new OPTIONS section.
88
68
*** EXIT STATUS
107
87
   does not.  See also [[http://sources.redhat.com/ml/libc-alpha/2003-05/msg00251.html][Marcus Brinkmann: Re: getpass obsolete?]] and
108
88
   [[http://article.gmane.org/gmane.comp.lib.glibc.alpha/4906][Petter Reinholdtsen: Re: getpass obsolete?]], and especially also
109
89
   [[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?]]
 
90
** Replace completely with "/lib/cryptsetup/askpass"?
110
91
 
111
92
* Mandos (server)
112
93
** [#A] Command man page: man8/mandos.8
113
 
*** SYNOPSIS
114
 
    Needs options listed, not just "[OPTION...]"
115
94
*** DESCRIPTION
116
95
    Move options to new OPTIONS section
117
96
*** EXIT STATUS
146
125
   [[info:standards:Option%20Table][Table of Long Options]]
147
126
** Implement --socket
148
127
   [[info:standards:Option%20Table][Table of Long Options]]
 
128
** Date+time on console log messages
 
129
   Is this the default?
149
130
 
150
131
* Mandos-tools/utilities
151
132
  All of this probably using D-Bus
154
135
** Enable client
155
136
 
156
137
* Installer
157
 
** DONE [#A] Change initrd.img file to not be publically readable
158
 
   /etc/initramfs-tools/conf.d/mandos
159
 
   UMASK=027
160
 
** Update initrd.img after installation
161
 
** [#A] Create mandos user and group for server
162
 
** [#A] Create /var/run/mandos directory with perm and ownership
 
138
** Client
 
139
*** DONE [#A] Change initrd.img file to not be publically readable
 
140
    /usr/share/initramfs-tools/conf-hooks.d/mandos
 
141
    UMASK=027
 
142
*** Update initrd.img after installation
 
143
** Server
 
144
*** [#A] Create mandos user and group for server
 
145
*** [#A] Create /var/run/mandos directory with perm and ownership
 
146
 
 
147
** mandos-keygen
 
148
*** [#A] Command man page: man8/mandos-keygen.8
 
149
*** [#A] Output cut-and-paste ready snippet for clients.conf.
163
150
 
164
151
* [#A] Package
 
152
** /usr/share/initramfs-tools/hooks/mandos
 
153
*** Do not install in initrd.img if configured not to
 
154
    Use "/etc/initramfs-tools/conf.d/mandos"?  Definitely a debconf
 
155
    question.
165
156
** /etc/bash_completion.d/mandos
166
 
** /etc/initramfs-tools/hooks/mandos
167
 
   [[file:/usr/share/doc/initramfs-tools/examples/example_hook][Example initramfs-tools hook script]]
168
 
*** Create GPG key ring files in initrd
 
157
*** From xml sources directly?
 
158
** unperish
 
159
** bzr-builddeb
169
160
 
170
161
* INSTALL file
171
162