[dm-crypt] extracting master key from luks header, cryptsetup

Rick Moritz rahvin at gmail.com
Wed May 4 07:26:10 CEST 2011


Just create a backup luks header with a keyslot that is not in your
actual header and write that key down.
Then to get to the volume you simply overwrite the luks header with the backup.
I see no reason why this shouldn't work.

On Tue, May 3, 2011 at 10:50 PM, anirudh
<anirudh.takkallapally at gmail.com> wrote:
> Is there a way to extract the master key from luks header if we have the key or
> pass-phrase used to encrypt the volume using cryptsetup?
>
> I wold like to save the master-key separately in a safe place and use it only in
> the case where i forget the pass-phrase used to encrypt the volume. Mainly to
> avoid saving the pass-phrase every time i change it.
>
> _______________________________________________
> dm-crypt mailing list
> dm-crypt at saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt
>


More information about the dm-crypt mailing list