/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 at bsnet
  • Date: 2011-12-24 23:17:02 UTC
  • Revision ID: teddy@fukt.bsnet.se-20111224231702-1ffgu6r02p0bz9co
* plugins.d/splashy.c (error_plus): Check format string.
* plugins.d/askpass-fifo.c (error_plus): - '' -
* plugins.d/plymouth.c (error_plus): - '' -
* plugins.d/password-prompt.c (error_plus): - '' -
* plugins.d/usplash.c (error_plus): - '' -

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
-*- org -*-
2
2
 
3
 
* GIT
4
 
** General: [[https://www.atlassian.com/git/workflows][Git Workflows]], [[http://gitimmersion.com/][Git Immersion]]
5
 
** Intro: [[http://www.eyrie.org/~eagle/notes/debian/git.html][Using Git for Debian Packaging]]
6
 
** Use: [[https://honk.sigxcpu.org/piki/projects/git-buildpackage/][git-buildpackage]]
7
 
** Migration
8
 
   tailor?
9
 
   Using bzr-fastimport: [[http://www.fusonic.net/en/blog/2013/03/26/migrating-from-bazaar-to-git/][Migrating from Bazaar to Git]]
10
 
** Unresolved: [[http://jameswestby.net/bzr/builddeb/user_manual/split.html][bzr builddeb split mode]]
11
 
   Maybe: [[http://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.import.html#GBP.IMPORT.UPSTREAM.GIT.NOTARBALL>][git-buildpackage - No upstream tarballs]]
 
3
* Use _attribute_((nonnull)) wherever possible.
 
4
* Use __attribute__((pure)) or __attribute__((const)) where possible.
 
5
* Use __attribute__((signal)) on signal handlers.
12
6
 
13
7
* [[http://www.undeadly.org/cgi?action=article&sid=20110530221728][OpenBSD]]
14
8
 
15
 
* Testing
16
 
** python-nemu
17
 
 
18
9
* mandos-applet
19
10
 
20
11
* mandos-client
 
12
** TODO [#A] OpenVPN network hook
 
13
** TODO [#A] Wireless network hook
21
14
** TODO [#B] Use capabilities instead of seteuid().
22
15
** TODO [#B] Use struct sockaddr_storage instead of a union
23
16
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
24
17
** TODO [#B] Use getnameinfo(serv=NULL, NI_NUMERICHOST) instead of inet_ntop()
25
18
** TODO [#B] Prefer /run/tmp over /tmp, if it exists
26
 
** TODO [#C] Make start_mandos_communication() take "struct server".
27
19
 
28
20
* splashy
29
21
** TODO [#B] use scandir(3) instead of readdir(3)
31
23
* usplash (Deprecated)
32
24
** TODO [#A] Make it work again
33
25
** TODO [#B] use scandir(3) instead of readdir(3)
 
26
** TODO Use [[info:libc:Argz%20Functions][argz_extract]]
34
27
 
35
28
* askpass-fifo
36
29
** TODO [#B] Drop privileges after opening FIFO.
44
37
 
45
38
* plugin-runner
46
39
** TODO handle printing for errors for plugins
47
 
*** Hook up stderr of plugins, buffer them, and prepend "Mandos Plugin [plugin name]"
 
40
*** Hook up stderr of plugins, buffer them, and prepend mandos pluig [plugin name]
48
41
** TODO [#B] use scandir(3) instead of readdir(3)
49
42
** TODO [#C] use same file name rules as run-parts(8)
50
43
** kernel command line option for debug info
51
44
** TODO [#B] Use openat()
52
45
 
53
46
* mandos (server)
 
47
** TODO Document why we ignore sigint
54
48
** TODO [#B] Log level                                                    :BUGS:
55
49
*** TODO /etc/mandos/clients.d/*.conf
56
50
    Watch this directory and add/remove/update clients?
57
51
** TODO [#C] config for TXT record
58
52
** TODO Log level dbus option
59
53
   SetLogLevel D-Bus call
 
54
** TODO Implement --foreground                                            :BUGS:
 
55
   [[info:standards:Option%20Table][Table of Long Options]]
 
56
** TODO Implement --socket
 
57
   [[info:standards:Option%20Table][Table of Long Options]]
60
58
** TODO [#C] DBusServiceObjectUsingSuper
61
59
** TODO [#B] Global enable/disable flag
62
60
** TODO [#B] By-client countdown on number of secrets given
63
 
** D-Bus Client method NeedsPassword(50) - Timeout, default disapprove
 
61
** TODO [#B] Support RFC 3339 time duration syntax
 
62
** More D-Bus methods
 
63
*** NeedsPassword(50) - Timeout, default disapprove
64
64
    + SetPass(u"gazonk", True) -> Approval, persistent
65
65
    + Approve(False) -> Close client connection immediately
66
66
** TODO [#C] python-parsedatetime
 
67
** TODO [#C] systemd/launchd
 
68
   http://0pointer.de/blog/projects/systemd.html
 
69
   http://wiki.debian.org/systemd
67
70
** TODO Separate logging logic to own object
68
71
** TODO [#A] Limit approval_delay to max gnutls/tls timeout value
69
72
** TODO [#B] break the wait on approval_delay if connection dies
71
74
** TODO Allow %%(checker)s as a runtime expansion
72
75
** TODO Use python-tlslite?
73
76
** TODO D-Bus AddClient() method on server object
74
 
** TODO Use org.freedesktop.DBus.Method.NoReply annotation on async methods. :2:
75
 
** TODO Emit [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-properties][org.freedesktop.DBus.Properties.PropertiesChanged]] signal         :2:
76
 
   TODO Deprecate se.recompile.Mandos.Client.PropertyChanged - annotate!
77
 
   TODO Can use "invalidates" annotation to also emit on changed secret.
78
 
** TODO Support [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager][org.freedesktop.DBus.ObjectManager]] interface on server object :2:
79
 
   Deprecate methods GetAllClients(), GetAllClientsWithProperties()
80
 
   and signals ClientAdded and ClientRemoved.
81
 
** TODO Save state periodically to recover better from hard shutdowns
82
 
** TODO CheckerCompleted method, deprecate CheckedOK
83
 
** TODO Secret Service API?
84
 
   http://standards.freedesktop.org/secret-service/
85
 
** TODO Remove D-Bus interfaces with old domain name                      :2:
86
 
** TODO Remove old string_to_delta format                                 :2:
87
 
** TODO --no-zeroconf (only valid if port or socket is set)
88
77
 
89
78
* mandos.xml
90
79
** Add mandos contact info in manual pages
92
81
* mandos-ctl
93
82
*** Handle "no D-Bus server" and/or "no Mandos server found" better
94
83
*** [#B] --dump option
95
 
** TODO Remove old string_to_delta format                                 :2:
 
84
** TODO Support RFC 3339 time duration syntax
 
85
** TODO Send milliseconds if bare integer is passed as time duration
96
86
 
97
87
* TODO mandos-dispatch
98
88
  Listens for specified D-Bus signals and spawns shell commands with
103
93
** Urwid client data displayer
104
94
   Better view of client data in the listing
105
95
*** Properties popup
106
 
** Print a nice "We are sorry" message, save stack trace to log.
107
 
** Rename module "gobject" to "GObject".
 
96
** Nicer crashes. Stack traces Messes up shell.
 
97
*** Print a nice "We are sorry" message, save stack trace to log.
 
98
** Show timeout countdown for approval
108
99
 
109
100
* mandos-keygen
110
101
** TODO "--secfile" option