[dm-crypt] Shipping/Cloning encrypted disks

Arno Wagner arno at wagner.name
Thu May 18 16:20:23 CEST 2017


You also need to change the passphrase(s) with option
1. or anybody with access to the default passhprase can 
get in.

In principle, full-disk encryption is not more secure
against a competent attacker than data-partition only
encryption. The attack just takes a bit more effort 
for FDE, like manipulating the kernel image or the
initrd. Of course, if logs or the like are confidental, 
they need to go into the encrypted part.

Regards,
Arno

On Thu, May 18, 2017 at 15:26:02 CEST, vasili at keemail.me wrote:
>    Hello,
>    I was thinking about a project which basically involves linux images
>    with full disk encryption. The images should be shipped to or
>    downloaded by multiple users. Since the end users are likely linux
>    novices the setup should be as easy as possible.
>    At the moment I see two options.
>    1.: Filesystem image with non-encrypted boot and encrypted main
>    filesystem.
>         The image should be dd'ed to a hdd or usb drive and resized to
>    fill the whole drive. Then the master key will be changed with
>    cryptsetup-reencrypt.
>    2.: Like 1 but the filesystem has also a non-encrypted main filesystem.
>    Encryption will be done either as described here:
>    [1]https://wiki.archlinux.org/index.php/Dm-crypt/Device_encryption#Encr
>    ypt_an_unencrypted_filesystem or with this tool :
>    [2]https://johannes-bauer.com/linux/luksipc
>    Currently I am strongly in favor of option 1 since it forces the end
>    user to use full disk encryption. With option 2 it could just be
>    skipped. Also the required effort seems to be the same for both
>    options.
>    Is there anything else to consider for option 1? Is changing the master
>    key enough? Best practices/build options for the encrypted filesystem?
>    Maybe an option 3 ... ?
>    Vasili
> 
> References
> 
>    1. https://wiki.archlinux.org/index.php/Dm-crypt/Device_encryption#Encrypt_an_unencrypted_filesystem
>    2. https://johannes-bauer.com/linux/luksipc/

> _______________________________________________
> dm-crypt mailing list
> dm-crypt at saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt


-- 
Arno Wagner,     Dr. sc. techn., Dipl. Inform.,    Email: arno at wagner.name
GnuPG: ID: CB5D9718  FP: 12D6 C03B 1B30 33BB 13CF  B774 E35C 5FA1 CB5D 9718
----
A good decision is based on knowledge and not on numbers. -- Plato

If it's in the news, don't worry about it.  The very definition of 
"news" is "something that hardly ever happens." -- Bruce Schneier


More information about the dm-crypt mailing list