DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: octane indice <octane@alinto.com>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] distributing a linux disk crypted with dm-crypt
Date: Thu, 20 Aug 2009 12:27:03 +0200	[thread overview]
Message-ID: <1250764023.4a8d24f791dfd@webmail.inmano.com> (raw)
In-Reply-To: <200908191200.04578.test532@codingninjas.org>

En réponse à Sam <test532@codingninjas.org> :
> 
> I believe his point is that if he creates a linux installation
> inside a VMWare vm, and luksFormats the drive image
> from within the image, then once he has installed 
> everything on that image, that when he is done and
> now wishes to send that vmware image to others, they
> will all have the same key. Even if they change their
> passphrase, that is just encrypting the same key 
> differently. Then anyone person can decrpt anyone else's
> image, as the keys are all the same.

Yes, exactly.

> He does not need the other persons passphrase to
> decode the key passed to the cypher, as his vmware
> image, he knows the key to, and has the same
> underlying key that is passed to the cypher.
>
Yes that's the problem I'm trying to avoid.
 
> I am guessing the answer is no, that
> luks/cryptsetup/dmsetup does not support 
> switching the key used by the cypher. There
> are probably no tools to do this.
> 
Ok. It's just a technical impossibility, or it's
just because nobody has tried to do it, or it's
pointless?

> What you could do is have your startup scripts
> in the image, on bootup, create 
> a new filesystem on top of a newly
> luksFormatted image, and
> then copy everything to there. 
> 
Ok, I will do something like that if there
is no other possibility.

Thank you and all others.

> _______________________________________________
> ------------------- Fin du message d'origine ---------------------




Le plaisir de la dermato cosmétique naturelle http://www.terrahumana.fr

  reply	other threads:[~2009-08-20 10:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-19 14:54 [dm-crypt] distributing a linux disk crypted with dm-crypt octane indice
2009-08-19 15:42 ` Heinz Diehl
2009-08-19 16:00   ` Sam
2009-08-20 10:27     ` octane indice [this message]
2009-08-19 16:08 ` Moji

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=1250764023.4a8d24f791dfd@webmail.inmano.com \
    --to=octane@alinto.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox