Re: [PATCH] ima: make ASYMMETRIC_PUBLIC_KEY_SUBTYPE 'bool'

From: Arnd Bergmann
Date: Tue Jan 07 2020 - 17:06:35 EST


On Tue, Jan 7, 2020 at 10:01 PM James Bottomley
<James.Bottomley@xxxxxxxxxxxxxxxxxxxxx> wrote:
>
> On Tue, 2020-01-07 at 21:30 +0100, Arnd Bergmann wrote:

> > config ASYMMETRIC_PUBLIC_KEY_SUBTYPE
> > - tristate "Asymmetric public-key crypto algorithm subtype"
> > + bool "Asymmetric public-key crypto algorithm subtype"
>
> I believe the crypto guys do like stuff to be modular.
>
> However, we've already implemented this solution:
>
> https://lore.kernel.org/linux-integrity/20200107194350.3782-2-nramas@xxxxxxxxxxxxxxxxxxx/
>
> To solve the problem via an intermediate boolean config variable.

Ok, that looks good to me.

Arnd