Return-Path: Received: from slow1-d.mail.gandi.net (slow1-d.mail.gandi.net [217.70.178.86]) by mail.server123.net (Postfix) with ESMTP for ; Thu, 3 Aug 2017 06:40:17 +0200 (CEST) Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by slow1-d.mail.gandi.net (Postfix) with ESMTP id 86FB3497BA5 for ; Thu, 3 Aug 2017 06:17:56 +0200 (CEST) Received: from lustre.ryper.org (cpe-173-174-67-121.austin.res.rr.com [173.174.67.121]) (Authenticated sender: contact@ryper.org) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id A777AA80C2 for ; Thu, 3 Aug 2017 06:17:50 +0200 (CEST) Date: Wed, 2 Aug 2017 23:17:46 -0500 From: Perry Thompson Message-ID: <20170802231746.0889fd42@lustre.ryper.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [dm-crypt] cryptsetup-reencrypt additional options List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de Hello there, I had a quick question about the possibility of getting additional features added to cryptsetup-reencrypt. This may be asking for too much and I might be better off getting a second drive, putting LUKS on it, and transferring my files to it instead, but I thought I would ask anyways. I have a drive with LUKS set up on it. The LUKS header is on a USB drive, and my data has an offset of 4096 512-byte sectors. I was looking to encrypt a non-encrypted drive that I have on another machine. I was thinking of using cryptsetup-reencrypt, however because I have a detached header and an offset for the data, the current cryptsetup-reencrypt wouldn't work for me. Would maybe adding --align-payload and --header options be something that might be possible? Even having a way to have it put the header at the start of the disk and use up those "free" 2MiB where my GPT stuff is, I could then manually extract the header and then overwrite it later. I was just curious on thoughts about adding such options to the program, although now that I'm typing all of this out, I'm thinking that getting a second drive and copying the data to a freshly-encrypted drive might save me a lot of hassle. Thank you for taking the time to read this.