From 61c8e77677293b263350bc20c79eddec425ffa20 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Tue, 3 Apr 2018 20:20:26 +0200 Subject: [PATCH] Add the new kernel lockdown message Signed-off-by: Patrick Uiterwijk --- ovmf-vars-generator | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ovmf-vars-generator b/ovmf-vars-generator index 653027b..eedf656 100755 --- a/ovmf-vars-generator +++ b/ovmf-vars-generator @@ -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()