rhboot / rhboot/shim

Unable to enable MokListTrusted (--trust-mok)

Open
#692 17 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
1.1k
Forks
348
PR merge metrics
No merged PRs in 30d

Description

Running mokutil --trust-mok and setting a password for verification works fine. Upon reboot it tries to set the MokListTrusted efivar but then responds with "Failed to delete MokListTrusted state".

I've tried with Secure Boot enabled as well as disabled, and in setup mode, but the result is the same.

Where do I go from here?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing mokutil --trust-mok through the reboot flow and inspect the handling of the MokListTrusted efivar. The issue names no source file or test, so gather the firmware and Secure Boot state while tracing the reported deletion failure; done means the requested state can be enabled without that error.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
operating-systems, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.