# Help test initial support for Secure Boot

DevFeed: [Help test initial support for Secure Boot](<https://devfeed.tech/articles/help-test-initial-support-for-secure-boot-46934.md>)

Original publisher: [Read original article](<https://bits.debian.org/2019/02/testing-initial-secure-boot-support.html>)

Author: Steve McIntyre, Cyril Brulebois

Published: 2019-02-02T10:00:00Z

Content type: release

Language: en

Sources: [Bits from Debian](<https://devfeed.tech/sources/bits-from-debian.md>)

Topics: [Secure Boot](<https://devfeed.tech/topics/secure-boot.md>), [UEFI](<https://devfeed.tech/topics/uefi.md>), [Debian](<https://devfeed.tech/topics/debian.md>), [GRUB](<https://devfeed.tech/topics/grub.md>), [Hardware](<https://devfeed.tech/topics/hardware.md>), [Linux Kernel](<https://devfeed.tech/topics/linux-kernel.md>), [test-coverage](<https://devfeed.tech/topics/test-coverage.md>), [trust](<https://devfeed.tech/topics/trust.md>)

Tags: [2019](<https://devfeed.tech/tags/2019.md>), [boot-process](<https://devfeed.tech/tags/boot-process.md>), [buster](<https://devfeed.tech/tags/buster.md>), [debian](<https://devfeed.tech/tags/debian.md>), [grub](<https://devfeed.tech/tags/grub.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [installer](<https://devfeed.tech/tags/installer.md>), [linux](<https://devfeed.tech/tags/linux.md>), [linux-kernel](<https://devfeed.tech/tags/linux-kernel.md>), [secure-boot](<https://devfeed.tech/tags/secure-boot.md>), [test-coverage](<https://devfeed.tech/tags/test-coverage.md>), [trust](<https://devfeed.tech/tags/trust.md>), [uefi](<https://devfeed.tech/tags/uefi.md>)

## AI overview

The Debian Installer's Buster Alpha 5 release includes initial UEFI Secure Boot support in its installation media. The support is incomplete and uses a temporary test key, so users are asked to test the boot chain across a wider range of hardware and provide feedback.

## Source excerpt

The Debian Installer team is happy to report that the Buster Alpha 5 release of the installer includes some initial support for UEFI Secure Boot (SB) in Debian's installation media. This support is not yet complete, and we would like to request some help! Please read on for more context and instructions to help us get better coverage and support. On amd64 machines, by default the Debian installer will now boot (and install) a signed version of the shim package as the first stage boot loader. Shim is the core package in a signed Linux boot chain on Intel-compatible PCs. It is responsible for validating signatures on further pieces of the boot process (GRUB and the Linux kernel), allowing for verification of those pieces. Each of those pieces will be signed by a Debian production signing key that is baked into the shim binary itself. However, for safety during the development phase of Debian's SB support, we have only been using a temporary test key to sign our GRUB and Linux packages. If we made a mistake with key management or trust path verification during this development, this would save us from having to revoke the production key. We plan on switching to the production key soon. Due to the use of the test key so far, out of the box Debian will not yet install or run with SB enabled; Shim will not validate signatures with the test key and will stop, reporting the problem. This is correct and useful behaviour! Thus far, Debian users have needed to disable SB before installation to make things work. From now on, with SB still disabled, installation and use should work just the same as previously. Shim simply chain-loads GRUB and continues through the boot chain without checking signatures. It is possible to enrol more keys on a SB system so that shim will recognise and allow other signatures, and this is how we have been able to test the rest of the boot chain. We now invite more users to give us valuable test coverage on a wider variety of hardware by enrolling ou