Skip to content

uki: add .mokkeys section - #226

Draft
andrewdunndev wants to merge 1 commit into
uapi-group:mainfrom
andrewdunndev:uki-mokkeys-section
Draft

uki: add .mokkeys section#226
andrewdunndev wants to merge 1 commit into
uapi-group:mainfrom
andrewdunndev:uki-mokkeys-section

Conversation

@andrewdunndev

Copy link
Copy Markdown

Companion to systemd/systemd#43638, which adds the section to ukify and systemd-measure.

Registers the .mokkeys section: one or more X.509 certificates for
kernel module signature verification, each wrapped in its own
EFI_SIGNATURE_LIST structure, the structures concatenated, written by
ukify. The entry is appended at the end of the section list, as the
note above it requires, so PCR 11 measurements of existing UKIs are
unaffected.

What the stub does with the section beyond making it available to the
kernel is a separate matter and not addressed here.
@bluca

bluca commented Sep 3, 2026

Copy link
Copy Markdown
Member

What's the use case for this exactly? If one already has access to a key that can sign and verify a UKI, then by definition the same key can be used for everything else too

@Foxboron

Foxboron commented Sep 3, 2026

Copy link
Copy Markdown
Member

@bluca See the proposal on the systemd repo.

systemd/systemd#43539

@bluca

bluca commented Sep 3, 2026

Copy link
Copy Markdown
Member

Yeah that makes no sense either and doesn't really explain anything. Why can't the key used to sign the image be used to sign the modules?

@andrewdunndev
andrewdunndev marked this pull request as draft September 3, 2026 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants