tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How to make module autoloading play nice with securelevel

>>>>> "Thor" == Thor Lancelot Simon <> writes:
    >> Would it be useful to use digital signatures with kernel modules
    >> and have the user decide which signatures are "trusted"
    >> (including the options of accepting any or unsigned modules
    >> [all])? Is it infeasible, too hard or not very secure to do this?

    Thor> No pubkey support in the software kernel crypto provider.
    Thor> Given that, it's just a SMOMP, where the "M" for "more
    Thor> programming" in this case means "parsing horrible X.509
    Thor> datastructures and making complex policy decisions in-kernel".

Not only does the file-of-hashes get rid of this, but even if you wanted
asymmetric signatures, really, you don't need to parse all of the X.509
stuff in the kernel.  You just need the (raw) public keys which are to be
trusted, no chains, etc.  Signature contents themselves look like they
require ASN parsing, but they are really designed (due to DER) such that
they really can't change, and many verifiers do not parse ASN1 there

]       He who is tired of Weird Al is tired of life!           |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
|device driver[
   Kyoto Plus: watch the video <>
                       then sign the petition. 

Home | Main Index | Thread Index | Old Index