/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 at bsnet
  • Date: 2010-09-09 18:16:14 UTC
  • mfrom: (237.2.35 mandos-empty-device)
  • Revision ID: teddy@fukt.bsnet.se-20100909181614-oanlmvkzsiodbo3c
Merge in branch to interpret an empty device name to mean
"autodetect".

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
-*- org -*-
2
2
 
 
3
* Use _attribute_((nonnull)) wherever possible.
 
4
 
 
5
* mandos-client
 
6
** TODO [#B] use scandir(3) instead of readdir(3)
 
7
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
8
** TODO use error() instead of perror()
 
9
** TODO [#B] Retry a server which has a non-definite reply:
 
10
*** A closed connection during the TLS handshake
 
11
*** A TCP timeout
 
12
** TODO [#B] Use capabilities instead of seteuid().
 
13
** TODO [#A] Retry --connect forever
 
14
 
 
15
* splashy
 
16
** TODO [#B] use scandir(3) instead of readdir(3)
 
17
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
18
** TODO [#B] use error() instead of perror()
 
19
 
 
20
* usplash
 
21
** TODO [#A] Make it work again
 
22
** TODO [#B] use scandir(3) instead of readdir(3)
 
23
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
24
** TODO [#B] use error() instead of perror()
 
25
 
 
26
* askpass-fifo
 
27
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
28
** TODO [#B] use error() instead of perror()
 
29
** TODO [#B] Drop privileges after opening FIFO.
 
30
 
 
31
* password-prompt
 
32
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
33
** TODO [#B] use error() instead of perror()
 
34
** TODO [#B] lock stdin (with flock()?)
 
35
 
 
36
* TODO [#B] passdev
 
37
 
3
38
* plugin-runner
4
 
 
5
 
* password-request
6
 
** [#B] Temporarily lower kernel log level
7
 
   for less printouts during sucessfull boot.
8
 
** IPv4 support
9
 
** use strsep instead of strtok?
10
 
** Do not depend on GnuPG key rings on disk
11
 
   This would mean creating new GnuPG key rings with GPGME by
12
 
   importing the key files from scratch on every program start.
13
 
** Keydir move: /etc/mandos -> /etc/keys/mandos
14
 
   Must create in preinst if not pre-depending on cryptsetup
15
 
 
16
 
* password-prompt
 
39
** TODO [#B] use scandir(3) instead of readdir(3)
 
40
** TODO [#C] use same file name rules as run-parts(8)
 
41
** kernel command line option for debug info
 
42
** TODO [#B] use error() instead of perror()
 
43
** TODO [#B] Use openat()
17
44
 
18
45
* mandos (server)
19
 
** [#A] /etc/init.d/mandos-server               :teddy:
20
 
** [#B] Log level                               :bugs:
21
 
** /etc/mandos/clients.d/*.conf
22
 
   Watch this directory and add/remove/update clients?
23
 
** config for TXT record
24
 
** [#B] Run-time communication with server      :bugs:
25
 
   Probably using D-Bus
26
 
   See also [[*Mandos-tools]]
27
 
** Implement --foreground                       :bugs:
28
 
   [[info:standards:Option%20Table][Table of Long Options]]
29
 
** Implement --socket
30
 
   [[info:standards:Option%20Table][Table of Long Options]]
31
 
** Date+time on console log messages            :bugs:
 
46
** TODO [#B] Log level                                                    :BUGS:
 
47
** TODO Persistent state                                                  :BUGS:
 
48
   /var/lib/mandos/*
 
49
*** TODO /etc/mandos/clients.d/*.conf
 
50
    Watch this directory and add/remove/update clients?
 
51
** TODO [#C] config for TXT record
 
52
** TODO Log level option
 
53
   syslogger.setLevel(logging.WARNING)
 
54
   + SetLogLevel D-Bus call
 
55
** TODO Implement --foreground                                            :BUGS:
 
56
   [[info:standards:Option%20Table][Table of Long Options]]
 
57
** TODO Implement --socket
 
58
   [[info:standards:Option%20Table][Table of Long Options]]
 
59
** TODO Date+time on console log messages                                 :BUGS:
32
60
   Is this the default?
33
 
** delete hook when clients fall out by timeout
34
 
 
35
 
* Mandos-tools/utilities
36
 
  All of this probably using D-Bus
37
 
** List clients
38
 
** Disable client
39
 
** Enable client
40
 
** Reboot timer
41
 
 
42
 
* Man pages
43
 
** Use xinclude for common sections
44
 
   Like authors, etc.
45
 
 
46
 
 
47
 
* Installer
48
 
** Client-side
49
 
*** Update initrd.img after installation
50
 
    This seems to use some kind of "trigger" system
51
 
    [[file:/usr/share/doc/dpkg/triggers.txt.gz]]
52
 
    dpkg-trigger(1), deb-triggers(5)
53
 
*** Keydir move: /etc/mandos -> /etc/keys/mandos
54
 
    Must create in preinst if not pre-depending on cryptsetup
55
 
*** mandos-keygen
56
 
**** "--passfile" option
57
 
     Using the "secfile" option instead of "secret"
58
 
**** [#A] "--test" option
59
 
     For testing decryption before rebooting.
60
 
** Server-side
61
 
*** [#A] Create mandos user and group for server
62
 
*** [#A] Create /var/run/mandos directory with perm and ownership
63
 
 
64
 
* [#A] Package
 
61
** TODO [#C] DBusServiceObjectUsingSuper
 
62
** TODO [#B] Global enable/disable flag
 
63
** TODO [#B] By-client countdown on secrets given
 
64
** TODO [#B] Fix problem with fsck taking a really long time
 
65
   Whenever a client successfully gets a secret it could get a
 
66
   one-time timeout boost to allow for an fsck-incurred delay
 
67
** TODO [#A] Delay before client receives key
 
68
   This would give an operator opportunity to cancel the request if
 
69
   desired.
 
70
** TODO [#A] Client manual approval mode
 
71
   A client needs manual approval on the server before it gets the
 
72
   secret
 
73
** TODO [#B] Support RFC 3339 time duration syntax
 
74
** More D-Bus methods
 
75
*** NeedsApproval(50, True) -> timeout, default approve
 
76
    Default approval is configurable, but True by default
 
77
    + Approve(True) -> approve sending saved
 
78
    + Approve(False) -> Close client connection immediately
 
79
*** NeedsPassword(50) - Timeout, default disapprove
 
80
    + SetPass(u"gazonk", True) -> Approval, persistent
 
81
    + Approve(False) -> Close client connection immediately
 
82
** TODO [#C] python-parsedatetime
 
83
** TODO [#C] systemd/launchd
 
84
   http://0pointer.de/blog/projects/systemd.html
 
85
 
 
86
* mandos.xml
 
87
** [[file:mandos.xml::XXX][Document D-Bus interface]]
 
88
   Remove mention of lack of such interface in BUGS section
 
89
** Add mandos contact info in manual pages
 
90
 
 
91
* TODO [#A] Provide and install /etc/dbus-1/system.d/mandos.conf
 
92
 
 
93
* mandos-ctl
 
94
*** Handle "no D-Bus server" and/or "no Mandos server found" better
 
95
*** [#B] --dump option
 
96
** TODO Support RFC 3339 time duration syntax
 
97
 
 
98
* TODO mandos-dispatch
 
99
  Listens for specified D-Bus signals and spawns shell commands with
 
100
  arguments.
 
101
 
 
102
* mandos-monitor
 
103
** Urwid client data displayer
 
104
   Better view of client data in the listing
 
105
*** Properties popup
 
106
 
 
107
* mandos-keygen
 
108
** TODO Loop until passwords match when run interactively
 
109
** TODO "--secfile" option
 
110
   Using the "secfile" option instead of "secret"
 
111
** TODO [#B] "--test" option
 
112
   For testing decryption before rebooting.
 
113
 
 
114
* Makefile
 
115
** TODO Add "--Xlinker --as-needed"
 
116
   http://udrepper.livejournal.com/19395.html
 
117
** TODO [#C] Implement DEB_BUILD_OPTIONS
 
118
   http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
 
119
 
 
120
* Package
65
121
** /usr/share/initramfs-tools/hooks/mandos
66
 
*** Do not install in initrd.img if configured not to.
67
 
    Use "/etc/initramfs-tools/conf.d/mandos"?  Definitely a debconf
68
 
    question.
69
 
** /etc/bash_completion.d/mandos
 
122
*** TODO [#C] use same file name rules as run-parts(8)
 
123
*** TODO [#C] Do not install in initrd.img if configured not to.
 
124
    Use "/etc/initramfs-tools/hooksconf.d/mandos"?
 
125
** TODO [#C] /etc/bash_completion.d/mandos
70
126
   From XML sources directly?
71
 
** unperish
72
 
** bzr-builddeb
73
 
 
74
 
* INSTALL file
75
 
 
76
 
* Web site
77
 
 
78
 
* Mailing list
79
 
 
80
 
* Announce project on news
81
 
  [[news:comp.os.linux.announce]]
82
127
 
83
128
 
84
129
#+STARTUP: showall