Gentoo Archives: gentoo-amd64

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Encryption Solution
Date: Wed, 04 Feb 2009 22:04:09
Message-Id: 58965d8a0902041404w453068efl19ede281b5dbfdbf@mail.gmail.com
In Reply to: [gentoo-amd64] Encryption Solution by Tom
1 On Sat, Jan 31, 2009 at 12:28 PM, Tom <uebershark@××××××××××.com> wrote:
2 > Hi List,
3 >
4 > Doesn't really belong here, but security seems dead, so...
5 >
6 > I'm planning on encrypting a 1TB usb-disc that I have, for
7 > preserved storage.
8 > I've been reading a lot about fde and the other various
9 > approaches towards encryption, and most of them do much more than I
10 > really need/want. I don't need plausible deniability, and I don't need
11 > a fully encrypted OS.
12 > I do however have certain usage scenarios, for my setup.
13 >
14 > As mentioned above, the disk I want encrypted is a usb device, so it's
15 > removable.
16 > This among other things requires the encryption method to be usable
17 > from multiple machines but also from multiple OSes (Windows and Linux).
18 >
19 > Now from what I've been reading, there are basically two ways of doing
20 > this. TrueCrypt and dm-crypt together with freeotfe on windows.
21 >
22 > The main issue is obviously the filesystem.
23 > As far as I understand it, both methods work 'atop' any filesystem that
24 > the underlying OS supports.
25 > Because I want both windows and linux support, this would mean vfat,
26 > ntfs, or ext2(3,4??).
27 >
28 > Now as I run x86_64 for both linux and windows I'm not to sure about
29 > all this.
30 > I have a working ext driver running in read-only mode under windows,
31 > but I wouldn't know how well it'll play when using encryption.
32 > There are two possibilities I know of, http://www.fs-driver.org/ and
33 > http://ext2fsd.sourceforge.net/index.htm, me using the latter due to
34 > problems I had with the first due to 64bit compatibility.
35 > Another mayor question is dataloss.
36 > The usb-disc has 1TB, would it make sense to maybe have more than one
37 > partition, both from a performance and reliability standpoint?
38 >
39 > Has anyone here a similar setup/usage of disc-encryption?
40 > Any thoughts on the matter?
41 >
42 > Tom
43
44 I've used ext2/3 drivers in 32-bit windows and it worked fine...
45 64-bit windows is a crapshoot, there's so much stuff that doesn't
46 support it.
47
48 I use dm-crypt for backup DVDs (full disc, not
49 container-on-unencrypted-disc), I once tried to mount one using
50 freeotfe (i think?) in Windows, and at the time (years ago) it was
51 unable to mount a CDROM like that and I never tried it again. I
52 haven't tried a hard drive.
53
54 For now I mount it in linux and access it from windows over the
55 network. (VPN from windows to linux box + samba/cifs/whatever)