Skip to content

ima: extending secure boot certificate chain of trust

Mimi Zohar lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest6 patches 21 repliesIn review
  2. v5 RFC4 patches 18 repliesSuperseded
  3. v4 RFC4 patches 17 repliesSuperseded

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6KEYS: special dot prefixed keyring name bug fixsecurity/keys/keyctl.c+4 -21 reply
2/6KEYS: verify a certificate is signed by a 'trusted' keycrypto/asymmetric_keys/x509_public_key.c include/keys/system_keyring.h+95 -20 replies
3/6KEYS: make partial key id matching as a dedicated functioncrypto/asymmetric_keys/asymmetric_keys.h crypto/asymmetric_keys/asymmetric_type.c+33 -193 replies
4/6KEYS: validate certificate trust only with selected owner keyDocumentation/kernel-parameters.txt crypto/asymmetric_keys/asymmetric_type.c crypto/asymmetric_keys/x509_public_key.c+26 -04 replies
5/6KEYS: validate certificate trust only with builtin keysDocumentation/kernel-parameters.txt crypto/asymmetric_keys/x509_public_key.c include/linux/key.h +1 more+8 -42 replies
6/6ima: define '.ima' as a builtin 'trusted' keyringsecurity/integrity/digsig.c security/integrity/ima/Kconfig security/integrity/ima/ima.h +2 more+63 -21 reply

Reviews trailers per patch

3 of 6 patches have a Reviewed-by or Acked-by.

PatchDmitry KasatkinDavid Howells
1/6A-b
2/6A-b
3/6
4/6
5/6
6/6A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 0/6] ima: extending secure boot certificate chain of trust

The original patches extended the secure boot signature chain of trust to IMA-appraisal, by allowing only certificates signed by a 'trusted' key on the system_trusted_keyring to be added to the IMA keyring.

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 the builtin keys, on the system keyring.

Other than the "KEYS: validate certificate trust only with builtin keys" patch, which is included in this patch set for completeness, but can be deferred until the UEFI key patches are upstreamed, these patches are ready to be upstreamed. David, how do you want to go forward with this patchset. Did you want to take them?

thanks,

Mimi

Dmitry Kasatkin (3):
KEYS: make partial key id matching as a dedicated function
KEYS: validate certificate trust only with selected owner key
KEYS: validate certificate trust only with builtin keys

Mimi Zohar (3):
KEYS: special dot prefixed keyring name bug fix
KEYS: verify a certificate is signed by a 'trusted' key
ima: define '.ima' as a builtin 'trusted' keyring

 Documentation/kernel-parameters.txt      |   5 ++
 crypto/asymmetric_keys/asymmetric_keys.h |   2 +
 crypto/asymmetric_keys/asymmetric_type.c |  51 +++++++++------
 crypto/asymmetric_keys/x509_public_key.c | 109 ++++++++++++++++++++++++++++++-
 include/keys/system_keyring.h            |  10 ++-
 include/linux/key.h                      |   1 +
 kernel/system_keyring.c                  |   1 +
 security/integrity/digsig.c              |  28 ++++++++
 security/integrity/ima/Kconfig           |  10 +++
 security/integrity/ima/ima.h             |  12 ++++
 security/integrity/ima/ima_main.c        |  10 ++-
 security/integrity/integrity.h           |   5 ++
 security/keys/keyctl.c                   |   6 +-
 13 files changed, 225 insertions(+), 25 deletions(-)
Signature · 1 line
1.8.1.4