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

anirudh anirudh.takkallapally at gmail.com
Tue May 3 22:50:26 CEST 2011

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.

More information about the dm-crypt mailing list