~/talk

What is Linux kernel keystore and why you should use it in your next application

Talkat NDC TechTown 2023 · 2023-09-18..09-21· [linux-and-operating-systems, security]
slides:none on file

Linux provides a kernel key retention service that stores keys outside process memory and exposes them via syscalls: ADD_KEY to add blobs and request_key to ask a kernel helper to fetch keys from a KMS/HSM or TPM. Key types include user, logon, asymmetric RSA (can sign inside kernel), and encrypted/trusted keys; demos use keyctl and show a session keyring auto-destroying on logout. Integrations with TPM/HSM and a helper daemon let applications never see plaintext keys while still performing crypto; be careful with container namespace and syscall-tracing caveats.

AI-written summary · about

  1. 0:00Linux kernel keystore intro
  2. 1:33Memory safety and key risks
  3. 5:55Key compromise consequences
  4. 8:23How keys get leaked
  5. 13:25Secure key management model
  6. 16:42Kernel key retention service
  7. 18:31Key rings and types
  8. 20:16Basic operations demo
  9. 21:43Secure secret sharing
  10. 23:27Key ring lifecycle
  11. 26:18Session key destruction demo
  12. 28:24Key types overview
  13. 30:30Signing data with RSA
  14. 31:35Replace SSH agent
  15. 33:02Encrypted and trusted keys
  16. 36:17Secure key provisioning
  17. 39:08Request key system call
  18. 41:17Benefits of request key
  19. 43:29Resources and closing
  20. 44:12Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.