/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: 2015-07-06 20:14:45 UTC
  • Revision ID: teddy@recompile.se-20150706201445-kq3o6qozigmiqsp9
plugin-runner.xml (EXAMPLE): Use the /usr/lib/<arch> directory.
                             Also explain used options in order.

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]] [[https://news.ycombinator.com/item?id=9661349][On undoing, fixing, or removing commits in git]]
 
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
* mandos-client
 
23
** TODO [#A] --dh-params=FILE
 
24
** TODO [#B] Use capabilities instead of seteuid().
 
25
   https://forums.grsecurity.net/viewtopic.php?f=7&t=2522
 
26
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
 
27
** TODO [#C] Make start_mandos_communication() take "struct server".
 
28
** TODO [#C] --interfaces=regex,eth*,noregex (bridge-utils-interfaces(5))
 
29
** TODO [#C] Remove code for GNU libc < 2.15
 
30
 
 
31
* splashy
 
32
** TODO [#B] use scandir(3) instead of readdir(3)
 
33
 
 
34
* usplash (Deprecated)
 
35
** TODO [#A] Make it work again
 
36
** TODO [#B] use scandir(3) instead of readdir(3)
 
37
 
 
38
* askpass-fifo
 
39
 
 
40
* password-prompt
 
41
** TODO [#B] lock stdin (with flock()?)
 
42
 
 
43
* plymouth
 
44
 
 
45
* TODO [#B] passdev
 
46
 
3
47
* plugin-runner
4
 
 
5
 
* password-request
6
 
** [#B] Temporarily lower kernel log level
7
 
   for less printouts during sucessfull boot.
8
 
** IPv4 support
9
 
** use strsep instead of strtok?
10
 
** Do not depend on GnuPG key rings on disk
11
 
   This would mean creating new GnuPG key rings with GPGME by
12
 
   importing the key files from scratch on every program start.
13
 
** Keydir move: /etc/mandos -> /etc/keys/mandos
14
 
   Must create in preinst if not pre-depending on cryptsetup
15
 
 
16
 
* password-prompt
 
48
** TODO handle printing for errors for plugins
 
49
*** Hook up stderr of plugins, buffer them, and prepend "Mandos Plugin [plugin name]"
 
50
** TODO [#C] use same file name rules as run-parts(8)
 
51
** kernel command line option for debug info
 
52
** TODO [#C] Remove code for GNU libc < 2.15
17
53
 
18
54
* mandos (server)
19
 
** [#A] /etc/init.d/mandos-server               :teddy:
20
 
** [#B] Log level                               :bugs:
21
 
** /etc/mandos/clients.d/*.conf
22
 
   Watch this directory and add/remove/update clients?
23
 
** config for TXT record
24
 
** [#B] Run-time communication with server      :bugs:
25
 
   Probably using D-Bus
26
 
   See also [[*Mandos-tools]]
27
 
** Implement --foreground                       :bugs:
28
 
   [[info:standards:Option%20Table][Table of Long Options]]
29
 
** Implement --socket
30
 
   [[info:standards:Option%20Table][Table of Long Options]]
31
 
** Date+time on console log messages            :bugs:
32
 
   Is this the default?
33
 
** delete hook when clients fall out by timeout
34
 
 
35
 
* Mandos-tools/utilities
36
 
  All of this probably using D-Bus
37
 
** List clients
38
 
** Disable client
39
 
** Enable client
40
 
** Reboot timer
41
 
 
42
 
* Man pages
43
 
** Use xinclude for common sections
44
 
   Like authors, etc.
45
 
 
46
 
 
47
 
* Installer
48
 
** Client-side
49
 
*** Update initrd.img after installation
50
 
    This seems to use some kind of "trigger" system
51
 
    [[file:/usr/share/doc/dpkg/triggers.txt.gz]]
52
 
    dpkg-trigger(1), deb-triggers(5)
53
 
*** Keydir move: /etc/mandos -> /etc/keys/mandos
54
 
    Must create in preinst if not pre-depending on cryptsetup
55
 
*** mandos-keygen
56
 
**** "--passfile" option
57
 
     Using the "secfile" option instead of "secret"
58
 
**** [#A] "--test" option
59
 
     For testing decryption before rebooting.
60
 
** Server-side
61
 
*** [#A] Create mandos user and group for server
62
 
*** [#A] Create /var/run/mandos directory with perm and ownership
63
 
 
64
 
* [#A] Package
 
55
** TODO [#B] Work around Avahi issue
 
56
   Avahi does not announce link-local addresses if any global
 
57
   addresses exist: http://lists.freedesktop.org/archives/avahi/2010-March/001863.html
 
58
** TODO [#B] --notify-command
 
59
   This would allow the mandos.service to use
 
60
   --notify-command="systemd-notify --pid READY=1"
 
61
** TODO [#B] Log level                                                    :BUGS:
 
62
*** TODO /etc/mandos/clients.d/*.conf
 
63
    Watch this directory and add/remove/update clients?
 
64
** TODO [#C] config for TXT record
 
65
** TODO Log level dbus option
 
66
   SetLogLevel D-Bus call
 
67
** TODO [#C] DBusServiceObjectUsingSuper
 
68
** TODO [#B] Global enable/disable flag
 
69
** TODO [#B] By-client countdown on number of secrets given
 
70
** D-Bus Client method NeedsPassword(50) - Timeout, default disapprove
 
71
    + SetPass(u"gazonk", True) -> Approval, persistent
 
72
    + Approve(False) -> Close client connection immediately
 
73
** TODO [#C] python-parsedatetime
 
74
** TODO Separate logging logic to own object
 
75
** TODO [#A] Limit approval_delay to max gnutls/tls timeout value
 
76
** TODO [#B] break the wait on approval_delay if connection dies
 
77
** TODO Generate Client.runtime_expansions from client options + extra
 
78
** TODO Allow %%(checker)s as a runtime expansion
 
79
** TODO Use python-tlslite?
 
80
** TODO D-Bus AddClient() method on server object
 
81
** TODO Use org.freedesktop.DBus.Method.NoReply annotation on async methods. :2:
 
82
** TODO Support [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager][org.freedesktop.DBus.ObjectManager]] interface on server object :2:
 
83
   Deprecate methods GetAllClients(), GetAllClientsWithProperties()
 
84
   and signals ClientAdded and ClientRemoved.
 
85
** TODO Save state periodically to recover better from hard shutdowns
 
86
** TODO CheckerCompleted method, deprecate CheckedOK
 
87
** TODO Secret Service API?
 
88
   http://standards.freedesktop.org/secret-service/
 
89
** TODO Remove D-Bus interfaces with old domain name                      :2:
 
90
** TODO Remove old string_to_delta format                                    :2:
 
91
** TODO http://0pointer.de/blog/projects/stateless.html
 
92
*** tmpfiles snippet to create /var/lib/mandos with right user+perms
 
93
*** File in /usr/lib/sysusers.d to create user+group "_mandos"
 
94
** TODO Error handling on error parsing config files
 
95
** TODO init.d script error handling
 
96
** TODO D-Bus server properties; address, port, interface, etc.              :2:
 
97
** TODO [#C] In Python 3.3, use shlex.quote() instead of re.escape()
 
98
** TODO [#A] USe systemd Type=dbus
 
99
 
 
100
* mandos.xml
 
101
** Add mandos contact info in manual pages
 
102
 
 
103
* mandos-ctl
 
104
*** Handle "no D-Bus server" and/or "no Mandos server found" better
 
105
*** [#B] --dump option
 
106
** TODO Remove old string_to_delta format                                    :2:
 
107
 
 
108
* TODO mandos-dispatch
 
109
  Listens for specified D-Bus signals and spawns shell commands with
 
110
  arguments.
 
111
 
 
112
* mandos-monitor
 
113
** TODO help should be toggleable
 
114
** Urwid client data displayer
 
115
   Better view of client data in the listing
 
116
*** Properties popup
 
117
** Print a nice "We are sorry" message, save stack trace to log.
 
118
** Rename module "gobject" to "GObject".
 
119
 
 
120
* mandos-keygen
 
121
** TODO "--secfile" option
 
122
   Using the "secfile" option instead of "secret"
 
123
** TODO [#B] "--test" option
 
124
   For testing decryption before rebooting.
 
125
 
 
126
* Package
65
127
** /usr/share/initramfs-tools/hooks/mandos
66
 
*** Do not install in initrd.img if configured not to.
67
 
    Use "/etc/initramfs-tools/conf.d/mandos"?  Definitely a debconf
68
 
    question.
69
 
** /etc/bash_completion.d/mandos
 
128
*** TODO [#C] use same file name rules as run-parts(8)
 
129
*** TODO [#C] Do not install in initrd.img if configured not to.
 
130
    Use "/etc/initramfs-tools/hooksconf.d/mandos"?
 
131
** TODO [#C] $(pkg-config --variable=completionsdir bash-completion)
70
132
   From XML sources directly?
71
 
** unperish
72
 
** bzr-builddeb
73
 
 
74
 
* INSTALL file
75
 
 
76
 
* Web site
77
 
 
78
 
* Mailing list
79
 
 
80
 
* Announce project on news
81
 
  [[news:comp.os.linux.announce]]
 
133
 
 
134
* Side Stuff
 
135
** TODO Locate which package moves the other bin/sh when busybox is deactivated
 
136
** TODO contact owner of package, and ask them to have that shell static in position regardless of busybox
82
137
 
83
138
 
84
139
#+STARTUP: showall