From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EHymRH3wd_A9 for ; Wed, 17 Aug 2011 21:40:29 +0200 (CEST) Received: from v4.tansi.org (ns.km33513-03.keymachine.de [87.118.94.3]) by mail.saout.de (Postfix) with ESMTP for ; Wed, 17 Aug 2011 21:40:29 +0200 (CEST) Received: from gatewagner.dyndns.org (84-74-162-232.dclient.hispeed.ch [84.74.162.232]) by v4.tansi.org (Postfix) with ESMTPA id 1DBCF20616D for ; Wed, 17 Aug 2011 21:40:29 +0200 (CEST) Date: Wed, 17 Aug 2011 21:40:28 +0200 From: Arno Wagner Message-ID: <20110817194028.GA17597@tansi.org> References: <4E4BFE0C.3040703@mousecar.com> <20110817193513.GB17228@tansi.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110817193513.GB17228@tansi.org> Subject: Re: [dm-crypt] recovering forgotten password List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de On Wed, Aug 17, 2011 at 09:35:13PM +0200, Arno Wagner wrote: [...] > To try a password, use somethin like > cryptsetup luksOpen /dev/sda3 Needs a device of course, so cryptsetup luksOpen /dev/sda3 e1 for /dev/mapper/e1 > If you need enough tries to automatize this, you can > read the passphrase from file (or stdin) with something > like this > cryptsetup --key-file= luksOpen /dev/sda3 Same as above: cryptsetup --key-file= luksOpen /dev/sda3 e1 and with reading from stdin cryptsetup --key-file="-" luksOpen /dev/loop0 e1 Arno -- Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@wagner.name GnuPG: ID: 1E25338F FP: 0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F ---- Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans If it's in the news, don't worry about it. The very definition of "news" is "something that hardly ever happens." -- Bruce Schneier