All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] Safe to remove keyfile before luksClose?
@ 2013-11-17 15:59 Johannes Omega
  2013-11-18 10:43 ` Heinz Diehl
  0 siblings, 1 reply; 2+ messages in thread
From: Johannes Omega @ 2013-11-17 15:59 UTC (permalink / raw)
  To: dm-crypt

[-- Attachment #1: Type: text/plain, Size: 332 bytes --]

Hi,

I've a LUKS container that's opened from a keyfile stored on a USB stick.
Is it safe to remove the USB stick once the container has been opened, or
must the keyfile remain available to LUKS until the container is closed?
(in my tests it worked fine, but I don't want to risk losing data if it's
not allowed).

Thanks,
Johannes

[-- Attachment #2: Type: text/html, Size: 430 bytes --]

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

* Re: [dm-crypt] Safe to remove keyfile before luksClose?
  2013-11-17 15:59 [dm-crypt] Safe to remove keyfile before luksClose? Johannes Omega
@ 2013-11-18 10:43 ` Heinz Diehl
  0 siblings, 0 replies; 2+ messages in thread
From: Heinz Diehl @ 2013-11-18 10:43 UTC (permalink / raw)
  To: dm-crypt

On 18.11.2013, Johannes Omega wrote: 

> I've a LUKS container that's opened from a keyfile stored on a USB stick.
> Is it safe to remove the USB stick once the container has been
> opened

Yes, it is. The keyfile is only needed once, to unlock the master key.

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

end of thread, other threads:[~2013-11-18 10:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-17 15:59 [dm-crypt] Safe to remove keyfile before luksClose? Johannes Omega
2013-11-18 10:43 ` Heinz Diehl

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.