From: Thomas Bastiani <thom@codehawks.eu>
To: Franz <169101@gmail.com>
Cc: "dm-crypt@saout.de" <dm-crypt@saout.de>
Subject: Re: [dm-crypt] Required kernel crypto interface not available
Date: Fri, 16 May 2014 08:52:24 +0100 [thread overview]
Message-ID: <5375C3B8.9040905@codehawks.eu> (raw)
In-Reply-To: <CAPzH-qBx9YNbmGwng_juwsr0CfZCUrhJVPTF4+en+TESr=TmuQ@mail.gmail.com>
On 16/05/14 00:04, Franz wrote:
> On Thu, May 15, 2014 at 6:46 PM, .. ink .. <mhogomchungu@gmail.com> wrote:
>
>>
>>
>> On Thu, May 15, 2014 at 5:26 PM, Franz <169101@gmail.com> wrote:
>>
>>
>>
>>> Yes I had already seen this zulucrypt and also tomb
>>> http://www.dyne.org/software/tomb/ that seems even more developed that
>>> zulucrypt. But for such a critical task I am willing to trust packages like
>>> cryptsetup and dm-crypt that are signed, incorporated into main
>>> distributions, and certainly checked by many people. But I am unwilling to
>>> trust something posted somewhere in internet, unsigned and unchecked.
>>>
>>> Otherwise better to stay with Truecrypt a little more waiting for things
>>> to change.
>>>
>>> In any case many thanks to all for the kind help
>>> Best
>>> Franz
>>>
>>
>> Your statement carries with it a logical inconsistece since you use
>> TrueCrypt, a product that is developed in secrecy,
>> by unknown developers who seem to take extra effort to hide themselves for
>> no obvious reasons who
>> also seem to just put link to a source code dump online once in a
>> while,unchecked and unverified.
>>
>> Why not switching to LUKS since you already seen to trust cryptsetup?
>>
>> what advantages does TrueCrypt volumes have in your use case that makes
>> you want to stick with its encrypted format?
>>
>>
>>
> well you are certainly totally right unfortunately. But truecrypt is at
> least still open source and the installation file is signed. Also, it is a
> very well known product so I suppose that many people audited the source
> code and no big problem ever surfaced. Less important, but still... it is
> already installed and working fine in a VM of my computer.
>
> Switching to LUCKS would be very interesting. Qubes already uses LUCKS to
> encrypt my disk so every time I start my computer need to put a password
> just to uncrypt it. But can LUCKS work on a file container that I can copy
> and move? I investigated it time ago and found no way to do it. Is there a
> way to do that? Really that would be the solution.
>
> Best
> Franz
>
>
>
> _______________________________________________
> dm-crypt mailing list
> dm-crypt@saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt
>
Hello Franz,
Regarding the fact that TrueCrypt is safe because it should *obviously*
have been audited, it's not quite as simple. For one thing, proper
audits cost money. Recently Matthew Green and Kenn White setup
http://istruecryptauditedyet.com with the intent of raising enough money
to fund a TrueCrypt audit. You can find the original post here:
http://blog.cryptographyengineering.com/2013/10/lets-audit-truecrypt.html
As you can see, as of today, TrueCrypt has been partially audited. I say
partially because they did a "security assessment" that does not include
a "cryptographic assessment". They have found a number of potential
issues, although none of them are qualified as "critical". I'll let you
read the initial report for yourself if you like:
https://opencryptoaudit.org/reports/
My point is generally, TrueCrypt is not as audited as you might think
and the "many eyes" argument is mostly invalid.
As for encrypting a file that you can simply move around, it looks like
it works out of the box. You just need to create a file large enough for
your purposes and then encrypt it and create a file-system as you would
usually do with a block device. Say you want to create a file that's 1GB
is size:
# dd if=/dev/zero of=block.luks bs=1G count=1
# cryptsetup luksFormat block.luks
# cryptsetup luksOpen block.luks crypt
# mkfs.ext4 /dev/mapper/crypt
# mkdir /mnt/container
# mount /dev/mapper/crypt /mnt/container
Obviously you could write random data to your container instead of 0's,
You could also use another file system or even a key-file. But you get
the gist.
HTH,
--
Thomas
next prev parent reply other threads:[~2014-05-16 7:42 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-15 2:58 [dm-crypt] Required kernel crypto interface not available Franz
2014-05-15 7:53 ` Arno Wagner
2014-05-15 17:35 ` Milan Broz
2014-05-15 18:55 ` Franz
2014-05-15 20:18 ` Milan Broz
2014-05-15 20:30 ` .. ink ..
[not found] ` <CAPzH-qDFgUf8NGNkv0ebbPjf-GGk+S13oZqWtD+jRO6Tv6Q3wA@mail.gmail.com>
2014-05-15 21:46 ` .. ink ..
2014-05-15 23:04 ` Franz
2014-05-15 23:43 ` .. ink ..
2014-05-16 1:58 ` Franz
2014-05-16 3:00 ` .. ink ..
2014-05-16 10:56 ` Arno Wagner
2014-05-16 13:13 ` Franz
2014-05-16 21:23 ` .. ink ..
2014-05-17 23:48 ` Franz
2014-05-16 10:54 ` Arno Wagner
2014-05-16 7:52 ` Thomas Bastiani [this message]
2014-05-16 13:31 ` Franz
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=5375C3B8.9040905@codehawks.eu \
--to=thom@codehawks.eu \
--cc=169101@gmail.com \
--cc=dm-crypt@saout.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.