[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <26291.193.171.152.33.1172643093.squirrel@webmail.marek.priv.at>
Date: Wed, 28 Feb 2007 07:11:33 +0100 (CET)
From: "Ph. Marek" <philipp@...ek.priv.at>
To: rol@...917.net
Cc: linux-kernel@...r.kernel.org
Subject: RE: Using dm-crypt for encrypting files
> Hello,
>> - encrypts new files depending on their filename, and generally
>
> What about renaming a file ???
Well, that's a small (but known!) problem with this scheme.
If you say that everything below a directory "_crypt_" should be
encrypted, and just move files in there, you've got no problems - the
encryption settings stay the same.
If you move in/out of encrypted storage, there's two options:
- if it's a separate filesystem, ie. mounted, you cannot move - you
have to copy & delete, which means the data gets correct settings.
- if its not the same filesystem, you might get a wrongly en/decrypted
file.
But I just saw ecryptfs (http://ecryptfs.sourceforge.net/) - that seems to
do more or less what I need. I'll take a look.
Regards,
Phil
--
Versioning your /etc, /home or even your whole installation?
Try fsvs (fsvs.tigris.org)!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists