All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arno Wagner <arno@wagner.name>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] recovering forgotten password
Date: Wed, 17 Aug 2011 21:40:28 +0200	[thread overview]
Message-ID: <20110817194028.GA17597@tansi.org> (raw)
In-Reply-To: <20110817193513.GB17228@tansi.org>

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=<some file> luksOpen /dev/sda3

Same as above:
   cryptsetup --key-file=<some 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 

  reply	other threads:[~2011-08-17 19:40 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-17 17:44 [dm-crypt] recovering forgotten password ken
2011-08-17 19:35 ` Arno Wagner
2011-08-17 19:40   ` Arno Wagner [this message]
2011-08-22 14:48 ` [dm-crypt] recovering forgotten passwords for 2 LVs ken
2011-08-22 16:19   ` Yves-Alexis Perez
2011-08-22 22:33     ` ken
2011-08-22 22:53       ` Milan Broz
2011-08-23  0:23         ` ken
2011-08-23  7:43           ` Yves-Alexis Perez
2011-08-23  9:35             ` ken
2011-08-23 11:59         ` ken
2011-08-23 12:57       ` Arno Wagner
2011-08-23 13:39         ` ken
2011-08-22 17:16   ` Arno Wagner
2011-08-23 13:17     ` ken
2011-08-23 13:47       ` Arno Wagner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110817194028.GA17597@tansi.org \
    --to=arno@wagner.name \
    --cc=dm-crypt@saout.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.