Skip to content

KEYS: validate key trust with owner and builtin keys only

Dmitry Kasatkin lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2KEYS: validate certificate trust only with selected owner keyDocumentation/kernel-parameters.txt crypto/asymmetric_keys/x509_public_key.c+28 -02 replies
2/2KEYS: validate certificate trust only with builtin keysDocumentation/kernel-parameters.txt crypto/asymmetric_keys/x509_public_key.c include/linux/key.h +1 more+10 -31 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1a 0/2] KEYS: validate key trust with owner and builtin keys only

This is a repost of the patchset cleanly on the top of linux-integrity next-trusted-keys branch.

Instead of allowing public keys, with certificates signed by any key on the system trusted keyring, to be added to a trusted keyring, this patch set further restricts the certificates to those signed by a particular key or builtin keys on the system keyring.

This patch defines a new kernel parameter 'keys_ownerid={id:xxx | builtin}' to use specific key or any builtin key.

Thanks,
Dmitry

Dmitry Kasatkin (2):
KEYS: validate certificate trust only with selected owner key
KEYS: validate certificate trust only with builtin keys

 Documentation/kernel-parameters.txt      |  5 +++++
 crypto/asymmetric_keys/x509_public_key.c | 32 ++++++++++++++++++++++++++++++--
 include/linux/key.h                      |  1 +
 kernel/system_keyring.c                  |  1 +
 4 files changed, 37 insertions(+), 2 deletions(-)
Signature · 1 line
1.9.1