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]]
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]]
15
* [[http://www.undeadly.org/cgi?action=article&sid=20110530221728][OpenBSD]]
6
** [#B] Temporarily lower kernel log level
7
for less printouts during sucessfull boot.
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
23
** TODO [#B] Use capabilities instead of seteuid().
24
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
25
** TODO [#C] Make start_mandos_communication() take "struct server".
28
** TODO [#B] use scandir(3) instead of readdir(3)
30
* usplash (Deprecated)
31
** TODO [#A] Make it work again
32
** TODO [#B] use scandir(3) instead of readdir(3)
37
** TODO [#B] lock stdin (with flock()?)
44
** TODO handle printing for errors for plugins
45
*** Hook up stderr of plugins, buffer them, and prepend "Mandos Plugin [plugin name]"
46
** TODO [#C] use same file name rules as run-parts(8)
47
** kernel command line option for debug info
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:
26
See also [[*Mandos-tools]]
27
** Implement --foreground :bugs:
28
[[info:standards:Option%20Table][Table of Long Options]]
30
[[info:standards:Option%20Table][Table of Long Options]]
31
** Date+time on console log messages :bugs:
33
** delete hook when clients fall out by timeout
35
* Mandos-tools/utilities
36
All of this probably using D-Bus
43
** Use xinclude for common sections
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)
54
**** "--passfile" option
55
Using the "secfile" option instead of "secret"
56
**** [#A] "--test" option
57
For testing decryption before rebooting.
59
*** [#A] Create mandos user and group for server
60
*** [#A] Create /var/run/mandos directory with perm and ownership
61
*** [#A] install rc.d script and do update-rc.d
62
between config files and man pages
50
** TODO [#B] Log level :BUGS:
51
*** TODO /etc/mandos/clients.d/*.conf
52
Watch this directory and add/remove/update clients?
53
** TODO [#C] config for TXT record
54
** TODO Log level dbus option
55
SetLogLevel D-Bus call
56
** TODO [#C] DBusServiceObjectUsingSuper
57
** TODO [#B] Global enable/disable flag
58
** TODO [#B] By-client countdown on number of secrets given
59
** D-Bus Client method NeedsPassword(50) - Timeout, default disapprove
60
+ SetPass(u"gazonk", True) -> Approval, persistent
61
+ Approve(False) -> Close client connection immediately
62
** TODO [#C] python-parsedatetime
63
** TODO Separate logging logic to own object
64
** TODO [#A] Limit approval_delay to max gnutls/tls timeout value
65
** TODO [#B] break the wait on approval_delay if connection dies
66
** TODO Generate Client.runtime_expansions from client options + extra
67
** TODO Allow %%(checker)s as a runtime expansion
68
** TODO Use python-tlslite?
69
** TODO D-Bus AddClient() method on server object
70
** TODO Use org.freedesktop.DBus.Method.NoReply annotation on async methods. :2:
71
** TODO Support [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager][org.freedesktop.DBus.ObjectManager]] interface on server object :2:
72
Deprecate methods GetAllClients(), GetAllClientsWithProperties()
73
and signals ClientAdded and ClientRemoved.
74
** TODO Save state periodically to recover better from hard shutdowns
75
** TODO CheckerCompleted method, deprecate CheckedOK
76
** TODO Secret Service API?
77
http://standards.freedesktop.org/secret-service/
78
** TODO Remove D-Bus interfaces with old domain name :2:
79
** TODO Remove old string_to_delta format :2:
80
** TODO http://0pointer.de/blog/projects/stateless.html
81
*** tmpfiles snippet to create /var/lib/mandos with right user+perms
82
*** File in /usr/lib/sysusers.d to create user+group "_mandos"
83
** TODO Error handling on error parsing config files
84
** TODO init.d script error handling
85
** TODO D-Bus server properties; address, port, interface, etc. :2:
88
** Add mandos contact info in manual pages
91
*** Handle "no D-Bus server" and/or "no Mandos server found" better
92
*** [#B] --dump option
93
** TODO Remove old string_to_delta format :2:
95
* TODO mandos-dispatch
96
Listens for specified D-Bus signals and spawns shell commands with
100
** TODO help should be toggleable
101
** Urwid client data displayer
102
Better view of client data in the listing
104
** Print a nice "We are sorry" message, save stack trace to log.
105
** Rename module "gobject" to "GObject".
108
** TODO "--secfile" option
109
Using the "secfile" option instead of "secret"
110
** TODO [#B] "--test" option
111
For testing decryption before rebooting.
66
114
** /usr/share/initramfs-tools/hooks/mandos
67
*** Do not install in initrd.img if configured not to.
68
Use "/etc/initramfs-tools/conf.d/mandos"? Definitely a debconf
70
** /etc/bash_completion.d/mandos
115
*** TODO [#C] use same file name rules as run-parts(8)
116
*** TODO [#C] Do not install in initrd.img if configured not to.
117
Use "/etc/initramfs-tools/hooksconf.d/mandos"?
118
** TODO [#C] /etc/bash_completion.d/mandos
71
119
From XML sources directly?
81
* Announce project on news
82
[[news:comp.os.linux.announce]]
122
** TODO Locate which package moves the other bin/sh when busybox is deactivated
123
** TODO contact owner of package, and ask them to have that shell static in position regardless of busybox
85
126
#+STARTUP: showall