/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: 2011-11-29 20:58:01 UTC
  • mto: (518.1.13 mandos-persistent)
  • mto: This revision was merged to the branch mainline in revision 524.
  • Revision ID: teddy@recompile.se-20111129205801-oufxx7hwq0nq2zau
* mandos (main): Bug fix: Syntax fix when restoring settings.

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
* [[http://www.undeadly.org/cgi?action=article&sid=20110530221728][OpenBSD]]
 
6
 
 
7
* mandos-applet
 
8
 
 
9
* mandos-client
 
10
** TODO [#B] Use capabilities instead of seteuid().
 
11
** TODO [#B] Use struct sockaddr_storage instead of a union
 
12
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
 
13
** TODO [#B] Use getnameinfo(serv=NULL, NI_NUMERICHOST) instead of inet_ntop()
 
14
** TODO [#B] Prefer /run/tmp over /tmp, if it exists
 
15
 
 
16
* splashy
 
17
** TODO [#B] use scandir(3) instead of readdir(3)
 
18
 
 
19
* usplash (Deprecated)
 
20
** TODO [#A] Make it work again
 
21
** TODO [#B] use scandir(3) instead of readdir(3)
 
22
** TODO Use [[info:libc:Argz%20Functions][argz_extract]]
 
23
 
 
24
* askpass-fifo
 
25
** TODO [#B] Drop privileges after opening FIFO.
 
26
 
 
27
* password-prompt
 
28
** TODO [#B] lock stdin (with flock()?)
 
29
 
 
30
* plymouth
 
31
 
 
32
* TODO [#B] passdev
 
33
 
3
34
* 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
 
35
** TODO handle printing for errors for plugins
 
36
*** Hook up stderr of plugins, buffer them, and prepend mandos pluig [plugin name]
 
37
** TODO [#B] use scandir(3) instead of readdir(3)
 
38
** TODO [#C] use same file name rules as run-parts(8)
 
39
** kernel command line option for debug info
 
40
** TODO [#B] Use openat()
17
41
 
18
42
* 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:
32
 
   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
 
43
** TODO [#B] Log level                                                    :BUGS:
 
44
** TODO [#A] Save state to new file and move instead of overwrite
 
45
  
 
46
** TODO [#C] config for TXT record
 
47
** TODO Log level option
 
48
   syslogger.setLevel(logging.WARNING)
 
49
   + SetLogLevel D-Bus call
 
50
** TODO Implement --foreground                                            :BUGS:
 
51
   [[info:standards:Option%20Table][Table of Long Options]]
 
52
** TODO Implement --socket
 
53
   [[info:standards:Option%20Table][Table of Long Options]]
 
54
** TODO [#C] DBusServiceObjectUsingSuper
 
55
** TODO [#B] Global enable/disable flag
 
56
** TODO [#B] By-client countdown on secrets given
 
57
** TODO [#B] Support RFC 3339 time duration syntax
 
58
** More D-Bus methods
 
59
*** NeedsPassword(50) - Timeout, default disapprove
 
60
    + SetPass(u"gazonk", True) -> Approval, persistent
 
61
    + Approve(False) -> Close client connection immediately
 
62
** TODO [#C] python-parsedatetime
 
63
** TODO [#C] systemd/launchd
 
64
   http://0pointer.de/blog/projects/systemd.html
 
65
   http://wiki.debian.org/systemd
 
66
** TODO Separate logging logic to own object
 
67
** TODO [#A] Limit approval_delay to max gnutls/tls timeout value
 
68
** TODO [#B] break the wait on approval_delay if connection dies
 
69
** TODO Generate Client.runtime_expansions from client options + extra
 
70
** TODO Allow %%(checker)s as a runtime expansion
 
71
** TODO Use python-tlslite?
 
72
 
 
73
* mandos.xml
 
74
** Add mandos contact info in manual pages
 
75
 
 
76
* mandos-ctl
 
77
*** Handle "no D-Bus server" and/or "no Mandos server found" better
 
78
*** [#B] --dump option
 
79
** TODO Support RFC 3339 time duration syntax
 
80
** TODO Send milliseconds if bare integer is passed as time duration
 
81
 
 
82
* TODO mandos-dispatch
 
83
  Listens for specified D-Bus signals and spawns shell commands with
 
84
  arguments.
 
85
 
 
86
* mandos-monitor
 
87
** TODO help should be toggleable
 
88
** Urwid client data displayer
 
89
   Better view of client data in the listing
 
90
*** Properties popup
 
91
** Nicer crashes. Stack traces Messes up shell.
 
92
*** Print a nice "We are sorry" message, save stack trace to log.
 
93
** Show timeout countdown for approval
 
94
 
 
95
* mandos-keygen
 
96
** TODO "--secfile" option
 
97
   Using the "secfile" option instead of "secret"
 
98
** TODO [#B] "--test" option
 
99
   For testing decryption before rebooting.
 
100
 
 
101
* Makefile
 
102
** TODO [#C] Implement DEB_BUILD_OPTIONS
 
103
   http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
 
104
 
 
105
* Package
65
106
** /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
 
107
*** TODO [#C] use same file name rules as run-parts(8)
 
108
*** TODO [#C] Do not install in initrd.img if configured not to.
 
109
    Use "/etc/initramfs-tools/hooksconf.d/mandos"?
 
110
** TODO [#C] /etc/bash_completion.d/mandos
70
111
   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]]
 
112
 
 
113
* Side Stuff
 
114
** TODO Locate which package moves the other bin/sh when busybox is deactivated
 
115
** TODO contact owner of package, and ask them to have that shell static in position regardless of busybox
82
116
 
83
117
 
84
118
#+STARTUP: showall