Return-Path: Received: from w1.tutanota.de (w1.tutanota.de [81.3.6.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.server123.net (Postfix) with ESMTPS for ; Thu, 18 May 2017 15:33:16 +0200 (CEST) Received: from localhost (unknown [127.0.0.1]) by w1.tutanota.de (Postfix) with ESMTP id 18533FA9DBE for ; Thu, 18 May 2017 13:26:03 +0000 (UTC) Received: from w1.tutanota.de ([127.0.0.1]) by localhost (w1.tutanota.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7hfJuRxumtf1 for ; Thu, 18 May 2017 15:26:02 +0200 (CEST) Received: from w1.tutanota.de (unknown [192.168.1.162]) by w1.tutanota.de (Postfix) with ESMTP id 7E9FDFA9D7A for ; Thu, 18 May 2017 13:26:02 +0000 (UTC) Date: Thu, 18 May 2017 15:26:02 +0200 (CEST) From: Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_348631_1258879823.1495113962483" Subject: [dm-crypt] Shipping/Cloning encrypted disks List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de ------=_Part_348631_1258879823.1495113962483 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, I was thinking about a project which basically involves linux images with f= ull disk encryption. The images should be shipped to or downloaded by multi= ple 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. =C2=A0=C2=A0=C2=A0=C2=A0 The image should be dd'ed to a hdd or usb drive an= d 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.=20 Encryption will be done either as described here: https://wiki.archlinux.or= g/index.php/Dm-crypt/Device_encryption#Encrypt_an_unencrypted_filesystem or= with this tool : https://johannes-bauer.com/linux/luksipc Currently I am strongly in favor of option 1 since it forces the end user t= o use full disk encryption. With option 2 it could just be skipped. Also th= e 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 ------=_Part_348631_1258879823.1495113962483 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello,

I was thinking about a project which basically involves l= inux images with full disk encryption. The images should be shipped to or d= ownloaded by multiple users. Since the end users are likely linux novices t= he setup should be as easy as possible.
At the moment I see two option= s.

1.: Filesystem image with non-encrypted boot and encrypted ma= in 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 fi= lesystem has also a non-encrypted main filesystem.
Encryption will be= done either as described here: https://wiki.archlinux.org/index.ph= p/Dm-crypt/Device_encryption#Encrypt_an_unencrypted_filesystem or with = this tool : https://johannes-bauer.com/linux/luksi= pc

Currently I am strongly in favor of option 1 since it for= ces the end user to use full disk encryption. With option 2 it could just b= e skipped. Also the required effort seems to be the same for both options.<= br />Is there anything else to consider for option 1? Is changing the maste= r key enough? Best practices/build options for the encrypted filesystem?Maybe an option 3 ... ?

Vasili

------=_Part_348631_1258879823.1495113962483--