make-efi-testdata

command
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2022 License: GPL-3.0 Imports: 29 Imported by: 0

README

This directory contains a tool that is used to create the test
data in the efi/testdata directory.

It depends on a minimal set of source data (stored in the
efi/testdata/src directory) that includes pre-generated RSA keys,
public certificates, source code for mock EFI binaries and public
dbx updates from uefi.org.

It outputs event logs, EFI variable stores, EFI binaries and
signature database updates for testing.

It currently only supports being executed in a Debian-like
environment.

Note that recreating the EFI binaries and signature databases
is not entirely reproducible because their signatures include
timestamps. This means they are recreated with different file
hashes, but this doesn't affect the actual tests.

Reproducibility of test data is dependent on the environment
in which the data is built. This is particularly true for the
EFI binaries, which are only reproducible when built with the
same toolchain. The tool saves information about the build
environment to buildenv.yaml.

This tool depends on make, sbsigntools, gcc and binutils.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL