/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-09 15:56:13 UTC
  • mfrom: (24.1.29 mandos)
  • Revision ID: teddy@fukt.bsnet.se-20080809155613-pm1o10yh44nafc0g
Merge.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
-*- org -*-
2
2
 
3
 
* mandos-client
4
 
** TODO [#A] Clean up /tmp directory and take down interface on signal    :test:
5
 
** TODO [#B] use scandir(3) instead of readdir(3)
6
 
** TODO [#B] Prefix all debug output with argv[0]
7
 
 
8
 
* splashy
9
 
** TODO [#A] Re-raise signal received when exiting due to handled signal.
10
 
** TODO [#B] use scandir(3) instead of readdir(3)
11
 
** TODO [#B] Prefix all debug output with argv[0]
12
 
 
13
 
* usplash
14
 
** TODO [#A] Re-raise signal received when exiting due to handled signal.
15
 
** TODO [#B] use scandir(3) instead of readdir(3)
16
 
** TODO [#B] Prefix all debug output with argv[0]
17
 
 
18
 
* password-prompt
19
 
** TODO [#B] Prefix all debug output with argv[0]
20
 
 
21
 
* plugin-runner
22
 
** TODO [#A] Do not handle ignored signals
23
 
** TODO [#B] use scandir(3) instead of readdir(3)
24
 
** TODO [#C] use same file name rules as run-parts(8)
25
 
 
26
 
* mandos (server)
27
 
** TODO [#B] Log level                          :BUGS:
28
 
** TODO /etc/mandos/clients.d/*.conf
 
3
* [#A] README file
 
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
** [#B] Fix %d format strings to use [[https://secure.wikimedia.org/wikipedia/en/wiki/Inttypes.h][<inttypes.h>]]
 
11
** use strsep instead of strtok?
 
12
** use config file in addition to arguments
 
13
** pass things in environment, like device name, etc
 
14
 
 
15
* Password-request
 
16
** [#A] Man page: man8/password-request.8mandos
 
17
** [#B] Fix %d format strings to use [[https://secure.wikimedia.org/wikipedia/en/wiki/Inttypes.h][<inttypes.h>]]
 
18
** start_mandos_communication: loop around gnutls_handshake
 
19
   [[info:gnutls.info.gz:Core%20functions][gnutls_handshake]]
 
20
** IPv4 support
 
21
** use strsep instead of strtok?
 
22
** Do not depend on GPG key rings on disk
 
23
   This would mean creating new GPG key rings with GPGME by importing
 
24
   the key files from scratch on every program start.
 
25
 
 
26
* Password-prompt
 
27
** [#A] Man page: man8/password-prompt.8mandos
 
28
** Use getpass(3)?
 
29
   Man page says "obsolete", but [[info:libc:getpass][GNU LibC Manual: Reading Passwords]]
 
30
   does not.  See also [[http://sources.redhat.com/ml/libc-alpha/2003-05/msg00251.html][Marcus Brinkmann: Re: getpass obsolete?]] and
 
31
   [[http://article.gmane.org/gmane.comp.lib.glibc.alpha/4906][Petter Reinholdtsen: Re: getpass obsolete?]], and especially also
 
32
   [[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?]]
 
33
 
 
34
* Server
 
35
** [#A] Command man page: man8/mandos.8
 
36
** [#A] Config file man page: man5/mandos.conf (mandos.conf)
 
37
** [#A] Config file man page: man5/mandos-clients.conf (clients.conf)
 
38
** [#A] /etc/init.d/mandos-server               :teddy:
 
39
** Log level
 
40
** /etc/mandos/clients.d/*.conf
29
41
   Watch this directory and add/remove/update clients?
30
 
** TODO config for TXT record
31
 
** TODO [#B] Run-time communication with server :BUGS:
 
42
** config for TXT record
 
43
** Run-time communication with server
32
44
   Probably using D-Bus
33
 
*** Client class
34
 
*** Main server
35
 
    + SetLogLevel
36
 
      syslogger.setLevel(logging.WARNING)
37
 
    + [[http://log.ometer.com/2007-05.html][Best D-Bus practices]]
38
 
** TODO Implement --foreground                  :BUGS:
39
 
   [[info:standards:Option%20Table][Table of Long Options]]
40
 
** TODO Implement --socket
41
 
   [[info:standards:Option%20Table][Table of Long Options]]
42
 
** TODO Date+time on console log messages       :BUGS:
43
 
   Is this the default?
44
 
** TODO Split IPv6_TCPServer into a generic and Mandos-specific class
45
 
** TODO move handle_ipc out of IPv6_TCPServer
46
 
** TODO DBusServiceObjectUsingSuper
47
 
** Global enable/disable flag
48
 
** By-client countdown on secrets given
49
 
 
50
 
* mandos.xml
51
 
** [[file:mandos.xml::XXX][Document D-Bus interface]]
52
 
 
53
 
* Provide and install /etc/dbus-1/system.d/mandos.conf
54
 
 
55
 
* mandos-ctl
56
 
*** Handle "no D-Bus server" and/or "no Mandos server found" better
57
 
*** [#B] --dump option
58
 
 
59
 
* mandos-name
60
 
** D-Bus mail loop w/ signal receiver
61
 
** Urwid/Newt client data displayer
62
 
*** Urwid scaffolding
63
 
*** Client Widgets
64
 
*** Properties popup
65
 
 
66
 
* mandos-keygen
67
 
** TODO Loop until passwords match when run interactively
68
 
** TODO "--secfile" option
69
 
   Using the "secfile" option instead of "secret"
70
 
** TODO [#B] "--test" option
71
 
   For testing decryption before rebooting.
72
 
 
73
 
* Package
74
 
** /usr/share/initramfs-tools/hooks/mandos
75
 
*** TODO [#C] use same file name rules as run-parts(8)
76
 
*** TODO [#C] Do not install in initrd.img if configured not to.
77
 
    Use "/etc/initramfs-tools/hooksconf.d/mandos"?
78
 
** TODO [#C] /etc/bash_completion.d/mandos
79
 
   From XML sources directly?
 
45
   See also [[*Mandos-tools]]
 
46
** Implement --foreground
 
47
   [[info:standards:Option%20Table][Table of Long Options]]
 
48
** Implement --socket
 
49
   [[info:standards:Option%20Table][Table of Long Options]]
 
50
 
 
51
* Mandos-tools/utilities
 
52
  All of this probably using D-Bus
 
53
** List clients
 
54
** Disable client
 
55
** Enable client
 
56
 
 
57
* Installer
 
58
** [#A] Change initrd.img file to not be publically readable
 
59
   /etc/initramfs-tools/conf.d/mandos
 
60
   UMASK=027
 
61
** [#A] Create /etc/initramfs-tools/hooks/mandos
 
62
   [[file:/usr/share/doc/initramfs-tools/examples/example_hook][Example initramfs-tools hook script]]
 
63
** [#A] Create GPG key ring files in initrd
 
64
** [#A] Create mandos user and group for server
 
65
** [#A] Create /var/run/mandos directory with perm and ownership
 
66
 
 
67
* [[http://en.tldp.org/HOWTO/Software-Release-Practice-HOWTO/][Software Release Practice HOWTO]]
80
68
 
81
69
 
82
70
#+STARTUP: showall