Return-Path: Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mail.saout.de (Postfix) with ESMTP for ; Wed, 4 May 2011 05:35:09 +0200 (CEST) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QHSdB-00024j-Jl for dm-crypt@saout.de; Wed, 04 May 2011 05:20:07 +0200 Received: from 128-222-37-58.emc.com ([128.222.37.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 04 May 2011 05:20:05 +0200 Received: from anirudh.takkallapally by 128-222-37-58.emc.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 04 May 2011 05:20:05 +0200 From: anirudh Date: Tue, 3 May 2011 20:50:26 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [dm-crypt] extracting master key from luks header, cryptsetup List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de Is there a way to extract the master key from luks header if we have the key or pass-phrase used to encrypt the volume using cryptsetup? I wold like to save the master-key separately in a safe place and use it only in the case where i forget the pass-phrase used to encrypt the volume. Mainly to avoid saving the pass-phrase every time i change it.