On Wed, 2 Aug 2000, Pavel Roskin <[EMAIL PROTECTED]> wrote:
> Hello, Daniel!
>
>> As part of some work I am doing at the moment, I am looking at being
>> able to securely bootstrap (nearly) diskless machines over an
>> untrusted network.
>
> Are you afraid that somebody will make a copy of the image or that
> somebody will send a wrong image?
In short, yes. In long, I want authentication of both server (or the
image on it) and the client, and secrecy.
>> Now, the best way that I have, off hand, been able to figure doing
>> this is to have a key on each client machine and use that to decrypt
>> an image downloaded from the boot image server on the client.
>
> Why not just check the MD5 sum of the downloaded images?
There will be various bits of information inside the downloaded image
that are private between the server and the client. If they were read by
another system, that would be a bad thing.
Also, changing the MD5 requires either a more complex network system to
get access to the correct value from a distance, or replacing the
read-only media on the client every time I changed the boot image...
which defeats the purpose of the network download, really.
Finally, MD5 sum values can be generated when the server is compromised,
for any image the attacker feels like. A private key on physically
disconnected media requires that the attacker break the algorithm or key
(hard) or physically attack (which is not solvable from software).
> I still don't think that such hacks should be in the GRUB sources.
> It's a bootloader, not an OS. It cannot do everything in the world.
I would rather *not* have an OS on the boot media, to make it that next
step harder to get around the security from the client side. GRUB does
almost everything I need, which is grand. If I get told 'no way', so be
it.
Then I get to play with MS-DOS and stuff. Bleh.
Thanks for your comments,
Daniel
--
Turning and turning in the widening gyre
The falcon cannot hear the falconer;
Things fall apart; the center cannot hold.
-- W.B. Yeats, _The Second Coming_