GoogleCloudPlatform / cos-gpu-installer

Scripts to build and use a container to install GPU drivers on Container-Optimized OS images
Apache License 2.0
90 stars 50 forks source link

Only disable signature verification when module.sig_enforce=1 is set #63

Closed kewu1992 closed 3 years ago

kewu1992 commented 3 years ago

In the past we disable signatrure verification as long as module.sig_enforce=0 is not set explicitly. This is not compatible with older COS milestones when secure boot is enabled. Given that we won't enable signature verification through kernel config for older COS milestones, it's safe to assume signature verification is not enabled as long as module.sig_enforce=1 is not in kernel command line.