Re: [PATCH RFC 0/1] module: Optionally use .platform keyring for signatures verification

From
Eric Snowberg <eric.snowberg@oracle.com>
Date
2025-06-05 13:40:46
Also in
keyrings, linux-doc, linux-integrity, linux-security-module, lkml
Reply to
Vitaly Kuznetsov, 2025-06-05
On Jun 5, 2025, at 1:54 AM, Vitaly Kuznetsov [off-list ref] wrote:

'certwrapper' offers _a_ solution which is great. It may, however, not
be very convenient to use when a user wants to re-use the same OS image
(e.g. provided by the distro vendor) for various different use-cases as
proper 'certwrapper' binary needs to be placed on the ESP (and thus
we'll end up with a bunch of images instead of one). 'db' is different
because it normally lives outside of the OS disk so it is possible to
register the exact same OS image with different properties (e.g. with
and without a custom cert which allows to load third party modules).
Could you please provide more details? The kernel module is signed with 
a specific key. The ‘db’  key in the cloud image must match whatever key 
was used to sign the kernel module.

Why can’t the RPM package that contains the kernel module also include 
the required ‘certwrapper’? When the RPM is installed, the appropriate 
‘certwrapper’ is placed on the ESP.  There can be any number of 'certwrappers' 
in the ESP. Doesn’t this solution address the issue?
Thread (19 messages) 19 messages, 5 authors, last reply 2025-06-09
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help