/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-03-10 07:04:09 UTC
  • Revision ID: teddy@recompile.se-20140310070409-ho6p1wrnpopi2ny1
White space fix: change "if (" to "if(" in C code.

* plugins.d/askpass-fifo.c (error_plus): White space fix.
* plugins.d/password-prompt.c (error_plus, conflict_detection,
                               main): - '' -
* plugins.d/plymouth.c (error_plus, exec_and_wait, get_pid): - '' -
* plugins.d/splashy.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]], [[https://news.ycombinator.com/item?id=7036628][Simple git workflow is simple]]
 
5
** Intro: [[http://www.eyrie.org/~eagle/notes/debian/git.html#combine][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]]
 
12
   [[http://www.python.org/dev/peps/pep-0374/][PEP 374 - Choosing a distributed VCS for the Python project]]
 
13
   [[http://www.emacswiki.org/emacs/GitForEmacsDevs][Git For Emacs Devs]]
 
14
 
 
15
* [[http://www.undeadly.org/cgi?action=article&sid=20110530221728][OpenBSD]]
 
16
 
 
17
* Testing
 
18
** python-nemu
 
19
 
 
20
* mandos-applet
 
21
 
3
22
* mandos-client
4
 
** TODO [#B] use scandir(3) instead of readdir(3)
5
 
** TODO [#B] Prefix all debug output with argv[0]
6
 
** TODO [#B] Retry a server which has a non-definite reply:
7
 
*** A closed connection during the TLS handshake
8
 
*** A TCP timeout
9
23
** TODO [#B] Use capabilities instead of seteuid().
 
24
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
 
25
** TODO [#B] Prefer /run/tmp over /tmp, if it exists
 
26
** TODO [#C] Make start_mandos_communication() take "struct server".
10
27
 
11
28
* splashy
12
29
** TODO [#B] use scandir(3) instead of readdir(3)
13
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
14
30
 
15
 
* usplash
 
31
* usplash (Deprecated)
 
32
** TODO [#A] Make it work again
16
33
** TODO [#B] use scandir(3) instead of readdir(3)
17
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
18
34
 
19
35
* askpass-fifo
20
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
21
36
** TODO [#B] Drop privileges after opening FIFO.
22
37
 
23
38
* password-prompt
24
 
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
 
39
** TODO [#B] lock stdin (with flock()?)
 
40
 
 
41
* plymouth
 
42
 
 
43
* TODO [#B] passdev
25
44
 
26
45
* plugin-runner
 
46
** TODO handle printing for errors for plugins
 
47
*** Hook up stderr of plugins, buffer them, and prepend "Mandos Plugin [plugin name]"
27
48
** TODO [#B] use scandir(3) instead of readdir(3)
28
49
** TODO [#C] use same file name rules as run-parts(8)
 
50
** kernel command line option for debug info
 
51
** TODO [#B] Use openat()
 
52
** TODO [#C] Use fnmatch() to look for bad prefixes and suffixes
29
53
 
30
54
* mandos (server)
31
 
** TODO [#B] Log level                          :BUGS:
32
 
** TODO /etc/mandos/clients.d/*.conf
33
 
   Watch this directory and add/remove/update clients?
34
 
** TODO config for TXT record
35
 
** TODO [#B] Run-time communication with server :BUGS:
36
 
   Probably using D-Bus
37
 
*** Client class
38
 
*** Main server
39
 
    + SetLogLevel
40
 
      syslogger.setLevel(logging.WARNING)
41
 
    + [[http://log.ometer.com/2007-05.html][Best D-Bus practices]]
42
 
** TODO Implement --foreground                  :BUGS:
43
 
   [[info:standards:Option%20Table][Table of Long Options]]
44
 
** TODO Implement --socket
45
 
   [[info:standards:Option%20Table][Table of Long Options]]
46
 
** TODO Date+time on console log messages       :BUGS:
47
 
   Is this the default?
48
 
** TODO DBusServiceObjectUsingSuper
49
 
** Global enable/disable flag
50
 
** By-client countdown on secrets given
51
 
** Fix problem with fsck taking a really long time
52
 
   Whenever a client successfully gets a secret it could get a
53
 
   one-time timeout boost to allow for an fsck-incurred delay
 
55
** TODO [#B] Log level                                                    :BUGS:
 
56
*** TODO /etc/mandos/clients.d/*.conf
 
57
    Watch this directory and add/remove/update clients?
 
58
** TODO [#C] config for TXT record
 
59
** TODO Log level dbus option
 
60
   SetLogLevel D-Bus call
 
61
** TODO [#C] DBusServiceObjectUsingSuper
 
62
** TODO [#B] Global enable/disable flag
 
63
** TODO [#B] By-client countdown on number of secrets given
 
64
** D-Bus Client method NeedsPassword(50) - Timeout, default disapprove
 
65
    + SetPass(u"gazonk", True) -> Approval, persistent
 
66
    + Approve(False) -> Close client connection immediately
 
67
** TODO [#C] python-parsedatetime
 
68
** TODO Separate logging logic to own object
 
69
** TODO [#A] Limit approval_delay to max gnutls/tls timeout value
 
70
** TODO [#B] break the wait on approval_delay if connection dies
 
71
** TODO Generate Client.runtime_expansions from client options + extra
 
72
** TODO Allow %%(checker)s as a runtime expansion
 
73
** TODO Use python-tlslite?
 
74
** TODO D-Bus AddClient() method on server object
 
75
** TODO Use org.freedesktop.DBus.Method.NoReply annotation on async methods. :2:
 
76
** TODO Emit [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-properties][org.freedesktop.DBus.Properties.PropertiesChanged]] signal         :2:
 
77
   TODO Deprecate se.recompile.Mandos.Client.PropertyChanged - annotate!
 
78
   TODO Can use "invalidates" annotation to also emit on changed secret.
 
79
** TODO Support [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager][org.freedesktop.DBus.ObjectManager]] interface on server object :2:
 
80
   Deprecate methods GetAllClients(), GetAllClientsWithProperties()
 
81
   and signals ClientAdded and ClientRemoved.
 
82
** TODO Save state periodically to recover better from hard shutdowns
 
83
** TODO CheckerCompleted method, deprecate CheckedOK
 
84
** TODO Secret Service API?
 
85
   http://standards.freedesktop.org/secret-service/
 
86
** TODO Remove D-Bus interfaces with old domain name                      :2:
 
87
** TODO Remove old string_to_delta format                                 :2:
 
88
** TODO --no-zeroconf (only valid if port or socket is set)
54
89
 
55
90
* mandos.xml
56
 
** [[file:mandos.xml::XXX][Document D-Bus interface]]
57
 
 
58
 
* Provide and install /etc/dbus-1/system.d/mandos.conf
 
91
** Add mandos contact info in manual pages
59
92
 
60
93
* mandos-ctl
61
94
*** Handle "no D-Bus server" and/or "no Mandos server found" better
62
95
*** [#B] --dump option
 
96
** TODO Remove old string_to_delta format                                 :2:
 
97
 
 
98
* TODO mandos-dispatch
 
99
  Listens for specified D-Bus signals and spawns shell commands with
 
100
  arguments.
63
101
 
64
102
* mandos-monitor
65
 
** D-Bus mail loop w/ signal receiver
66
 
** Snack/Newt client data displayer
67
 
*** Client Widgets
 
103
** TODO help should be toggleable
 
104
** Urwid client data displayer
 
105
   Better view of client data in the listing
68
106
*** Properties popup
 
107
** Print a nice "We are sorry" message, save stack trace to log.
 
108
** Rename module "gobject" to "GObject".
69
109
 
70
110
* mandos-keygen
71
 
** TODO Loop until passwords match when run interactively
72
111
** TODO "--secfile" option
73
112
   Using the "secfile" option instead of "secret"
74
113
** TODO [#B] "--test" option
75
114
   For testing decryption before rebooting.
76
115
 
77
 
* Makefile
78
 
** Implement DEB_BUILD_OPTIONS
79
 
   http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
80
 
 
81
116
* Package
82
117
** /usr/share/initramfs-tools/hooks/mandos
83
118
*** TODO [#C] use same file name rules as run-parts(8)
86
121
** TODO [#C] /etc/bash_completion.d/mandos
87
122
   From XML sources directly?
88
123
 
 
124
* Side Stuff
 
125
** TODO Locate which package moves the other bin/sh when busybox is deactivated
 
126
** TODO contact owner of package, and ask them to have that shell static in position regardless of busybox
 
127
 
89
128
 
90
129
#+STARTUP: showall