/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 README

  • Committer: Teddy Hogeborn
  • Date: 2008-10-03 09:32:30 UTC
  • Revision ID: teddy@fukt.bsnet.se-20081003093230-rshn19e0c19zz12i
* .bzrignore (plugins.d/askpass-fifo): Added.

* Makefile (FORTIFY): Added "-fstack-protector-all".
  (mandos, mandos-keygen): Use more strict regexps when updating the
                           version number.

* mandos (Client.__init__): Use os.path.expandvars() and
                            os.path.expanduser() on the "secfile"
                            config value.

* plugins.d/splashy.c: Update comments and order of #include's.
  (main): Check user and group when looking for running splashy
          process.  Do not ignore ENOENT from execl().  Use _exit()
          instead of "return" when an error happens in child
          processes.  Bug fix: Only wait for splashy_update
          completion if it was started.  Bug fix: detect failing
          waitpid().  Only kill splashy_update if it is running.  Do
          the killing of the old splashy process before the fork().
          Do setsid() and setuid(geteuid()) before starting the new
          splashy.  Report failing execl().

* plugins.d/usplash.c: Update comments and order of #include's.
  (main): Check user and group when looking for running usplash
          process.  Do not report execv() error if interrupted by a
          signal.

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
  In the early designs, the mandos-client(8mandos) program (which
135
135
  retrieves a password from the Mandos server) also prompted for a
136
136
  password on the terminal, in case a Mandos server could not be
137
 
  found.  Other ways of retrieving a password could easily be
138
 
  envisoned, but this multiplicity of purpose was seen to be too
139
 
  complex to be a viable way to continue.  Instead, the original
140
 
  program was separated into mandos-client(8mandos) and
141
 
  password-prompt(8mandos), and a plugin-runner(8mandos) exist to run
142
 
  them both in parallel, allowing the first successful plugin to
143
 
  provide the password.  This opened up for any number of additional
144
 
  plugins to run, all competing to be the first to find a password and
145
 
  provide it to the plugin runner.
 
137
  found.  This duality of purpose was seen to be too complex to be a
 
138
  viable way to continue.  Instead, the programs are now separated
 
139
  into mandos-client(8mandos) and password-prompt(8mandos), and a
 
140
  plugin-runner(8mandos) exist to run them both in parallel, allowing
 
141
  the first plugin to succeed to provide the password.  This opened up
 
142
  for any number of additional plugins to run, all competing to be the
 
143
  first to find a password and provide it to the plugin runner.
146
144
  
147
145
  Three additional plugins are provided:
148
 
  * usplash(8mandos)
 
146
  * usplash
149
147
    This prompts for a password when using usplash(8).
150
 
  * splashy(8mandos)
 
148
  * splashy
151
149
    This prompts for a password when using splashy(8).
152
 
  * askpass-fifo(8mandos)
 
150
  * askpass-fifo
153
151
    To provide compatibility with the "askpass" program from
154
152
    cryptsetup, this plugin listens to the same FIFO as askpass would
155
153
    do.
156
154
  
157
 
  More plugins can easily be written and added by the system
 
155
  (None of these take any options or reads any files.)
 
156
  
 
157
  More plugins could easily be written and added by the system
158
158
  administrator; see the section called "WRITING PLUGINS" in
159
159
  plugin-runner(8mandos) to learn the plugin requirements.
160
160
 
161
161
* Copyright
162
162
 
163
 
    Copyright © 2008,2009 Teddy Hogeborn
164
 
    Copyright © 2008,2009 Björn Påhlsson
 
163
    Copyright © 2008 Teddy Hogeborn
 
164
                2008 Björn Påhlsson
165
165
  
166
166
** License:
167
167