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