Re: Creating dm-crypt target from the second sector?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/05/2018 10:36 AM, Ondrej Kozina wrote:
On 01/05/2018 10:09 AM, Lukáš Pohanka wrote:

Or, you can simply use cryptsetup for it. It'll be more user-friendly and do the device size calculations for you:

cryptsetup open --type plain --offset 1 --cipher aes-xts-plain64 /dev/sdb1 my_crypt_device

Also depending what your use case is, i'd look for cryptsetup --skip option (aka IV offset).

in raw dm table, the IV offset position is right behind the key.

Hope it helped
O.
_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt




[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux