-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
efibootmgr: add support for listing cryptographic signature types.
Since UEFI 2.2, firmware has provided a list of supported signature types for Secure Boot binaries in a global variable named "SignatureSupport". This patch adds a new command line flag to efibootmgr, "--list-signature-types" ("-s") which collects that information from the firmware and displays it to the user, either by symbolic name if libefivar knows about that signature type or by GUID if it does not. On the system in front of me, that looks something like this: random:efibootmgr/signaturesupport$ ./src/efibootmgr -s x509_sha256 x509_sha384 x509_sha512 sha256 x509_cert rsa2048 rsa2048_sha256 rsa2048_sha1 external_management random:efibootmgr/signaturesupport$ Signed-off-by: Peter Jones <pjones@redhat.com>
- Loading branch information
Showing
2 changed files
with
54 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters