All of lore.kernel.org
 help / color / mirror / Atom feed
From: xxiao8 <xxiao8@fosiao.com>
To: dm-crypt@saout.de
Subject: [dm-crypt] cryptsetup from aes-cbc to aes-xts
Date: Thu, 29 Oct 2015 17:28:58 -0500	[thread overview]
Message-ID: <56329DAA.7020403@fosiao.com> (raw)

I had a one liner change in my cryptsetup script (see below), as long as 
the key-file is the same, I can keep using the content on the 
hard-drive, which is a surprise to me. Doesn't switch-to-aes-xts-plain64 
mandate a reformat of the hard drive? am I missing something?


Changing from
cryptsetup -v -c "aes-cbc-essiv:sha256" --key-size 256 --key-file 
/etc/keys/sda1.key luksFormat --use-random /dev/sda1

to
cryptsetup -v -c "aes-xts-plain64" --hash sha256 --key-size 512 
--key-file /etc/keys/sda1.key luksFormat --use-random /dev/sda1

Thanks for your help,

xxiao

             reply	other threads:[~2015-10-29 22:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-29 22:28 xxiao8 [this message]
2015-10-29 23:32 ` [dm-crypt] cryptsetup from aes-cbc to aes-xts Arno Wagner
2015-10-30 21:31 ` Michael Kjörling

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=56329DAA.7020403@fosiao.com \
    --to=xxiao8@fosiao.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.