/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: 2010-01-01 15:17:12 UTC
  • Revision ID: teddy@fukt.bsnet.se-20100101151712-x20p42nhuvf9lxol
Bug fix: mandos-client needs GnuPG but lacked a dependency on it.  The
Mandos server, on the other hand, did not need GnuPG but declared an
incorrect dependency on it.

* debian/control (Package: mandos/Depends): Removed "gnupg (< 2)".
  (Package: mandos-client/Depends): Added "gnupg (<< 2)".

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
-*- org -*-
2
2
 
3
 
* [[http://www.undeadly.org/cgi?action=article&sid=20110530221728][OpenBSD]]
4
 
 
5
 
* mandos-applet
6
 
 
7
3
* mandos-client
 
4
** TODO [#B] use scandir(3) instead of readdir(3)
 
5
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
6
** TODO use error() instead of perror()
 
7
** TODO [#B] Retry a server which has a non-definite reply:
 
8
*** A closed connection during the TLS handshake
 
9
*** A TCP timeout
8
10
** TODO [#B] Use capabilities instead of seteuid().
9
 
** TODO [#B] Use struct sockaddr_storage instead of a union
10
 
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
11
 
** TODO [#B] Use getnameinfo(serv=NULL, NI_NUMERICHOST) instead of inet_ntop()
12
 
** TODO [#B] Prefer /run/tmp over /tmp, if it exists
13
 
** TODO [#C] Make start_mandos_communication() take "struct server".
 
11
** TODO [#A] Retry --connect forever
14
12
 
15
13
* splashy
16
14
** TODO [#B] use scandir(3) instead of readdir(3)
 
15
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
16
** TODO [#B] use error() instead of perror()
17
17
 
18
 
* usplash (Deprecated)
 
18
* usplash
19
19
** TODO [#A] Make it work again
20
20
** TODO [#B] use scandir(3) instead of readdir(3)
 
21
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
22
** TODO [#B] use error() instead of perror()
21
23
 
22
24
* askpass-fifo
 
25
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
26
** TODO [#B] use error() instead of perror()
23
27
** TODO [#B] Drop privileges after opening FIFO.
24
28
 
25
29
* password-prompt
 
30
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
 
31
** TODO [#B] use error() instead of perror()
26
32
** TODO [#B] lock stdin (with flock()?)
27
33
 
28
 
* plymouth
29
 
 
30
34
* TODO [#B] passdev
31
35
 
32
36
* plugin-runner
33
 
** TODO handle printing for errors for plugins
34
 
*** Hook up stderr of plugins, buffer them, and prepend "Mandos Plugin [plugin name]"
35
37
** TODO [#B] use scandir(3) instead of readdir(3)
36
38
** TODO [#C] use same file name rules as run-parts(8)
37
 
** kernel command line option for debug info
38
 
** TODO [#B] Use openat()
 
39
** TODO [#B] use error() instead of perror()
39
40
 
40
41
* mandos (server)
41
42
** TODO [#B] Log level                                                    :BUGS:
 
43
** TODO Persistent state                                                  :BUGS:
 
44
   /var/lib/mandos/*
42
45
*** TODO /etc/mandos/clients.d/*.conf
43
46
    Watch this directory and add/remove/update clients?
44
47
** TODO [#C] config for TXT record
45
 
** TODO Log level dbus option
46
 
   SetLogLevel D-Bus call
 
48
** TODO Log level option
 
49
   syslogger.setLevel(logging.WARNING)
 
50
   + SetLogLevel D-Bus call
 
51
** TODO Implement --foreground                                            :BUGS:
 
52
   [[info:standards:Option%20Table][Table of Long Options]]
 
53
** TODO Implement --socket
 
54
   [[info:standards:Option%20Table][Table of Long Options]]
 
55
** TODO Date+time on console log messages                                 :BUGS:
 
56
   Is this the default?
47
57
** TODO [#C] DBusServiceObjectUsingSuper
48
58
** TODO [#B] Global enable/disable flag
49
 
** TODO [#B] By-client countdown on number of secrets given
50
 
** D-Bus Client method NeedsPassword(50) - Timeout, default disapprove
51
 
    + SetPass(u"gazonk", True) -> Approval, persistent
52
 
    + Approve(False) -> Close client connection immediately
53
 
** TODO [#C] python-parsedatetime
54
 
** TODO [#C] systemd/launchd
55
 
   http://0pointer.de/blog/projects/systemd.html
56
 
   http://wiki.debian.org/systemd
57
 
** TODO Separate logging logic to own object
58
 
** TODO [#A] Limit approval_delay to max gnutls/tls timeout value
59
 
** TODO [#B] break the wait on approval_delay if connection dies
60
 
** TODO Generate Client.runtime_expansions from client options + extra
61
 
** TODO Allow %%(checker)s as a runtime expansion
62
 
** TODO Use python-tlslite?
63
 
** TODO D-Bus AddClient() method on server object
64
 
** TODO Use org.freedesktop.DBus.Method.NoReply annotation on async methods.
65
 
** TODO Emit [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-properties][org.freedesktop.DBus.Properties.PropertiesChanged]] signal
66
 
   TODO Deprecate se.recompile.Mandos.Client.PropertyChanged - annotate!
67
 
   TODO Can use "invalidates" annotation to also emit on changed secret.
68
 
** TODO Support [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager][org.freedesktop.DBus.ObjectManager]] interface on server object
69
 
   Deprecate methods GetAllClients(), GetAllClientsWithProperties()
70
 
   and signals ClientAdded and ClientRemoved.
71
 
** TODO Save state periodically to recover better from hard shutdowns
72
 
** TODO CheckerCompleted method, deprecate CheckedOK
73
 
** TODO Secret Service API?
74
 
   http://standards.freedesktop.org/secret-service/
 
59
** TODO [#B] By-client countdown on secrets given
 
60
** TODO [#B] Fix problem with fsck taking a really long time
 
61
   Whenever a client successfully gets a secret it could get a
 
62
   one-time timeout boost to allow for an fsck-incurred delay
 
63
** TODO [#A] Delay before client receives key
 
64
   This would give an operator opportunity to cancel the request if
 
65
   desired.
 
66
** TODO [#A] Client manual approval mode
 
67
   A client needs manual approval on the server before it gets the
 
68
   secret
 
69
** TODO [#B] Support RFC 3339 time duration syntax
75
70
 
76
71
* mandos.xml
77
 
** Add mandos contact info in manual pages
 
72
** [[file:mandos.xml::XXX][Document D-Bus interface]]
 
73
   Remove mention of lack of such interface in BUGS section
 
74
 
 
75
* TODO [#A] Provide and install /etc/dbus-1/system.d/mandos.conf
78
76
 
79
77
* mandos-ctl
80
78
*** Handle "no D-Bus server" and/or "no Mandos server found" better
81
79
*** [#B] --dump option
 
80
** TODO Support RFC 3339 time duration syntax
82
81
 
83
82
* TODO mandos-dispatch
84
83
  Listens for specified D-Bus signals and spawns shell commands with
85
84
  arguments.
86
85
 
87
86
* mandos-monitor
88
 
** TODO help should be toggleable
89
87
** Urwid client data displayer
90
88
   Better view of client data in the listing
91
89
*** Properties popup
92
 
** Print a nice "We are sorry" message, save stack trace to log.
93
 
** Show timeout countdown for approval
94
90
 
95
91
* mandos-keygen
 
92
** TODO Loop until passwords match when run interactively
96
93
** TODO "--secfile" option
97
94
   Using the "secfile" option instead of "secret"
98
95
** TODO [#B] "--test" option
110
107
** TODO [#C] /etc/bash_completion.d/mandos
111
108
   From XML sources directly?
112
109
 
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
116
 
 
117
110
 
118
111
#+STARTUP: showall