Re: [PATCH] MODSIGN: flag modules that use cryptoapi and only panic if those are unsigned
From: Rusty Russell
Date: Thu Jan 24 2013 - 22:04:01 EST
Kyle McMartin <kyle@xxxxxxxxxx> writes:
> After thinking about it a while, this seems like the best way to solve
> the problem, although it does still kind of offend my delicate
> sensibilities...
You're far too polite. This patch was horrible, partial and ugly.
Stephan Mueller <stephan.mueller@xxxxxxxxx> wrote:
> FIPS requires the module (in our case the static kernel binary with its
> kernel crypto API plus all the crypto kernel modules) to be unavailable
> if the module signature fails. That is an unconditional requirement.
"the module signature" here being the signature of any crypto module,
I'm guessing from Kyle's awful patch. Any crypto module, or just some?
Presumably any module used by any crypto module, too?
Because you can panic when a !sig_ok module registers a crypto
algorithm. Or you can panic when anyone registers a crypto algorithm
after any module has failed the signature check.
But it doesn't make much sense to pick on the crypto modules, since
they're not well isolated from the rest of the kernel.
Thanks,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/