Kconfig 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. #
  2. # Key management configuration
  3. #
  4. config KEYS
  5. bool "Enable access key retention support"
  6. select ASSOCIATIVE_ARRAY
  7. help
  8. This option provides support for retaining authentication tokens and
  9. access keys in the kernel.
  10. It also includes provision of methods by which such keys might be
  11. associated with a process so that network filesystems, encryption
  12. support and the like can find them.
  13. Furthermore, a special type of key is available that acts as keyring:
  14. a searchable sequence of keys. Each process is equipped with access
  15. to five standard keyrings: UID-specific, GID-specific, session,
  16. process and thread.
  17. If you are unsure as to whether this is required, answer N.
  18. config PERSISTENT_KEYRINGS
  19. bool "Enable register of persistent per-UID keyrings"
  20. depends on KEYS
  21. help
  22. This option provides a register of persistent per-UID keyrings,
  23. primarily aimed at Kerberos key storage. The keyrings are persistent
  24. in the sense that they stay around after all processes of that UID
  25. have exited, not that they survive the machine being rebooted.
  26. A particular keyring may be accessed by either the user whose keyring
  27. it is or by a process with administrative privileges. The active
  28. LSMs gets to rule on which admin-level processes get to access the
  29. cache.
  30. Keyrings are created and added into the register upon demand and get
  31. removed if they expire (a default timeout is set upon creation).
  32. config BIG_KEYS
  33. bool "Large payload keys"
  34. depends on KEYS
  35. depends on TMPFS
  36. help
  37. This option provides support for holding large keys within the kernel
  38. (for example Kerberos ticket caches). The data may be stored out to
  39. swapspace by tmpfs.
  40. If you are unsure as to whether this is required, answer N.
  41. config TRUSTED_KEYS
  42. tristate "TRUSTED KEYS"
  43. depends on KEYS && TCG_TPM
  44. select CRYPTO
  45. select CRYPTO_HMAC
  46. select CRYPTO_SHA1
  47. help
  48. This option provides support for creating, sealing, and unsealing
  49. keys in the kernel. Trusted keys are random number symmetric keys,
  50. generated and RSA-sealed by the TPM. The TPM only unseals the keys,
  51. if the boot PCRs and other criteria match. Userspace will only ever
  52. see encrypted blobs.
  53. If you are unsure as to whether this is required, answer N.
  54. config ENCRYPTED_KEYS
  55. tristate "ENCRYPTED KEYS"
  56. depends on KEYS
  57. select CRYPTO
  58. select CRYPTO_HMAC
  59. select CRYPTO_AES
  60. select CRYPTO_CBC
  61. select CRYPTO_SHA256
  62. select CRYPTO_RNG
  63. help
  64. This option provides support for create/encrypting/decrypting keys
  65. in the kernel. Encrypted keys are kernel generated random numbers,
  66. which are encrypted/decrypted with a 'master' symmetric key. The
  67. 'master' key can be either a trusted-key or user-key type.
  68. Userspace only ever sees/stores encrypted blobs.
  69. If you are unsure as to whether this is required, answer N.