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]]
4
** TODO [#B] use scandir(3) instead of readdir(3)
5
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
6
** TODO use error() instead of perror()
7
** TODO [#B] Retry a server which has a non-definite reply:
8
*** A closed connection during the TLS handshake
23
10
** 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
13
** TODO [#B] use scandir(3) instead of readdir(3)
14
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
15
** TODO use error() instead of perror()
30
* usplash (Deprecated)
31
** TODO [#A] Make it work again
32
18
** TODO [#B] use scandir(3) instead of readdir(3)
19
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
20
** TODO use error() instead of perror()
23
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
24
** TODO use error() instead of perror()
25
** TODO [#B] Drop privileges after opening FIFO.
37
** TODO [#B] lock stdin (with flock()?)
28
** TODO [#B] Prefix all debug output with "Mandos plugin " + program_invocation_short_name
29
** TODO use error() instead of perror()
30
** TODO 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]"
35
** TODO [#B] use scandir(3) instead of readdir(3)
46
36
** TODO [#C] use same file name rules as run-parts(8)
47
** kernel command line option for debug info
37
** TODO use error() instead of perror()
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:
40
** TODO [#B] Log level :BUGS:
41
** TODO /etc/mandos/clients.d/*.conf
42
Watch this directory and add/remove/update clients?
43
** TODO config for TXT record
44
** TODO [#B] Run-time communication with server :BUGS:
49
syslogger.setLevel(logging.WARNING)
50
+ [[http://log.ometer.com/2007-05.html][Best D-Bus practices]]
51
** TODO Implement --foreground :BUGS:
52
[[info:standards:Option%20Table][Table of Long Options]]
53
** TODO Implement --socket
54
[[info:standards:Option%20Table][Table of Long Options]]
55
** TODO Date+time on console log messages :BUGS:
57
** TODO DBusServiceObjectUsingSuper
58
** TODO Global enable/disable flag
59
** TODO By-client countdown on secrets given
60
** TODO Fix problem with fsck taking a really long time
61
Whenever a client successfully gets a secret it could get a
62
one-time timeout boost to allow for an fsck-incurred delay
63
** TODO Delay before client receives key
64
This would give an operator opportunity to cancel the request if
66
** TODO Client manual approval mode
67
A client needs manual approval on the server before it gets the
69
** TODO Persistent state
88
** Add mandos contact info in manual pages
73
** [[file:mandos.xml::XXX][Document D-Bus interface]]
75
* Provide and install /etc/dbus-1/system.d/mandos.conf
91
78
*** Handle "no D-Bus server" and/or "no Mandos server found" better
92
79
*** [#B] --dump option
93
** TODO Remove old string_to_delta format :2:
95
81
* TODO mandos-dispatch
96
82
Listens for specified D-Bus signals and spawns shell commands with
100
** TODO help should be toggleable
86
** D-Bus main loop w/ signal receiver
101
87
** Urwid client data displayer
102
Better view of client data in the listing
103
90
*** Properties popup
104
** Print a nice "We are sorry" message, save stack trace to log.
105
** Rename module "gobject" to "GObject".
93
** TODO Loop until passwords match when run interactively
108
94
** TODO "--secfile" option
109
95
Using the "secfile" option instead of "secret"
110
96
** TODO [#B] "--test" option
111
97
For testing decryption before rebooting.
100
** Implement DEB_BUILD_OPTIONS
101
http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
114
104
** /usr/share/initramfs-tools/hooks/mandos
115
105
*** TODO [#C] use same file name rules as run-parts(8)