Skip to content

Commit

Permalink
Update MokVars.txt
Browse files Browse the repository at this point in the history
 - Update documented mirrored variable attributes from RT to BS,RT
 - Add missing MokSBStateRT
 - Clarify that MokIgnoreDB is a mirror of MokDBState
 - Add missing attributes for MokPWStore

Signed-off-by: Mike Beaton <[email protected]>
  • Loading branch information
mikebeaton authored and vathpela committed Nov 12, 2024
1 parent e68f4ca commit 74a1f29
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions MokVars.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,28 +63,33 @@ State variables:
MokList: A list of authorized keys and hashes. An EFI_SIGNATURE_LIST
as described in the UEFI specification. BS,NV

MokListRT: A copy of MokList made available to the kernel at runtime. RT
MokListRT: A copy of MokList made available to the kernel at runtime. BS,RT

MokListX: A list of forbidden keys and hashes. An EFI_SIGNATURE_LIST
as described in the UEFI specification. BS,NV

MokListXRT: A copy of MokListX made available to the kernel at runtime. RT
MokListXRT: A copy of MokListX made available to the kernel at runtime. BS,RT

MokSBState: An 8-bit unsigned integer. If 1, shim will switch to
insecure mode. BS,NV

MokSBStateRT: A copy of MokSBState made available to the kernel at runtime.
This allows the OS to query the shim secure mode setting for its own
verification purposes. BS,RT

MokDBState: An 8-bit unsigned integer. If 1, shim will not use db for
verification. BS,NV

MokIgnoreDB: An 8-bit unsigned integer. This allows the OS to query whether
or not to import DB certs for its own verification purposes.
MokIgnoreDB: A copy of MokDBState made available to the kernel at runtime.
This allows the OS to query whether or not to import DB certs for its own
verification purposes. BS,RT

MokPWStore: A SHA-256 representation of the password set by the user
via MokPW. The user will be prompted to enter this password in order
to interact with MokManager.
to interact with MokManager. BS,NV

MokListTrusted: An 8-bit unsigned integer. If 1, it signifies to Linux
to trust CA keys in the MokList. BS,NV

MokListTrustedRT: A copy of MokListTrusted made available to the kernel
at runtime. RT
at runtime. BS,RT

0 comments on commit 74a1f29

Please sign in to comment.