/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: 2009-01-13 01:36:46 UTC
  • Revision ID: teddy@fukt.bsnet.se-20090113013646-1u21ie2oaotcekdz
* plugin-runner.c (main): Use "sscanf" instead of "strtol"; using the
                          correct type instead of casting.
* plugins.d/mandos-cliend.c (main): Detect an empty string when
                                    parsing DH bits and port number.
* plugins.d/splashy.c (main): Use "sscanf" instead of "strtoul"; using
                              the correct type instead of casting.
* plugins.d/usplash.c (main): - '' -

Show diffs side-by-side

added added

removed removed

Lines of Context:
130
130
  on your door and the sudden absence of all the servers in your
131
131
  server room.  Which it does nicely.
132
132
 
 
133
* The Plugin System
 
134
  In the early designs, the mandos-client(8mandos) program (which
 
135
  retrieves a password from the Mandos server) also prompted for a
 
136
  password on the terminal, in case a Mandos server could not be
 
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.
 
144
  
 
145
  Three additional plugins are provided:
 
146
  * usplash(8mandos)
 
147
    This prompts for a password when using usplash(8).
 
148
  * splashy(8mandos)
 
149
    This prompts for a password when using splashy(8).
 
150
  * askpass-fifo(8mandos)
 
151
    To provide compatibility with the "askpass" program from
 
152
    cryptsetup, this plugin listens to the same FIFO as askpass would
 
153
    do.
 
154
  
 
155
  More plugins could easily be written and added by the system
 
156
  administrator; see the section called "WRITING PLUGINS" in
 
157
  plugin-runner(8mandos) to learn the plugin requirements.
 
158
 
133
159
* Copyright
134
160
 
135
 
    Copyright © 2008 Teddy Hogeborn
136
 
                2008 Björn Påhlsson
 
161
    Copyright © 2008,2009 Teddy Hogeborn
 
162
    Copyright © 2008,2009 Björn Påhlsson
137
163
  
138
164
** License:
139
165