File tree Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Original file line number Diff line number Diff line change 7
7
endian : le
8
8
doc : |
9
9
Parse UEFI variables db and dbx that contain signatures, certificates and
10
- hashes. On a Linux system using UEFI, these variables are readable from
11
- /sys/firmware/efi/efivars/db-d719b2cb-3d3a-4596-a3bc-dad00e67656f,
12
- /sys/firmware/efi/efivars/dbDefault-8be4df61-93ca-11d2-aa0d-00e098032b8c,
13
- /sys/firmware/efi/efivars/dbx-d719b2cb-3d3a-4596-a3bc-dad00e67656f and
14
- /sys/firmware/efi/efivars/dbxDefault-8be4df61-93ca-11d2-aa0d-00e098032b8c.
15
- ("d719b2cb-3d3a-4596-a3bc-dad00e67656f" is defined as
16
- EFI_IMAGE_SECURITY_DATABASE_GUID and "8be4df61-93ca-11d2-aa0d-00e098032b8c"
17
- as EFI_GLOBAL_VARIABLE).
10
+ hashes. On a Linux system using UEFI, these variables are readable from:
11
+
12
+ ```
13
+ /sys/firmware/efi/efivars/db-d719b2cb-3d3a-4596-a3bc-dad00e67656f
14
+ /sys/firmware/efi/efivars/dbDefault-8be4df61-93ca-11d2-aa0d-00e098032b8c
15
+ /sys/firmware/efi/efivars/dbx-d719b2cb-3d3a-4596-a3bc-dad00e67656f
16
+ /sys/firmware/efi/efivars/dbxDefault-8be4df61-93ca-11d2-aa0d-00e098032b8c
17
+ ```
18
+
19
+ Note:
20
+
21
+ * `d719b2cb-3d3a-4596-a3bc-dad00e67656f` is defined as `EFI_IMAGE_SECURITY_DATABASE_GUID`
22
+ * `8be4df61-93ca-11d2-aa0d-00e098032b8c` is defined as `EFI_GLOBAL_VARIABLE`
23
+
18
24
Each file contains an EFI attribute (32-bit integer) followed by a list of
19
- EFI_SIGNATURE_LIST structures.
25
+ ` EFI_SIGNATURE_LIST` structures.
20
26
doc-ref : https://uefi.org/sites/default/files/resources/UEFI_Spec_2_8_final.pdf
21
27
seq :
22
28
- id : var_attributes
You can’t perform that action at this time.
0 commit comments