/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: 2012-06-16 23:25:46 UTC
  • Revision ID: teddy@recompile.se-20120616232546-dcrkmnhd4yhq6mvd
* plugins.d/mandos-client (mandos_context): Moved to inside "main()".
                                            All users changed.
  (add_server): Take new "current_server" argument; all callers
                changed.
  (init_gpgme, pgp_packet_decrypt, init_gnutls_global,
  init_gnutls_session, start_mandos_communication,
  avahi_loop_with_timeout): Take new "mc" argument"; all callers
                            changed.
  (resolve_callback, browse_callback): Handle void pointer userdata as
                                       "mc", a pointer to
                                       mandos_context.  All callers
                                       changed.
  (main): New "mc" variable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
-*- org -*-
2
2
 
3
 
* Use _attribute_((nonnull)) wherever possible.
4
 
 
5
3
* [[http://www.undeadly.org/cgi?action=article&sid=20110530221728][OpenBSD]]
6
4
 
7
5
* mandos-applet
12
10
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
13
11
** TODO [#B] Use getnameinfo(serv=NULL, NI_NUMERICHOST) instead of inet_ntop()
14
12
** TODO [#B] Prefer /run/tmp over /tmp, if it exists
 
13
** TODO [#C] Make start_mandos_communication() take "struct server".
15
14
 
16
15
* splashy
17
16
** TODO [#B] use scandir(3) instead of readdir(3)
18
17
 
19
 
* usplash
 
18
* usplash (Deprecated)
20
19
** TODO [#A] Make it work again
21
20
** TODO [#B] use scandir(3) instead of readdir(3)
22
 
** TODO Use [[info:libc:Argz%20Functions][argz_extract]]
23
21
 
24
22
* askpass-fifo
25
23
** TODO [#B] Drop privileges after opening FIFO.
40
38
** TODO [#B] Use openat()
41
39
 
42
40
* mandos (server)
43
 
** TODO [#A] Make all attributes properties!
44
41
** TODO [#B] Log level                                                    :BUGS:
45
 
** TODO Persistent state                                                  :BUGS:
46
 
   /var/lib/mandos/*
47
42
*** TODO /etc/mandos/clients.d/*.conf
48
43
    Watch this directory and add/remove/update clients?
49
44
** TODO [#C] config for TXT record
50
 
** TODO Log level option
51
 
   syslogger.setLevel(logging.WARNING)
52
 
   + SetLogLevel D-Bus call
 
45
** TODO Log level dbus option
 
46
   SetLogLevel D-Bus call
53
47
** TODO Implement --foreground                                            :BUGS:
54
48
   [[info:standards:Option%20Table][Table of Long Options]]
55
 
** TODO Implement --socket
56
 
   [[info:standards:Option%20Table][Table of Long Options]]
57
 
** TODO Date+time on console log messages                                 :BUGS:
58
 
   Is this the default?
59
49
** TODO [#C] DBusServiceObjectUsingSuper
60
50
** TODO [#B] Global enable/disable flag
61
 
** TODO [#B] By-client countdown on secrets given
 
51
** TODO [#B] By-client countdown on number of secrets given
62
52
** TODO [#B] Support RFC 3339 time duration syntax
63
 
** More D-Bus methods
64
 
*** NeedsPassword(50) - Timeout, default disapprove
 
53
** D-Bus Client method NeedsPassword(50) - Timeout, default disapprove
65
54
    + SetPass(u"gazonk", True) -> Approval, persistent
66
55
    + Approve(False) -> Close client connection immediately
67
56
** TODO [#C] python-parsedatetime
68
57
** TODO [#C] systemd/launchd
69
58
   http://0pointer.de/blog/projects/systemd.html
 
59
   http://wiki.debian.org/systemd
70
60
** TODO Separate logging logic to own object
71
 
** TODO make clients to a dict!
72
61
** TODO [#A] Limit approval_delay to max gnutls/tls timeout value
73
62
** TODO [#B] break the wait on approval_delay if connection dies
74
63
** TODO Generate Client.runtime_expansions from client options + extra
75
64
** TODO Allow %%(checker)s as a runtime expansion
76
65
** TODO Use python-tlslite?
 
66
** TODO D-Bus AddClient() method on server object
 
67
** TODO Use org.freedesktop.DBus.Method.NoReply annotation on async methods.
 
68
** TODO Emit [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-properties][org.freedesktop.DBus.Properties.PropertiesChanged]] signal
 
69
   TODO Deprecate se.recompile.Mandos.Client.PropertyChanged - annotate!
 
70
   TODO Can use "invalidates" annotation to also emit on changed secret.
 
71
** TODO Support [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager][org.freedesktop.DBus.ObjectManager]] interface on server object
 
72
   Deprecate methods GetAllClients(), GetAllClientsWithProperties()
 
73
   and signals ClientAdded and ClientRemoved.
 
74
** TODO Save state periodically to recover better from hard shutdowns
 
75
** TODO CheckerCompleted method, deprecate CheckedOK
 
76
** TODO Secret Service API?
 
77
   http://standards.freedesktop.org/secret-service/
77
78
 
78
79
* mandos.xml
79
80
** Add mandos contact info in manual pages
92
93
** Urwid client data displayer
93
94
   Better view of client data in the listing
94
95
*** Properties popup
95
 
** Nicer crashes. Stack traces Messes up shell.
96
 
*** Print a nice "We are sorry" message, save stack trace to log.
 
96
** Print a nice "We are sorry" message, save stack trace to log.
97
97
** Show timeout countdown for approval
98
98
 
99
99
* mandos-keygen
115
115
   From XML sources directly?
116
116
 
117
117
* Side Stuff
118
 
** TODO Locate which packet move the other bin/sh when busy box is deactivated
119
 
** TODO contact owner of packet, and ask them to have that shell static in position regardless of busybox
 
118
** TODO Locate which package moves the other bin/sh when busybox is deactivated
 
119
** TODO contact owner of package, and ask them to have that shell static in position regardless of busybox
120
120
 
121
121
 
122
122
#+STARTUP: showall