All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] Best practice for storing header backup and protecting against mistakes/misuse.
@ 2017-03-29 13:42 Waqar Khan
  2017-03-29 14:08 ` Michael Kjörling
  2017-03-29 18:32 ` Arno Wagner
  0 siblings, 2 replies; 6+ messages in thread
From: Waqar Khan @ 2017-03-29 13:42 UTC (permalink / raw)
  To: dm-crypt

Hi,
I have read through the FAQ and its got a lot of useful information
from the backup section.

I have encrypted /home and used

cryptsetup --dump-master-key luksDump /dev/dm-2

and

cryptsetup luksHeaderBackup --dump-master-key /dev/dm-2
--header-backup-file header

to make a copy of the header incase I forget my passphrase. I bought a
encrypted USB drive to put the header on.

My first question is, if something like header corruption/ passphrase
forgotten, would I be able to restore from my USB on to the LUKS
partition and continue using /home as it was? What if I have unmounted
it or rebooted the machine.

Second, what else should I be doing in order to protect against
accidents such as above?

Lastly, a few people have access to this machine (through the same
passphrase), some work colleagues, how can I protect against one
disgruntled member leaving the company and changing the passphrase
(then unmounting the volume for good measure) and not telling anyone?

Regards

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

end of thread, other threads:[~2017-03-30 19:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-29 13:42 [dm-crypt] Best practice for storing header backup and protecting against mistakes/misuse Waqar Khan
2017-03-29 14:08 ` Michael Kjörling
2017-03-29 18:32 ` Arno Wagner
2017-03-30 10:18   ` Waqar Khan
2017-03-30 10:57     ` Michael Kjörling
2017-03-30 19:33       ` Arno Wagner

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.