All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] Disadvantages of many temporary keys?
@ 2017-10-28  1:09 L. Rose
  2017-10-28  1:32 ` Robert Nichols
  0 siblings, 1 reply; 4+ messages in thread
From: L. Rose @ 2017-10-28  1:09 UTC (permalink / raw)
  To: dm-crypt

Hi everyone,

My setup runs off a dmcrypt/luks encrypted drive. I want to do daily
unattended reboots, so I don't want to have to enter the password upon
reboot. I thought of generating a random temporary key, inserting that
into a secondary slot on my container using luksAddKey and preparing a
custom initramfs containing that temporary key, so that the system can
unlock the container once after the reboot. When the system is up and
running again, I'll remove that random temporary key from both the
container and the initramfs.

My question is: Do dmcrypt/luks containers suffer from frequent key
adding/removal? Will the container degrade because of this usage, or
maybe get errors? If so, is there a better way for unattended reboots?

Thanks a lot for any thoughts on that!

Regards,

L. Rose

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

end of thread, other threads:[~2017-10-28 10:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-28  1:09 [dm-crypt] Disadvantages of many temporary keys? L. Rose
2017-10-28  1:32 ` Robert Nichols
2017-10-28  4:39   ` Arno Wagner
2017-10-28 10:14     ` Claudio Moretti

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.