/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-09-19 23:31:34 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080919233134-h56et87wkgisbk85
* mandos-keygen: New "--passfile" option.  Confirm entered password.

* mandos-keygen.xml (SYNOPSIS, OPTIONS): New "--passfile" option.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
* Mandos
4
4
  - Have your cake and eat it too!
5
5
  
6
 
  You know how it is.  You've heard of it happening.  The Man comes
7
 
  and takes away your servers, your friends' servers, the servers of
 
6
  You know how it is.  You’ve heard of it happening.  The Man comes
 
7
  and takes away your servers, your friends’ servers, the servers of
8
8
  everybody in the same hosting facility. The servers of their
9
 
  neighbors, and their neighbors' friends.  The servers of people who
10
 
  owe them money.  And like *that*, they're gone.  And you doubt
11
 
  you'll ever see them again.
 
9
  neighbors, and their neighbors’ friends.  The servers of people who
 
10
  owe them money.  And like *that*, they’re gone.  And you doubt
 
11
  you’ll ever see them again.
12
12
  
13
13
  That is why your servers have encrypted root file systems.  However,
14
 
  there's a downside.  There's no going around it: rebooting is a
 
14
  there’s a downside.  There’s no going around it: rebooting is a
15
15
  pain.  Dragging out that rarely-used keyboard and screen and
16
16
  unraveling cables behind your servers to plug them in to type in
17
17
  that password is messy, especially if you have many servers.  There
23
23
  have to be on hand and manually type in the password at boot time.
24
24
  Otherwise the server just sits there, waiting for a password.
25
25
  
26
 
  Wouldn't it be great if you could have the security of encrypted
 
26
  Wouldn’t it be great if you could have the security of encrypted
27
27
  root file systems and still have servers that could boot up
28
28
  automatically if there was a short power outage while you were
29
29
  asleep?  That you could reboot at will, without having someone run
49
49
  
50
50
  Now, of course the initial RAM disk image is not on the encrypted
51
51
  root file system, so anyone who had physical access could take the
52
 
  server offline and read the disk with their own tools to get the
53
 
  authentication keys used by a client.  *But*, by then the Mandos
54
 
  server should notice that the original server has been offline for
55
 
  too long, and will no longer give out the encrypted key.  The timing
56
 
  here is the only real weak point, and the method, frequency and
57
 
  timeout of the server’s checking can be adjusted to any desired
58
 
  level of paranoia
 
52
  Mandos client computer offline and read the disk with their own
 
53
  tools to get the authentication keys used by a client.  *But*, by
 
54
  then the Mandos server should notice that the original server has
 
55
  been offline for too long, and will no longer give out the encrypted
 
56
  key.  The timing here is the only real weak point, and the method,
 
57
  frequency and timeout of the server’s checking can be adjusted to
 
58
  any desired level of paranoia
59
59
  
60
60
  (The encrypted keys on the Mandos server is on its normal file
61
61
  system, so those are safe, provided the root file system of *that*
69
69
   to do.  An attacker would have to physically disassemble the client
70
70
   computer, extract the key from the initial RAM disk image, and then
71
71
   connect to a *still online* Mandos server to get the encrypted key,
72
 
   all *before* the Mandos server timeout kicks in and the Mandos
73
 
   server refuses to give out the key to anyone.
 
72
   and do all this *before* the Mandos server timeout kicks in and the
 
73
   Mandos server refuses to give out the key to anyone.
74
74
   
75
 
   Now, as the typical SOP seems to be to barge in and turn off and
76
 
   grab *all* computers, to maybe look at them months later, this is
77
 
   not likely.  If someone does that, the whole system *will* lock
 
75
   Now, as the typical procedure seems to be to barge in and turn off
 
76
   and grab *all* computers, to maybe look at them months later, this
 
77
   is not likely.  If someone does that, the whole system *will* lock
78
78
   itself up completely, since Mandos servers are no longer running.
79
79
   
80
80
   For sophisticated attackers who *could* do the clever thing, *and*
129
129
  focused, and competent attacks, but against the early morning knock
130
130
  on your door and the sudden absence of all the servers in your
131
131
  server room.  Which it does nicely.
 
132
 
 
133
* Copyright
 
134
 
 
135
    Copyright © 2008 Teddy Hogeborn
 
136
                2008 Björn Påhlsson
 
137
  
 
138
** License:
 
139
   
 
140
   This program is free software: you can redistribute it and/or
 
141
   modify it under the terms of the GNU General Public License as
 
142
   published by the Free Software Foundation, either version 3 of the
 
143
   License, or (at your option) any later version.
 
144
 
 
145
   This program is distributed in the hope that it will be useful, but
 
146
   WITHOUT ANY WARRANTY; without even the implied warranty of
 
147
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
148
   General Public License for more details.
 
149
 
 
150
   You should have received a copy of the GNU General Public License
 
151
   along with this program.  If not, see
 
152
   <http://www.gnu.org/licenses/>.