lcp / mokutil

The utility to manipulate machine owner keys
GNU General Public License v3.0
67 stars 37 forks source link

mokutil: only check for Secure Boot in options that need it #33

Closed martinezjavier closed 3 years ago

martinezjavier commented 3 years ago

Mokutil always check whether the machine supports Secure Boot or not and it exits with an error message if Secure Boot is not supported. But some options don't need it to be supported and could be used regardless.

For example, shim could be installed on machines where SB is not enabled or supported. Options such as set-verbosity could be useful in this case even without Secure Boot.

Signed-off-by: Javier Martinez Canillas javierm@redhat.com

lcp commented 3 years ago

Thanks for the patch!