Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gnome-shell gnome-shell
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,861
    • Issues 1,861
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 126
    • Merge requests 126
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • gnome-shellgnome-shell
  • Merge requests
  • !2333

gdm: Secure boot check and secure boot warning notifications

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Kate Hsuan requested to merge doremihsuan/gnome-shell:kate/WIP/secureboot-warning into main Jun 14, 2022
  • Overview 30
  • Commits 2
  • Pipelines 34
  • Changes 9

Secure boot can be used against several security threats when malware modifies the firmware of the system. It may be inadvertently disabled by the user or intentionally disabled by the software. Consequently, the system and user data were exposed to danger. If gnome-shell could appropriately show the notifications in the GDM login dialog, it gives the user a chance to stop login into the system and prevent data leakage.

This work proposed a warning image and critical notification in GDM login dialog when secure boot is disabled. After the user login to a secure boot disabled system, a notification with a button will be shown and takes the user to the firmware security setting panel for the details. Also, the notification in the user workspace can be disabled by the user through gsettings. If "org.gnome.shell.sb-check" is set to false, the notification in the user workspace will be disabled. It also can be disabled globally for system testing reasons through kernel parameters. If "sb-check=false" is put to kernel parameter, all the checks of the secure boot will be utterly disabled.

Signed-off-by: Kate Hsuan hpa@redhat.com

The UX design could be found here

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: kate/WIP/secureboot-warning