From: "Ph. Marek" <philipp@marek.priv.at>
To: rol@as2917.net
Cc: linux-kernel@vger.kernel.org
Subject: RE: Using dm-crypt for encrypting files
Date: Wed, 28 Feb 2007 07:11:33 +0100 (CET) [thread overview]
Message-ID: <26291.193.171.152.33.1172643093.squirrel@webmail.marek.priv.at> (raw)
In-Reply-To: <054301c75a66$e78bc790$4b00a8c0@donald>
> 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)!
prev parent reply other threads:[~2007-02-28 6:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-27 11:37 Ph. Marek
2007-02-27 12:00 ` Paul Rolland
2007-02-28 6:11 ` Ph. Marek [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=26291.193.171.152.33.1172643093.squirrel@webmail.marek.priv.at \
--to=philipp@marek.priv.at \
--cc=linux-kernel@vger.kernel.org \
--cc=rol@as2917.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®