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 BvHDI1m09Whz for ; Tue, 12 Nov 2013 19:56:34 +0100 (CET) Received: from mail-ie0-x22a.google.com (mail-ie0-x22a.google.com [IPv6:2607:f8b0:4001:c03::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Tue, 12 Nov 2013 19:56:34 +0100 (CET) Received: by mail-ie0-f170.google.com with SMTP id to1so5219499ieb.15 for ; Tue, 12 Nov 2013 10:56:32 -0800 (PST) Received: from [172.20.66.27] (ucb-np1-206.colorado.edu. [128.138.64.206]) by mx.google.com with ESMTPSA id qi3sm25797808igc.8.2013.11.12.10.56.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 12 Nov 2013 10:56:30 -0800 (PST) Sender: Matthew Monaco Message-ID: <528279DD.3020503@0x01b.net> Date: Tue, 12 Nov 2013 11:56:29 -0700 From: Matthew Monaco MIME-Version: 1.0 References: , <20131109225126.GA8017@tansi.org>, , <20131110162658.GB18656@tansi.org> <52824219.1010607@0x01b.net> <528244FD.4060109@gmail.com> In-Reply-To: <528244FD.4060109@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] Forgot dm-crypt password; suggestions on steps to undertake List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de On 11/12/2013 08:10 AM, Milan Broz wrote: > On 11/12/2013 03:58 PM, Matthew Monaco wrote: >> It didn't make sense to me to do it using libcryptsetup because the bottleneck >> was the actual decryption attempt. > > The example I posted link to is using common context and arbitrary number > of processes (default is number of CPU cores) which run in parallel > (hash iterations can easily run in parallel on different CPUs) > So every process tries n-th line in candidate password file. > > This is the advantage (plus save some negligible initialization time), > otherwise script is fine of course. > I read up from his message and missed your link. I'll keep that handy =) It's not that I have a horrible memory, I just occasionally don't use a volume for many months or even years at a time.