Skip to content

Commit

Permalink
Add the new kernel lockdown message
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Uiterwijk <[email protected]>
  • Loading branch information
puiterwijk committed Apr 4, 2018
1 parent ae0512b commit 61c8e77
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ovmf-vars-generator
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,10 @@ def test_keys(args):
print()
if b'Secure boot disabled' in read:
raise Exception('Secure Boot was disabled')
elif b'Secure boot enabled and kernel locked down' in read:
elif b'Secure boot enabled' in read:
logging.info('Confirmed: Secure Boot is enabled')
break
elif b'Kernel is locked down from EFI secure boot' in read:
logging.info('Confirmed: Secure Boot is enabled')
break
p.kill()
Expand Down

0 comments on commit 61c8e77

Please sign in to comment.