Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mail.saout.de (Postfix) with ESMTP for ; Fri, 28 Aug 2009 16:45:02 +0200 (CEST) Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n7SEj1TL009242 for ; Fri, 28 Aug 2009 10:45:01 -0400 Received: from agk-dp.fab.redhat.com (agk-dp.fab.redhat.com [10.33.0.20]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n7SEj0Da005909 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 28 Aug 2009 10:45:00 -0400 Received: from agk by agk-dp.fab.redhat.com with local (Exim 4.69) (envelope-from ) id 1Mh2hH-0002qR-MV for dm-crypt@saout.de; Fri, 28 Aug 2009 15:44:59 +0100 Date: Fri, 28 Aug 2009 15:44:59 +0100 From: Alasdair G Kergon Message-ID: <20090828144459.GA10829@agk-dp.fab.redhat.com> References: <20090827224617.GA31760@nyx.b42.cz> <20090828052136.GA8035@tansi.org> <20090828094616.GC31760@nyx.b42.cz> <20090828135334.GA13504@tansi.org> <20090828142856.GA28903@nyx.b42.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090828142856.GA28903@nyx.b42.cz> Subject: Re: [dm-crypt] cryptsetup support for dm-crypt suspend/resume List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de On Fri, Aug 28, 2009 at 04:28:56PM +0200, Martin Milata wrote: > Using these commands, it should be possible to temporarily throw out the > encryption key without unmounting the filesystem or removing the > mapping. That would require support in cryptsetup, though. I added support for that to device mapper ages back. 1. suspend device 2. send message 'key wipe' later 1. send message 'key set ' 2. resume device Can be done from command line 'dmsetup' or from an application using direct libdevmapper library calls. Alasdair