~/talk

Using and Implementing Keyring Restrictions for Userspace

slides:none on file

Kernel keyrings gain a userspace-configurable restriction API (added around 4.12 with helpers in keyutils v1.5.11) that enforces which keys can be linked into a ring by checking signatures, key serials, or searching other keyrings; it’s used by iwd and ELL to validate certificate chains by linking DER certs into a verify ring and using a root cert ring as the signer set. Current implementation focuses on asymmetric key restrictions, supports a chain option, prepopulating rings, but has quota, performance, and validation caveats and a new TPM subtype.

AI-written summary · about

  1. 0:00Intro
  2. 0:40Keys and key types
  3. 2:13Keyrings: A key for organizing keys
  4. 2:51The origin of keyring restrictions
  5. 4:59A restricted keyring use case
  6. 6:28Software versions with userspace restrictions
  7. 7:17Makeup of the restrict call
  8. 8:44Asymmetric Restriction Examples
  9. 10:33Certificate verification
  10. 14:18Additions to key types and keyrings
  11. 14:44Choose a key type to use for restriction lookup
  12. 16:18Implement restrict functions
  13. 17:29Considerations for restrict functions
  14. 18:31Implement a lookup function
  15. 19:36Considerations for lookup functions
  16. 20:35Other possibilities
  17. 22:59Questions?
~/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.