Messages in this thread | | | From | Rusty Russell <> | Subject | Re: [PATCH] MODSIGN: flag modules that use cryptoapi and only panic if those are unsigned | Date | Fri, 25 Jan 2013 10:06:01 +1030 |
| |
Kyle McMartin <kyle@redhat.com> 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@atsec.com> 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.
| |