public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] Miscellaneous keyrings and modsign fixes
@ 2015-09-25 15:54 David Howells
  2015-09-29  9:17 ` James Morris
  2016-02-11  8:11 ` Philipp Hahn
  0 siblings, 2 replies; 6+ messages in thread
From: David Howells @ 2015-09-25 15:54 UTC (permalink / raw)
  To: jmorris
  Cc: dhowells, dwmw2, pmatouse, arjan, apw, vlee, keyrings,
	linux-security-module, linux-kernel

Hi James,

Can you pass these changes on to Linus?  There are four:

 (1) Fix a potential race between keyring destruction and keyring lookup by
     name.

 (2) Remove unneeded headers from extract-cert.c, at least one of which will
     prevent it from compiling if the openssl libs are too old.

 (3) Don't strip leading zeros from the key ID when using it to construct a
     key description lest this make the key not match.

 (4) Downgrade use of CMS-based signatures to PKCS#7-based signatures if the
     openssl libs are too old.  Note that in this case, you are also limited
     to using SHA1 as the pre-1.0.0 openssl libs don't support anything else.

Thanks,
David
---
The following changes since commit ced255c0c5fb9ab52c9465982f23b1c14005ef8b:

  Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux (2015-09-24 20:14:26 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git tags/keys-fixes-20150925

for you to fetch changes up to 283e8ba2dfde54f8f27d7d0f459a07de79a39d55:

  MODSIGN: Change from CMS to PKCS#7 signing if the openssl is too old (2015-09-25 16:31:46 +0100)

----------------------------------------------------------------
Keyrings fixes

----------------------------------------------------------------
David Howells (4):
      KEYS: Fix race between key destruction and finding a keyring by name
      KEYS: Remove unnecessary header #inclusions from extract-cert.c
      X.509: Don't strip leading 00's from key ID when constructing key description
      MODSIGN: Change from CMS to PKCS#7 signing if the openssl is too old

 Documentation/Changes                    |  2 +-
 crypto/asymmetric_keys/x509_public_key.c |  4 --
 scripts/extract-cert.c                   |  4 --
 scripts/sign-file.c                      | 94 ++++++++++++++++++++++++++------
 security/keys/gc.c                       |  8 +--
 5 files changed, 82 insertions(+), 30 deletions(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-02-11 13:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-25 15:54 [GIT PULL] Miscellaneous keyrings and modsign fixes David Howells
2015-09-29  9:17 ` James Morris
2015-09-29  9:17   ` James Morris
2016-02-11  8:11 ` Philipp Hahn
2016-02-11 11:41   ` David Howells
2016-02-11 13:35   ` Sasha Levin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox