systemd-boot: Allow key enroll in AuditMode
authorNicolas Bouchinet <nicolas.bouchinet@ssi.gouv.fr>
Fri, 3 May 2024 09:42:09 +0000 (11:42 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 6 May 2024 11:09:03 +0000 (13:09 +0200)
commita23a59b324a022a0b38b5f35d01ee1b2b4edf694
tree690d99a74b405e1efcc50f8e7b6c1e646385ee60
parente4cea965d3735ca200202c1f9f0df06bd3cee33b
systemd-boot: Allow key enroll in AuditMode

Since AuditMode automatically switches SetupMode on, it should be
authorized to enroll SecureBoot keys.

Signed-off-by: Nicolas Bouchinet <nicolas.bouchinet@ssi.gouv.fr>
src/boot/efi/boot.c