DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] password recovery for a luksOpened device?
@ 2011-11-02  3:14 mike dentifrice
  2011-11-02  7:23 ` Milan Broz
  2011-11-02  7:25 ` Arno Wagner
  0 siblings, 2 replies; 5+ messages in thread
From: mike dentifrice @ 2011-11-02  3:14 UTC (permalink / raw)
  To: dm-crypt

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>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-11-02  7:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-02  3:14 [dm-crypt] password recovery for a luksOpened device? mike dentifrice
2011-11-02  7:23 ` Milan Broz
2011-11-02  7:30   ` Arno Wagner
2011-11-02  7:25 ` Arno Wagner
2011-11-02  7:31   ` Arno Wagner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox