31
32
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
32
33
** TODO [#B] lock stdin (with flock()?)
36
** TODO Use [[info:libc:Argz%20Functions][argz_extract]]
34
38
* TODO [#B] passdev
37
41
** TODO [#B] use scandir(3) instead of readdir(3)
38
42
** TODO [#C] use same file name rules as run-parts(8)
39
43
** kernel command line option for debug info
40
** TODO [#B] Use openat()
44
** TODO [$B] Use openat() and readdir64()
45
http://udrepper.livejournal.com/19395.html
43
48
** TODO [#B] Log level :BUGS:
71
76
** More D-Bus methods
72
77
*** NeedsApproval(50, True) -> timeout, default approve
73
78
Default approval is configurable, but True by default
74
+ Approve(True) -> approve sending saved
75
+ Approve(False) -> Close client connection immediately
79
+ Approval(True) -> approve sending saved
80
+ Approval(False) -> Close client connection immediately
76
81
*** NeedsPassword(50) - Timeout, default disapprove
77
82
+ SetPass(u"gazonk", True) -> Approval, persistent
78
+ Approve(False) -> Close client connection immediately
83
+ Approval(False) -> Close client connection immediately
79
84
** TODO [#C] python-parsedatetime
80
85
** TODO [#C] systemd/launchd
81
86
http://0pointer.de/blog/projects/systemd.html
82
87
** TODO Separate logging logic to own object
83
88
** TODO make clients to a dict!
84
** TODO [#A] Limit approval_delay to max gnutls/tls timeout value
85
** TODO [#B] break the wait on approval_delay if connection dies
86
** TODO Generate Client.runtime_expansions from client options + extra
87
** TODO Allow %%(checker)s as a runtime expansion
89
** TODO [#A] Limit approved_delay to max gnutls/tls timeout value
92
** [[file:mandos.xml::XXX][Document D-Bus interface]]
93
Remove mention of lack of such interface in BUGS section
90
94
** Add mandos contact info in manual pages
96
* TODO [#A] Provide and install /etc/dbus-1/system.d/mandos.conf
93
99
*** Handle "no D-Bus server" and/or "no Mandos server found" better
94
100
*** [#B] --dump option
105
111
*** Properties popup
106
112
** Nicer crashes. Stack traces Messes up shell.
107
113
*** Print a nice "We are sorry" message, save stack trace to log.
108
** Show timeout countdown for approval
111
116
** TODO Loop until passwords match when run interactively