Kconfig 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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 KEYS_COMPAT
  19. def_bool y
  20. depends on COMPAT && KEYS
  21. config PERSISTENT_KEYRINGS
  22. bool "Enable register of persistent per-UID keyrings"
  23. depends on KEYS
  24. help
  25. This option provides a register of persistent per-UID keyrings,
  26. primarily aimed at Kerberos key storage. The keyrings are persistent
  27. in the sense that they stay around after all processes of that UID
  28. have exited, not that they survive the machine being rebooted.
  29. A particular keyring may be accessed by either the user whose keyring
  30. it is or by a process with administrative privileges. The active
  31. LSMs gets to rule on which admin-level processes get to access the
  32. cache.
  33. Keyrings are created and added into the register upon demand and get
  34. removed if they expire (a default timeout is set upon creation).
  35. config BIG_KEYS
  36. bool "Large payload keys"
  37. depends on KEYS
  38. depends on TMPFS
  39. help
  40. This option provides support for holding large keys within the kernel
  41. (for example Kerberos ticket caches). The data may be stored out to
  42. swapspace by tmpfs.
  43. If you are unsure as to whether this is required, answer N.
  44. config TRUSTED_KEYS
  45. tristate "TRUSTED KEYS"
  46. depends on KEYS && TCG_TPM
  47. select CRYPTO
  48. select CRYPTO_HMAC
  49. select CRYPTO_SHA1
  50. help
  51. This option provides support for creating, sealing, and unsealing
  52. keys in the kernel. Trusted keys are random number symmetric keys,
  53. generated and RSA-sealed by the TPM. The TPM only unseals the keys,
  54. if the boot PCRs and other criteria match. Userspace will only ever
  55. see encrypted blobs.
  56. If you are unsure as to whether this is required, answer N.
  57. config ENCRYPTED_KEYS
  58. tristate "ENCRYPTED KEYS"
  59. depends on KEYS
  60. select CRYPTO
  61. select CRYPTO_HMAC
  62. select CRYPTO_AES
  63. select CRYPTO_CBC
  64. select CRYPTO_SHA256
  65. select CRYPTO_RNG
  66. help
  67. This option provides support for create/encrypting/decrypting keys
  68. in the kernel. Encrypted keys are kernel generated random numbers,
  69. which are encrypted/decrypted with a 'master' symmetric key. The
  70. 'master' key can be either a trusted-key or user-key type.
  71. Userspace only ever sees/stores encrypted blobs.
  72. If you are unsure as to whether this is required, answer N.