All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] cryptsetup from aes-cbc to aes-xts
@ 2015-10-29 22:28 xxiao8
  2015-10-29 23:32 ` Arno Wagner
  2015-10-30 21:31 ` Michael Kjörling
  0 siblings, 2 replies; 3+ messages in thread
From: xxiao8 @ 2015-10-29 22:28 UTC (permalink / raw)
  To: dm-crypt

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-10-30 21:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-29 22:28 [dm-crypt] cryptsetup from aes-cbc to aes-xts xxiao8
2015-10-29 23:32 ` Arno Wagner
2015-10-30 21:31 ` Michael Kjörling

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.