DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: mike dentifrice <fluor@poivron.org>
To: dm-crypt@saout.de
Subject: [dm-crypt] password recovery for a luksOpened device?
Date: Wed, 2 Nov 2011 04:14:30 +0100	[thread overview]
Message-ID: <20111102031430.GA15717@dentifrice> (raw)

Hey there,

I managed to forget the passphrase for a server (it is very rarely
rebooted). 

It it still running, the LUKS device is opened, and the filesystem
laying on top of it is mounted. 

So, I do have a fresh backup, and can keep on trying to remember the
passphrase with `cryptsetup luksAddKey /dev/mapper/foobar`

However, it would be a lot of hasle to re-install the system entirely,
as the services cannot suffer a long downtime.

Is there a way to recover the passphrase or add a new keyslot while the
system's running, the crypto device mounted, the fs opened? 

Or do I necessarily have to jump towards the "How do I recover the
master key from a mapped LUKS container?" FAQ entry?

Thanks in advance for your answer,

-- 
mike dentifrice <fluor@poivron.org>

             reply	other threads:[~2011-11-02  3:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-02  3:14 mike dentifrice [this message]
2011-11-02  7:23 ` [dm-crypt] password recovery for a luksOpened device? Milan Broz
2011-11-02  7:30   ` Arno Wagner
2011-11-02  7:25 ` Arno Wagner
2011-11-02  7:31   ` 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=20111102031430.GA15717@dentifrice \
    --to=fluor@poivron.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox