Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1288960

Re: [PATCH 0/2] crypto: KEYS: convert public key to akcipher api

From Mimi Zohar <zohar@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject Re: [PATCH 0/2] crypto: KEYS: convert public key to akcipher api
Date 2015-12-10 23:00 +0100
Message-ID <qEhpN-3n1-15@gated-at.bofh.it> (permalink)
References <qDWOm-6Hc-9@gated-at.bofh.it> <qEe8y-1lV-7@gated-at.bofh.it> <qEerT-1tP-17@gated-at.bofh.it> <qEfeh-20b-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, 2015-12-10 at 14:37 -0500, Mimi Zohar wrote:
> On Thu, 2015-12-10 at 10:39 -0800, Tadeusz Struk wrote:
> > Hi Mimi,
> > On 12/10/2015 10:25 AM, Mimi Zohar wrote:
> > >> This patch set converts the module verification and digital signature
> > >> > code to the new akcipher API.
> > >> > RSA implementation has been removed from crypto/asymmetric_keys and the
> > >> > new API is used for cryptographic primitives.
> > >> > There is no need for MPI above the akcipher API anymore.
> > >> > Modules can be verified with software as well as HW RSA implementations.
> > > With these two patches my system doesn't even boot.  Digging deeper...
> > > 
> > 
> > It needs RSA implementation built-in.
> > Could you check if you have CONFIG_CRYPTO_RSA=y
> 
> The diff between this config and the previous one:
> < CONFIG_CRYPTO_AKCIPHER=y
> < CONFIG_CRYPTO_RSA=y
> ---
> > # CONFIG_CRYPTO_RSA is not set

FYI, dracut loaded the keys on the IMA keyring properly.  When we try to
pivot root, real root /sbin/init fails appraisal.  The audit subsystem
is showing "invalid-signature".

There's no additional debugging information with the boot command line
options rd.debug or systemd.log_level=debug.

Mimi


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] crypto: KEYS: convert public key to akcipher api Tadeusz Struk <tadeusz.struk@intel.com> - 2015-12-10 01:00 +0100
  [PATCH 1/2] crypto: KEYS: convert public key to the akcipher api Tadeusz Struk <tadeusz.struk@intel.com> - 2015-12-10 01:00 +0100
  Re: [PATCH 0/2] crypto: KEYS: convert public key to akcipher api Mimi Zohar <zohar@linux.vnet.ibm.com> - 2015-12-10 19:30 +0100
    Re: [PATCH 0/2] crypto: KEYS: convert public key to akcipher api Tadeusz Struk <tadeusz.struk@intel.com> - 2015-12-10 19:50 +0100
      Re: [PATCH 0/2] crypto: KEYS: convert public key to akcipher api Mimi Zohar <zohar@linux.vnet.ibm.com> - 2015-12-10 20:40 +0100
        Re: [PATCH 0/2] crypto: KEYS: convert public key to akcipher api Mimi Zohar <zohar@linux.vnet.ibm.com> - 2015-12-10 23:00 +0100

csiph-web