Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conf: keys: uefi: support secure boot unprovisioning #465

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ldts
Copy link
Contributor

@ldts ldts commented Oct 29, 2024

These keys will be used by the UnLock.efi tool to disable secure boot during tests.

The main user is expected to be the Foundries.io lab.

@ricardosalveti
Copy link
Member

Please extend the commit message saying how these news keys were generated.

These keys will be used by the UnLock.efi tool to disable secure boot
during tests.

The main user is expected to be the Foundries.io lab.

To generate the keys:
 - on "Ubuntu 22.04.5 LTS"
 - using lmp-tools
   Commit 7ea4e85 (uefi: support un-provisioning tool)
   [last section on gen_uefi_certs.sh - Generate empty AUTH files]

   $ cd conf/keys/uefi/
   $ touch noKEK.esl
   $ sign-efi-sig-list -t "$(date --date='1 second' +'%Y-%m-%d %H:%M:%S')" \
                       -c KEK.crt -k KEK.key KEK noKEK.esl noKEK.auth
   $ touch noPK.esl
   $ sign-efi-sig-list -t "$(date --date='1 second' +'%Y-%m-%d %H:%M:%S')" \
                       -c PK.crt -k PK.key PK noPK.esl noPK.auth

Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants