23 Mar 2009 03:33
Re: summer of code - scrub feature
Thor Lancelot Simon <tls <at> rek.tjls.com>
2009-03-23 02:33:37 GMT
2009-03-23 02:33:37 GMT
On Mon, Mar 23, 2009 at 02:26:40AM +0000, Alistair Crooks wrote: > > If you're going down this route, you should also be encrypting any > swap partitions, of course, using tempested hardware, and wearing tin > foil on your head. As ever, this is a question of what's possible, > and of securing yourself as much as is economically and comfortably > possible. That's just silly -- and it goes nowhere to address my basic point, which is that causing extra disk writes -- much less the painstakingly flushed multiple overwrites that, for example, rm -P does -- today, is much, much more expensive than just encrypting the entire volume and being done with it. I think it's a bad idea to waste effort on zeroizing erased data when the same effort could be spent making it easier to do the _cheaper_ operation of just encrypting the data in the first place. Jibes about tinfoil hats are unhelpful, but make them if you like; I am done wasting my time being spat on for talking common sense to the sky while it's raining. Thor
TPM.
If that's too tinfoil-hat to bear, too inflexible in the face of
motherboard failure, or too locked in to x86 (and it is): a carefully
constructed ramdisk or tiny unencrypted root partition, and a "mount
-o remount /" (or upper layer union mount, or just a very crafty
symlink farm) can allow cgdconfig to be part of an unattended boot
process. Depending on how it's done, the key can be embedded in the
ramdisk, on a separate USB token/drive, or made to be a combination of
the two....
(Yes, I've done this before; my home server was set up this way since
the early days of cgd's existence. Pop out the thumbdrive on which
half of the key lived, and the system would not boot.)
/me now returns to working on far less interesting things for a living....
RSS Feed