Kconfig 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. #
  2. # Key management configuration
  3. #
  4. config KEYS
  5. bool "Enable access key retention support"
  6. help
  7. This option provides support for retaining authentication tokens and
  8. access keys in the kernel.
  9. It also includes provision of methods by which such keys might be
  10. associated with a process so that network filesystems, encryption
  11. support and the like can find them.
  12. Furthermore, a special type of key is available that acts as keyring:
  13. a searchable sequence of keys. Each process is equipped with access
  14. to five standard keyrings: UID-specific, GID-specific, session,
  15. process and thread.
  16. If you are unsure as to whether this is required, answer N.
  17. config TRUSTED_KEYS
  18. tristate "TRUSTED KEYS"
  19. depends on KEYS && TCG_TPM
  20. select CRYPTO
  21. select CRYPTO_HMAC
  22. select CRYPTO_SHA1
  23. help
  24. This option provides support for creating, sealing, and unsealing
  25. keys in the kernel. Trusted keys are random number symmetric keys,
  26. generated and RSA-sealed by the TPM. The TPM only unseals the keys,
  27. if the boot PCRs and other criteria match. Userspace will only ever
  28. see encrypted blobs.
  29. If you are unsure as to whether this is required, answer N.
  30. config ENCRYPTED_KEYS
  31. tristate "ENCRYPTED KEYS"
  32. depends on KEYS
  33. select CRYPTO
  34. select CRYPTO_HMAC
  35. select CRYPTO_AES
  36. select CRYPTO_CBC
  37. select CRYPTO_SHA256
  38. select CRYPTO_RNG
  39. help
  40. This option provides support for create/encrypting/decrypting keys
  41. in the kernel. Encrypted keys are kernel generated random numbers,
  42. which are encrypted/decrypted with a 'master' symmetric key. The
  43. 'master' key can be either a trusted-key or user-key type.
  44. Userspace only ever sees/stores encrypted blobs.
  45. If you are unsure as to whether this is required, answer N.
  46. config KEYS_DEBUG_PROC_KEYS
  47. bool "Enable the /proc/keys file by which keys may be viewed"
  48. depends on KEYS
  49. help
  50. This option turns on support for the /proc/keys file - through which
  51. can be listed all the keys on the system that are viewable by the
  52. reading process.
  53. The only keys included in the list are those that grant View
  54. permission to the reading process whether or not it possesses them.
  55. Note that LSM security checks are still performed, and may further
  56. filter out keys that the current process is not authorised to view.
  57. Only key attributes are listed here; key payloads are not included in
  58. the resulting table.
  59. If you are unsure as to whether this is required, answer N.