/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

« back to all changes in this revision

Viewing changes to TODO

  • Committer: Teddy Hogeborn
  • Date: 2014-08-09 23:37:07 UTC
  • mto: (237.7.304 trunk)
  • mto: This revision was merged to the branch mainline in revision 323.
  • Revision ID: teddy@recompile.se-20140809233707-6c5qyievp78lnzf1
askpass-fifo: Lower privileges after opening FIFO.

* plugins.d/askpass-fifo.c (main): Lower privileges after opening FIFO.

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
 
3
15
* [[http://www.undeadly.org/cgi?action=article&sid=20110530221728][OpenBSD]]
4
16
 
5
17
* Testing
9
21
 
10
22
* mandos-client
11
23
** TODO [#B] Use capabilities instead of seteuid().
12
 
** TODO [#B] Use struct sockaddr_storage instead of a union
13
24
** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton()
14
 
** TODO [#B] Use getnameinfo(serv=NULL, NI_NUMERICHOST) instead of inet_ntop()
15
 
** TODO [#B] Prefer /run/tmp over /tmp, if it exists
16
25
** TODO [#C] Make start_mandos_communication() take "struct server".
17
26
 
18
27
* splashy
23
32
** TODO [#B] use scandir(3) instead of readdir(3)
24
33
 
25
34
* askpass-fifo
26
 
** TODO [#B] Drop privileges after opening FIFO.
27
35
 
28
36
* password-prompt
29
37
** TODO [#B] lock stdin (with flock()?)
35
43
* plugin-runner
36
44
** TODO handle printing for errors for plugins
37
45
*** Hook up stderr of plugins, buffer them, and prepend "Mandos Plugin [plugin name]"
38
 
** TODO [#B] use scandir(3) instead of readdir(3)
39
46
** TODO [#C] use same file name rules as run-parts(8)
40
47
** kernel command line option for debug info
41
 
** TODO [#B] Use openat()
42
48
 
43
49
* mandos (server)
44
50
** TODO [#B] Log level                                                    :BUGS:
54
60
    + SetPass(u"gazonk", True) -> Approval, persistent
55
61
    + Approve(False) -> Close client connection immediately
56
62
** TODO [#C] python-parsedatetime
57
 
** TODO [#C] systemd/launchd
58
 
   http://0pointer.de/blog/projects/systemd.html
59
 
   http://wiki.debian.org/systemd
60
63
** TODO Separate logging logic to own object
61
64
** TODO [#A] Limit approval_delay to max gnutls/tls timeout value
62
65
** TODO [#B] break the wait on approval_delay if connection dies
65
68
** TODO Use python-tlslite?
66
69
** TODO D-Bus AddClient() method on server object
67
70
** TODO Use org.freedesktop.DBus.Method.NoReply annotation on async methods. :2:
68
 
** TODO Emit [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-properties][org.freedesktop.DBus.Properties.PropertiesChanged]] signal         :2:
 
71
** TODO Emit [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-properties][org.freedesktop.DBus.Properties.PropertiesChanged]] signal            :2:
69
72
   TODO Deprecate se.recompile.Mandos.Client.PropertyChanged - annotate!
70
73
   TODO Can use "invalidates" annotation to also emit on changed secret.
71
74
** TODO Support [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager][org.freedesktop.DBus.ObjectManager]] interface on server object :2:
75
78
** TODO CheckerCompleted method, deprecate CheckedOK
76
79
** TODO Secret Service API?
77
80
   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 --no-zeroconf (only valid if port or socket is set)
 
81
** TODO Remove D-Bus interfaces with old domain name                         :2:
 
82
** TODO Remove old string_to_delta format                                    :2:
 
83
** TODO http://0pointer.de/blog/projects/stateless.html
 
84
*** tmpfiles snippet to create /var/lib/mandos with right user+perms
 
85
*** File in /usr/lib/sysusers.d to create user+group "_mandos"
 
86
** TODO Error handling on error parsing config files
 
87
** TODO init.d script error handling
 
88
** TODO D-Bus server properties; address, port, interface, etc.              :2:
81
89
 
82
90
* mandos.xml
83
91
** Add mandos contact info in manual pages
85
93
* mandos-ctl
86
94
*** Handle "no D-Bus server" and/or "no Mandos server found" better
87
95
*** [#B] --dump option
88
 
** TODO Remove old string_to_delta format                                 :2:
 
96
** TODO Remove old string_to_delta format                                    :2:
89
97
 
90
98
* TODO mandos-dispatch
91
99
  Listens for specified D-Bus signals and spawns shell commands with
105
113
** TODO [#B] "--test" option
106
114
   For testing decryption before rebooting.
107
115
 
108
 
* Makefile
109
 
** TODO [#C] Implement DEB_BUILD_OPTIONS
110
 
   http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options
111
 
 
112
116
* Package
113
117
** /usr/share/initramfs-tools/hooks/mandos
114
118
*** TODO [#C] use same file name rules as run-parts(8)