Project Description

The keys in db or mok can be used to verify boot loader and kernel binary for booting. But upstream kernel doesn't trust them for enrolling to trusted keyring because they are enrolled outside the boundaries of kernel. Which means that IMA can not use db/mok keys for verification.

Currently if users/partners want to enroll their keys to the kernel trusted keyring, the user key must be signed by kernel's build-in key. But SUSE will not sign any user key. In upstream, there have some known technologies against this situation:

  • CONFIGSYSTEMEXTRA_CERTIFICATE Reserve a space in kernel binary for enrolling user's key.

  • MokListTrustedRT A new MOK variable be introduced. User can use this variable to tell shim and kernel that the keys in MOK can be trusted by kernel. Which means keys will be enrolled to trusted keyring.

Goal for this Hackweek

Find a good way for SLE/openSUSE user for enrolling their key to trust keyring in kernel. IMA should also trust those keys.

Resources

kernel, shim, mokutil

Looking for hackers with the skills:

security shim kernel mok

This project is part of:

Hack Week 21

Activity

  • 7 months ago: joeyli started this project.
  • 7 months ago: jzerebecki liked this project.
  • 7 months ago: joeyli added keyword "security" to this project.
  • 7 months ago: joeyli added keyword "shim" to this project.
  • 7 months ago: joeyli added keyword "kernel" to this project.
  • 7 months ago: joeyli added keyword "mok" to this project.
  • 7 months ago: joeyli originated this project.

  • Comments

    Similar Projects

    Run sandboxed Firefox with image and sound inside a container by nguyens

    [comment]: # (Please use the project descriptio...


    Force USB devices to be read from a virtual machine on a given PC by nguyens

    [comment]: # (Please use the project descriptio...


    Rancher Token Revoker by mbolot

    [comment]: # (Please use the project descriptio...


    Create tool for managing RPM package signing keys by dheidler

    [comment]: # (Please use the project descriptio...


    Explore Steam Deck issues in openSUSE Tumbleweed by tschmitz

    [comment]: # (Please use the project descriptio...


    Improve Qualcomm SOC msm8994/msm8992 kernel mainline support by pvorel

    Project Description

    Due previous hackweek...


    early stage kdump support by mbrugger

    [comment]: # (Please use the project descriptio...


    Understand and review klp-convert patchset by mpdesouza

    [comment]: # (Please use the project descriptio...


    Create a DRM driver for VGA video cards by tdz

    Yes, those [VGA video cards](https://en.wikiped...