2012-05-11 17:56:56 +08:00
|
|
|
#
|
|
|
|
# Key management configuration
|
|
|
|
#
|
|
|
|
|
|
|
|
config KEYS
|
|
|
|
bool "Enable access key retention support"
|
2013-09-24 17:35:18 +08:00
|
|
|
select ASSOCIATIVE_ARRAY
|
2012-05-11 17:56:56 +08:00
|
|
|
help
|
|
|
|
This option provides support for retaining authentication tokens and
|
|
|
|
access keys in the kernel.
|
|
|
|
|
|
|
|
It also includes provision of methods by which such keys might be
|
|
|
|
associated with a process so that network filesystems, encryption
|
|
|
|
support and the like can find them.
|
|
|
|
|
|
|
|
Furthermore, a special type of key is available that acts as keyring:
|
|
|
|
a searchable sequence of keys. Each process is equipped with access
|
|
|
|
to five standard keyrings: UID-specific, GID-specific, session,
|
|
|
|
process and thread.
|
|
|
|
|
|
|
|
If you are unsure as to whether this is required, answer N.
|
|
|
|
|
2013-09-24 17:35:19 +08:00
|
|
|
config PERSISTENT_KEYRINGS
|
|
|
|
bool "Enable register of persistent per-UID keyrings"
|
|
|
|
depends on KEYS
|
|
|
|
help
|
|
|
|
This option provides a register of persistent per-UID keyrings,
|
|
|
|
primarily aimed at Kerberos key storage. The keyrings are persistent
|
|
|
|
in the sense that they stay around after all processes of that UID
|
|
|
|
have exited, not that they survive the machine being rebooted.
|
|
|
|
|
|
|
|
A particular keyring may be accessed by either the user whose keyring
|
|
|
|
it is or by a process with administrative privileges. The active
|
|
|
|
LSMs gets to rule on which admin-level processes get to access the
|
|
|
|
cache.
|
|
|
|
|
|
|
|
Keyrings are created and added into the register upon demand and get
|
|
|
|
removed if they expire (a default timeout is set upon creation).
|
|
|
|
|
2013-09-24 17:35:18 +08:00
|
|
|
config BIG_KEYS
|
2013-10-30 19:15:23 +08:00
|
|
|
bool "Large payload keys"
|
2013-09-24 17:35:18 +08:00
|
|
|
depends on KEYS
|
|
|
|
depends on TMPFS
|
2016-04-13 02:54:58 +08:00
|
|
|
select CRYPTO
|
|
|
|
select CRYPTO_AES
|
|
|
|
select CRYPTO_ECB
|
|
|
|
select CRYPTO_RNG
|
2013-09-24 17:35:18 +08:00
|
|
|
help
|
|
|
|
This option provides support for holding large keys within the kernel
|
|
|
|
(for example Kerberos ticket caches). The data may be stored out to
|
|
|
|
swapspace by tmpfs.
|
|
|
|
|
|
|
|
If you are unsure as to whether this is required, answer N.
|
|
|
|
|
2012-05-11 17:56:56 +08:00
|
|
|
config TRUSTED_KEYS
|
|
|
|
tristate "TRUSTED KEYS"
|
|
|
|
depends on KEYS && TCG_TPM
|
|
|
|
select CRYPTO
|
|
|
|
select CRYPTO_HMAC
|
|
|
|
select CRYPTO_SHA1
|
2015-11-06 03:43:06 +08:00
|
|
|
select CRYPTO_HASH_INFO
|
2012-05-11 17:56:56 +08:00
|
|
|
help
|
|
|
|
This option provides support for creating, sealing, and unsealing
|
|
|
|
keys in the kernel. Trusted keys are random number symmetric keys,
|
|
|
|
generated and RSA-sealed by the TPM. The TPM only unseals the keys,
|
|
|
|
if the boot PCRs and other criteria match. Userspace will only ever
|
|
|
|
see encrypted blobs.
|
|
|
|
|
|
|
|
If you are unsure as to whether this is required, answer N.
|
|
|
|
|
|
|
|
config ENCRYPTED_KEYS
|
|
|
|
tristate "ENCRYPTED KEYS"
|
|
|
|
depends on KEYS
|
|
|
|
select CRYPTO
|
|
|
|
select CRYPTO_HMAC
|
|
|
|
select CRYPTO_AES
|
|
|
|
select CRYPTO_CBC
|
|
|
|
select CRYPTO_SHA256
|
|
|
|
select CRYPTO_RNG
|
|
|
|
help
|
|
|
|
This option provides support for create/encrypting/decrypting keys
|
|
|
|
in the kernel. Encrypted keys are kernel generated random numbers,
|
|
|
|
which are encrypted/decrypted with a 'master' symmetric key. The
|
|
|
|
'master' key can be either a trusted-key or user-key type.
|
|
|
|
Userspace only ever sees/stores encrypted blobs.
|
|
|
|
|
|
|
|
If you are unsure as to whether this is required, answer N.
|
2016-04-13 02:54:58 +08:00
|
|
|
|
|
|
|
config KEY_DH_OPERATIONS
|
|
|
|
bool "Diffie-Hellman operations on retained keys"
|
|
|
|
depends on KEYS
|
|
|
|
select MPILIB
|
|
|
|
help
|
|
|
|
This option provides support for calculating Diffie-Hellman
|
|
|
|
public keys and shared secrets using values stored as keys
|
|
|
|
in the kernel.
|
|
|
|
|
|
|
|
If you are unsure as to whether this is required, answer N.
|