/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

todo

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
 
 
22
3
* 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
23
9
** 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".
27
10
 
28
11
* splashy
29
12
** TODO [#B] use scandir(3) instead of readdir(3)
 
13
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
30
14
 
31
 
* usplash (Deprecated)
32
 
** TODO [#A] Make it work again
 
15
* usplash
33
16
** TODO [#B] use scandir(3) instead of readdir(3)
 
17
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
34
18
 
35
19
* askpass-fifo
 
20
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
36
21
** TODO [#B] Drop privileges after opening FIFO.
37
22
 
38
23
* password-prompt
39
 
** TODO [#B] lock stdin (with flock()?)
40
 
 
41
 
* plymouth
42
 
 
43
 
* TODO [#B] passdev
 
24
** TODO [#B] Prefix all debug output with "Mandos plugin " + argv[0]
 
25
 
 
26
* TODO passdev
44
27
 
45
28
* plugin-runner
46
 
** TODO handle printing for errors for plugins
47
 
*** Hook up stderr of plugins, buffer them, and prepend "Mandos Plugin [plugin name]"
48
29
** TODO [#B] use scandir(3) instead of readdir(3)
49
30
** TODO [#C] use same file name rules as run-parts(8)
50
31
** kernel command line option for debug info
51
 
** TODO [#B] Use openat()
52
 
** TODO [#C] Use fnmatch() to look for bad prefixes and suffixes
53
32
 
54
33
* mandos (server)
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)
 
34
** TODO [#B] Log level                          :BUGS:
 
35
** TODO /etc/mandos/clients.d/*.conf
 
36
   Watch this directory and add/remove/update clients?
 
37
** TODO config for TXT record
 
38
** TODO [#B] Run-time communication with server :BUGS:
 
39
   Probably using D-Bus
 
40
*** Client class
 
41
*** Main server
 
42
    + SetLogLevel
 
43
      syslogger.setLevel(logging.WARNING)
 
44
    + [[http://log.ometer.com/2007-05.html][Best D-Bus practices]]
 
45
** TODO Implement --foreground                  :BUGS:
 
46
   [[info:standards:Option%20Table][Table of Long Options]]
 
47
** TODO Implement --socket
 
48
   [[info:standards:Option%20Table][Table of Long Options]]
 
49
** TODO Date+time on console log messages       :BUGS:
 
50
   Is this the default?
 
51
** TODO DBusServiceObjectUsingSuper
 
52
** TODO Global enable/disable flag
 
53
** TODO By-client countdown on secrets given
 
54
** TODO Fix problem with fsck taking a really long time
 
55
   Whenever a client successfully gets a secret it could get a
 
56
   one-time timeout boost to allow for an fsck-incurred delay
 
57
** TODO Delay before client receives key
 
58
   This would give an operator opportunity to cancel the request if
 
59
   desired.
 
60
** TODO Client manual approval mode
 
61
   A client needs manual approval on the server before it gets the
 
62
   secret
 
63
** TODO Persistent state
 
64
   /var/lib/mandos/*
89
65
 
90
66
* mandos.xml
 
67
** [[file:mandos.xml::XXX][Document D-Bus interface]]
91
68
** Add mandos contact info in manual pages
92
69
 
 
70
* Provide and install /etc/dbus-1/system.d/mandos.conf
 
71
 
93
72
* mandos-ctl
94
73
*** Handle "no D-Bus server" and/or "no Mandos server found" better
95
74
*** [#B] --dump option
96
 
** TODO Remove old string_to_delta format                                 :2:
97
75
 
98
76
* TODO mandos-dispatch
99
77
  Listens for specified D-Bus signals and spawns shell commands with
100
78
  arguments.
101
79
 
102
80
* mandos-monitor
103
 
** TODO help should be toggleable
104
 
** Urwid client data displayer
105
 
   Better view of client data in the listing
 
81
** D-Bus mail loop w/ signal receiver
 
82
** Snack/Newt client data displayer
 
83
*** Client Widgets
106
84
*** Properties popup
107
 
** Print a nice "We are sorry" message, save stack trace to log.
108
 
** Rename module "gobject" to "GObject".
109
85
 
110
86
* mandos-keygen
 
87
** TODO Loop until passwords match when run interactively
111
88
** TODO "--secfile" option
112
89
   Using the "secfile" option instead of "secret"
113
90
** TODO [#B] "--test" option
114
91
   For testing decryption before rebooting.
115
92
 
 
93
* Makefile
 
94
** Implement DEB_BUILD_OPTIONS
 
95
   http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
 
96
 
116
97
* Package
117
98
** /usr/share/initramfs-tools/hooks/mandos
118
99
*** TODO [#C] use same file name rules as run-parts(8)
121
102
** TODO [#C] /etc/bash_completion.d/mandos
122
103
   From XML sources directly?
123
104
 
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
 
 
128
105
 
129
106
#+STARTUP: showall