/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

« back to all changes in this revision

Viewing changes to TODO

* plugin-runner.c (add_to_char_array): Added "nonnull" attribute.
  (add_argument): Added "nonnull" attribute on the "arg" argument.
  (add_environment): Added "nonnull" attribute on the "def" argument.
  (print_out_password, free_plugin): Added "nonnull" attribute.
  (main/parse_opt): Added "nonnull" attribute on the "state" argument.
* plugins.d/mandos-client.c (perror_plus): Bug fix; restore errno
                                           after fprintf().
* plugins.d/password-prompt.c (fprintf_plus): New.
 (conflict_detection/is_plymouth, main/parse_opt): Added "nonnull"
                                                   attribute.
 (conflict_detection/is_plymouth, conflict_detection, main): Bug fix;
                                                             Call
                                                             error_plus()
                                                             instead
                                                             of
                                                             error().
  (main/parse_opt): Added "nonnull" attribute on the "state" argument.
* plugins.d/plymouth.c (exec_and_wait): Added "nonnull" attribute on
                                        the "path" and "argv"
                                        arguments.
  (is_plymouth): Added "nonnull" attribute.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
12
12
** TODO [#B] Use getnameinfo(serv=NULL, NI_NUMERICHOST) instead of inet_ntop()
13
13
** TODO [#B] Prefer /run/tmp over /tmp, if it exists
14
 
** TODO [#B] Use in_port_t instead of uint16_t for port numbers.
15
14
 
16
15
* splashy
17
16
** TODO [#B] use scandir(3) instead of readdir(3)
40
39
** TODO [#B] Use openat()
41
40
 
42
41
* mandos (server)
 
42
** TODO Document why we ignore sigint
43
43
** TODO [#B] Log level                                                    :BUGS:
44
44
*** TODO /etc/mandos/clients.d/*.conf
45
45
    Watch this directory and add/remove/update clients?
48
48
   SetLogLevel D-Bus call
49
49
** TODO Implement --foreground                                            :BUGS:
50
50
   [[info:standards:Option%20Table][Table of Long Options]]
 
51
** TODO Implement --socket
 
52
   [[info:standards:Option%20Table][Table of Long Options]]
51
53
** TODO [#C] DBusServiceObjectUsingSuper
52
54
** TODO [#B] Global enable/disable flag
53
55
** TODO [#B] By-client countdown on number of secrets given
54
56
** TODO [#B] Support RFC 3339 time duration syntax
55
 
** D-Bus Client method NeedsPassword(50) - Timeout, default disapprove
 
57
** More D-Bus methods
 
58
*** NeedsPassword(50) - Timeout, default disapprove
56
59
    + SetPass(u"gazonk", True) -> Approval, persistent
57
60
    + Approve(False) -> Close client connection immediately
58
61
** TODO [#C] python-parsedatetime
66
69
** TODO Allow %%(checker)s as a runtime expansion
67
70
** TODO Use python-tlslite?
68
71
** TODO D-Bus AddClient() method on server object
69
 
** TODO Use org.freedesktop.DBus.Method.NoReply annotation on async methods.
70
 
** TODO Emit [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-properties][org.freedesktop.DBus.Properties.PropertiesChanged]] signal
71
 
   TODO Deprecate se.recompile.Mandos.Client.PropertyChanged - annotate!
72
 
   TODO Can use "invalidates" annotation to also emit on changed secret.
73
 
** TODO Support [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager][org.freedesktop.DBus.ObjectManager]] interface on server object
74
 
   Deprecate methods GetAllClients(), GetAllClientsWithProperties()
75
 
   and signals ClientAdded and ClientRemoved.
76
 
** TODO Save state periodically to recover better from hard shutdowns
77
 
** TODO CheckerCompleted method, deprecate CheckedOK
78
 
** TODO Secret Service API?
79
 
   http://standards.freedesktop.org/secret-service/
80
72
 
81
73
* mandos.xml
82
74
** Add mandos contact info in manual pages
85
77
*** Handle "no D-Bus server" and/or "no Mandos server found" better
86
78
*** [#B] --dump option
87
79
** TODO Support RFC 3339 time duration syntax
 
80
** TODO Send milliseconds if bare integer is passed as time duration
88
81
 
89
82
* TODO mandos-dispatch
90
83
  Listens for specified D-Bus signals and spawns shell commands with
95
88
** Urwid client data displayer
96
89
   Better view of client data in the listing
97
90
*** Properties popup
98
 
** Print a nice "We are sorry" message, save stack trace to log.
 
91
** Nicer crashes. Stack traces Messes up shell.
 
92
*** Print a nice "We are sorry" message, save stack trace to log.
99
93
** Show timeout countdown for approval
100
94
 
101
95
* mandos-keygen