All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] Kernel Keyring Service
@ 2014-12-12 16:23 Ahmed, Safayet (GE Global Research)
  2014-12-13  0:26 ` Arno Wagner
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Ahmed, Safayet (GE Global Research) @ 2014-12-12 16:23 UTC (permalink / raw)
  To: dm-crypt@saout.de


Is there a way to setup an encrypted partition with keys from the kernel key ring? The key-ring services support special keys called encrypted keys. These keys never exist outside kernel memory in an un-encrypted state. These encrypted keys are encrypted with other keys in the kernel keyring: user keys and trusted keys. Trusted keys are keys protected by a TPM SRK.

http://lxr.free-electrons.com/source/Documentation/security/keys-trusted-encrypted.txt

This would be something different from TPM-LUKS which protects keys in the TPM NVRAM. A possible advantage of using encrypted keys from the kernel key ring is that the key(s) used by dm-crypt never have to be exposed to user space in an unencrypted state. Currently, user space can see the encryption key of a dm-crypt partition in plain text by using the following command:

dmsetup table --showkeys <device name>

I am not entirely sure if that is an issue.

Lastly, I just want to mention that trusted keys and encrypted keys are already used for ecryptfs:

http://lxr.free-electrons.com/source/Documentation/security/keys-ecryptfs.txt

Thanks,

Safayet

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

end of thread, other threads:[~2014-12-17 22:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-12 16:23 [dm-crypt] Kernel Keyring Service Ahmed, Safayet (GE Global Research)
2014-12-13  0:26 ` Arno Wagner
2014-12-13  3:40   ` Alex Elsayed
2014-12-14  2:41     ` Arno Wagner
2014-12-14  9:03       ` Alex Elsayed
2014-12-14 16:05         ` Arno Wagner
2014-12-13  1:47 ` Alasdair G Kergon
2014-12-13  5:12   ` Ahmed, Safayet (GE Global Research)
2014-12-14 18:10 ` Milan Broz
2014-12-17 16:22   ` Ahmed, Safayet (GE Global Research)
2014-12-17 22:17     ` 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.