[File] [PATCH] Magdir/efi EFI Signature List

Alexandre IOOSS erdnaxe at crans.org
Fri Aug 4 09:44:43 UTC 2023


Hello,

In the past few days, I played with my EFI variables. On a GNU/Linux 
distribution, these variables are usually found in 
`/sys/firmware/efi/efivars/`.
When setting up SecureBoot, I encountered multiple EFI signature list 
files. These files are currently not recognized by file.

Reading the source code of the `sig-list-to-certs` tool available at 
https://git.kernel.org/pub/scm/linux/kernel/git/jejb/efitools.git, I 
discovered the `EFI_SIGNATURE_LIST` structure that represents the 
content of EFI signature list files.

Attached you will find a patch that enables file to recognize EFI 
signature lists.

Thanks a lot,
Best regards,

-- 
Alexandre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: esl.patch
Type: text/x-patch
Size: 2313 bytes
Desc: not available
URL: <https://mailman.astron.com/pipermail/file/attachments/20230804/7cac16b5/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://mailman.astron.com/pipermail/file/attachments/20230804/7cac16b5/attachment.asc>


More information about the File mailing list