/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-09-18 15:59:05 UTC
  • mfrom: (24.1.179 mandos)
  • Revision ID: teddy@fukt.bsnet.se-20110918155905-ngj2ig0yheralj1s
* DBUS-API: Document new "Expires" and "ExtendedTimeout" properties.
* README: Refer to the installed manual page more simply.
* mandos (Client.extended_timeout, Client.expires): New attributes.
  (Client.extended_timeout_milliseconds): New.
  (Client.__init__, Client.enable, Client.disable): Set new attributes.
  (Client.checked_ok): Take new "timeout" argument.
  (ClientDBus.expires): Transform into a property which sends a D-Bus
                        signal when changed.
  (ClientDBus._datetime_to_dbus): Return empty D-Bus string on None.
                                  All callers changed to use this.

  (ClientDBus.ApprovedByDefault_dbus_property,
  ClientDBus.ApprovalDelay_dbus_property,
  ClientDBus.ApprovalDuration_dbus_property,
  ClientDBus.Host_dbus_property, ClientDBus.Timeout_dbus_property,
  ClientDBus.Interval_dbus_property,
  ClientDBus.Checker_dbus_property): Bug fix: Only send D-Bus signal
                                     if new value is different.
  (ClientDBus.Timeout_dbus_property): Use new "expires" attribute.
  (ClientDBus.Expires_dbus_property,
  ClientDBus.ExtendedTimeout_dbus_property): New D-Bus properties.
  (ClientHandler.handle): Bump time using extended_timeout value.
  (main.client_defaults): Change default values of "timeout" and
                          "interval", added new default value for
                          "extended_timeout".
* mandos-clients.conf.xml (OPTIONS): Changed default values of
                                     "interval" and "timeout".  Add
                                     new "extended_timeout" option.
  (EXAMPLE): Updated default values.
* mandos-ctl: Show new "ExtendedTimeout" D-Bus property and change it
              using new "--extended-timeout" option.
* mandos-ctl.xml (SYNOPSIS, OPTIONS): Document new
                                      "--extended-timeout" option.
* mandos-monitor (MandosClientWidget.update): Use new "Expires" D-Bus
                                              property.
* mandos.xml (DESCRIPTION): Add reference to intro(8mandos) manual
                            page.
  (CHECKING): Refer to the new "extended_timeout" option in
  clients.conf.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
* Use _attribute_((nonnull)) wherever possible.
4
4
 
5
 
* Release critical
6
 
** plymouth.8mandos
 
5
* mandos-applet
7
6
 
8
7
* mandos-client
9
 
** TODO [#B] use scandir(3) instead of readdir(3)
10
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
11
 
** TODO [#B] Retry a server which has a non-definite reply:
12
 
*** A closed connection during the TLS handshake
13
 
*** A TCP timeout
14
8
** TODO [#B] Use capabilities instead of seteuid().
15
 
** TODO [#A] Retry --connect forever
 
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
16
13
 
17
14
* splashy
18
15
** TODO [#B] use scandir(3) instead of readdir(3)
19
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
20
16
 
21
17
* usplash
22
18
** TODO [#A] Make it work again
23
19
** TODO [#B] use scandir(3) instead of readdir(3)
24
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
25
20
** TODO Use [[info:libc:Argz%20Functions][argz_extract]]
26
21
 
27
22
* askpass-fifo
28
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
29
23
** TODO [#B] Drop privileges after opening FIFO.
30
24
 
31
25
* password-prompt
32
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
33
26
** TODO [#B] lock stdin (with flock()?)
34
27
 
35
28
* plymouth
36
 
** TODO Use [[info:libc:Argz%20Functions][argz_extract]]
37
29
 
38
30
* TODO [#B] passdev
39
31
 
40
32
* plugin-runner
 
33
** TODO handle printing for errors for plugins
 
34
*** Hook up stderr of plugins, buffer them, and prepend mandos pluig [plugin name]
41
35
** TODO [#B] use scandir(3) instead of readdir(3)
42
36
** TODO [#C] use same file name rules as run-parts(8)
43
37
** kernel command line option for debug info
44
38
** TODO [#B] Use openat()
45
39
 
46
40
* mandos (server)
 
41
** TODO [#A] Make all attributes properties!
47
42
** TODO [#B] Log level                                                    :BUGS:
48
43
** TODO Persistent state                                                  :BUGS:
49
44
   /var/lib/mandos/*
65
60
** TODO [#B] Fix problem with fsck taking a really long time
66
61
   Whenever a client successfully gets a secret it could get a
67
62
   one-time timeout boost to allow for an fsck-incurred delay
68
 
** TODO [#A] Delay before client receives key
69
 
   This would give an operator opportunity to cancel the request if
70
 
   desired.
71
 
** TODO [#A] Client manual approval mode
72
 
   A client needs manual approval on the server before it gets the
73
 
   secret
74
63
** TODO [#B] Support RFC 3339 time duration syntax
75
64
** More D-Bus methods
76
 
*** NeedsApproval(50, True) -> timeout, default approve
77
 
    Default approval is configurable, but True by default
78
 
    + Approve(True) -> approve sending saved
79
 
    + Approve(False) -> Close client connection immediately
80
65
*** NeedsPassword(50) - Timeout, default disapprove
81
66
    + SetPass(u"gazonk", True) -> Approval, persistent
82
67
    + Approve(False) -> Close client connection immediately
87
72
** TODO make clients to a dict!
88
73
** TODO [#A] Limit approval_delay to max gnutls/tls timeout value
89
74
** TODO [#B] break the wait on approval_delay if connection dies
 
75
** TODO Generate Client.runtime_expansions from client options + extra
 
76
** TODO Allow %%(checker)s as a runtime expansion
 
77
** TODO Use python-tlslite?
90
78
 
91
79
* mandos.xml
92
80
** Add mandos contact info in manual pages
101
89
  arguments.
102
90
 
103
91
* mandos-monitor
104
 
** TODO help should be toggable
 
92
** TODO help should be toggleable
105
93
** Urwid client data displayer
106
94
   Better view of client data in the listing
107
95
*** Properties popup
108
96
** Nicer crashes. Stack traces Messes up shell.
109
97
*** Print a nice "We are sorry" message, save stack trace to log.
 
98
** Show timeout countdown for approval
110
99
 
111
100
* mandos-keygen
112
 
** TODO Loop until passwords match when run interactively
113
101
** TODO "--secfile" option
114
102
   Using the "secfile" option instead of "secret"
115
103
** TODO [#B] "--test" option
116
104
   For testing decryption before rebooting.
117
105
 
118
106
* Makefile
119
 
** TODO Add "--Xlinker --as-needed"
120
 
   http://udrepper.livejournal.com/19395.html
121
107
** TODO [#C] Implement DEB_BUILD_OPTIONS
122
108
   http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
123
109