/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: 2014-08-10 14:13:02 UTC
  • Revision ID: teddy@recompile.se-20140810141302-8q1xaaxlh8ho5joz
Emit D-Bus "org.freedesktop.DBus.Properties.PropertiesChanged" signal.

This deprecates the "se.recompile.Mandos.Client.PropertyChanged"
signal.  The new signal also adds support for noticing changes to the
"se.recompile.Mandos.Client.Secret" write-only property.

* mandos (dbus_annotations): Fix usage example in doc string.
  (DBusObjectWithProperties.PropertiesChanged): New; from D-Bus
                                                standard.
  (ClientDBus._interface): Set early instead of later.
  (ClientDBus.notifychangeproperty): Take new "invalidate_only"
                                     parameter, and pass in _interface
                                     as a default keyword argument.
  (ClientDBus.notifychangeproperty/setter): Also emit
                                            PropertiesChanged signal;
                                            emit new value or
                                            invalidation depending on
                                            "invalidate_only".
  (ClientDBus.secret): Apply notifychangeproperty with
                       "invalidate_only=True".
  (ClientDBus._foo): Removed defunct interface annotation.
  (ClientDBus.PropertyChanged): Add annotation; this method is now
                                deprecated.
  (main/MandosDBusService.GetAllClientsWithProperties): Use dictionary
                                                        comprehension.
* DBUS-API (Mandos Client Interface/Signals/PropertyChanged): Removed.
* mandos-monitor: Use standard "PropertiesChanged" signal instead of
                  old signal "PropertyChanged".
  (MandosClientPropertyCache.__init__): Connect to signal
                                        PropertiesChanged instead of
                                        PropertyChanged.
  (MandosClientPropertyCache._property_changed): Removed.
  (MandosClientPropertyCache.property_changed): Renamed to
                                                "properties_changed"
                                                and adapted to new
                                                call signature.
  (MandosClientWidget.properties_changed): - '' -

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
-*- org -*-
2
2
 
3
3
* GIT
4
 
** General: [[https://www.atlassian.com/git/workflows][Git Workflows]], [[http://gitimmersion.com/][Git Immersion]], [[https://news.ycombinator.com/item?id=7036628][Simple git workflow is simple]] [[https://news.ycombinator.com/item?id=9661349][On undoing, fixing, or removing commits in git]]
 
4
** General: [[https://www.atlassian.com/git/workflows][Git Workflows]], [[http://gitimmersion.com/][Git Immersion]], [[https://news.ycombinator.com/item?id=7036628][Simple git workflow is simple]]
5
5
** Intro: [[http://www.eyrie.org/~eagle/notes/debian/git.html#combine][Using Git for Debian Packaging]]
6
6
** Use: [[https://honk.sigxcpu.org/piki/projects/git-buildpackage/][git-buildpackage]]
7
7
** Migration
21
21
 
22
22
* mandos-client
23
23
** TODO [#B] Use capabilities instead of seteuid().
24
 
   https://forums.grsecurity.net/viewtopic.php?f=7&t=2522
25
24
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
26
25
** TODO [#C] Make start_mandos_communication() take "struct server".
27
 
** TODO [#C] --interfaces=regex,eth*,noregex (bridge-utils-interfaces(5))
28
 
** TODO [#C] Remove code for GNU libc < 2.15
29
26
 
30
27
* splashy
31
28
** TODO [#B] use scandir(3) instead of readdir(3)
32
29
 
33
30
* usplash (Deprecated)
34
 
** TODO [#B] Make it work again
 
31
** TODO [#A] Make it work again
35
32
** TODO [#B] use scandir(3) instead of readdir(3)
36
33
 
37
34
* askpass-fifo
48
45
*** Hook up stderr of plugins, buffer them, and prepend "Mandos Plugin [plugin name]"
49
46
** TODO [#C] use same file name rules as run-parts(8)
50
47
** kernel command line option for debug info
51
 
** TODO [#C] Remove code for GNU libc < 2.15
52
48
 
53
49
* mandos (server)
54
 
** TODO [#B] --notify-command
55
 
   This would allow the mandos.service to use
56
 
   --notify-command="systemd-notify --pid READY=1"
57
50
** TODO [#B] Log level                                                    :BUGS:
58
51
*** TODO /etc/mandos/clients.d/*.conf
59
52
    Watch this directory and add/remove/update clients?
68
61
    + Approve(False) -> Close client connection immediately
69
62
** TODO [#C] python-parsedatetime
70
63
** TODO Separate logging logic to own object
71
 
** TODO [#B] Limit approval_delay to max gnutls/tls timeout value
 
64
** TODO [#A] Limit approval_delay to max gnutls/tls timeout value
72
65
** TODO [#B] break the wait on approval_delay if connection dies
73
66
** TODO Generate Client.runtime_expansions from client options + extra
74
67
** TODO Allow %%(checker)s as a runtime expansion
90
83
** TODO Error handling on error parsing config files
91
84
** TODO init.d script error handling
92
85
** TODO D-Bus server properties; address, port, interface, etc.              :2:
93
 
** TODO [#C] In Python 3.3, use shlex.quote() instead of re.escape()
94
86
 
95
87
* mandos.xml
96
88
** Add mandos contact info in manual pages
123
115
*** TODO [#C] use same file name rules as run-parts(8)
124
116
*** TODO [#C] Do not install in initrd.img if configured not to.
125
117
    Use "/etc/initramfs-tools/hooksconf.d/mandos"?
126
 
** TODO [#C] $(pkg-config --variable=completionsdir bash-completion)
 
118
** TODO [#C] /etc/bash_completion.d/mandos
127
119
   From XML sources directly?
128
120
 
129
121
* Side Stuff